Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009338/0.0009338, allocations: 174.6 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.235/1.235, allocations: 221.5 MB / 229.6 MB, free: 7.59 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008223/0.0008223, allocations: 98.17 kB / 280.5 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4399/0.4399, allocations: 78.14 MB / 409.4 MB, free: 6.449 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.933e-05/1.935e-05, allocations: 11.88 kB / 485 MB, free: 12.41 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1308, allocations: 69.34 MB / 0.5413 GB, free: 6.957 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3552/0.486, allocations: 98.53 MB / 0.6375 GB, free: 1.23 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/0.4863, allocations: 80.92 kB / 0.6376 GB, free: 1.152 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08643/0.5727, allocations: 31.78 MB / 0.6686 GB, free: 1.422 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5728, allocations: 4 kB / 0.6686 GB, free: 1.418 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.99e-05/0.5729, allocations: 28 kB / 0.6687 GB, free: 1.391 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.004239/0.5771, allocations: 1.737 MB / 0.6704 GB, free: 15.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.5772, allocations: 8.031 kB / 0.6704 GB, free: 15.58 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003324/0.5805, allocations: 0.5613 MB / 0.6709 GB, free: 15.02 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/0.5819, allocations: 0.7861 MB / 0.6717 GB, free: 14.18 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002788/0.5822, allocations: 236.2 kB / 0.6719 GB, free: 13.92 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/0.5823, allocations: 51.95 kB / 0.672 GB, free: 13.87 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001441/0.5838, allocations: 0.8072 MB / 0.6728 GB, free: 13.06 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/0.5853, allocations: 0.8446 MB / 0.6736 GB, free: 12.21 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.5853, allocations: 0 / 0.6736 GB, free: 12.21 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.642e-05/0.5854, allocations: 0 / 0.6736 GB, free: 12.21 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.074e-05/0.5854, allocations: 20 kB / 0.6736 GB, free: 12.19 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006476/0.5919, allocations: 3.724 MB / 0.6772 GB, free: 8.297 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007244/0.5992, allocations: 2.635 MB / 0.6798 GB, free: 5.566 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000787/0.6, allocations: 0.5244 MB / 0.6803 GB, free: 5.043 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001083/0.6001, allocations: 16.77 kB / 0.6803 GB, free: 5.027 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001011/0.6011, allocations: 0.657 MB / 0.681 GB, free: 4.352 MB / 490.7 MB Notification: Performance of pre-optimization done (n=97): time 2.856e-06/0.6011, allocations: 3.938 kB / 0.681 GB, free: 4.348 MB / 490.7 MB Notification: Performance of matching and sorting (n=97): time 0.01224/0.6134, allocations: 3.946 MB / 0.6848 GB, free: 396 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/0.6135, allocations: 119.6 kB / 0.6849 GB, free: 248 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/0.6147, allocations: 0.839 MB / 0.6858 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001327/0.6148, allocations: 25.7 kB / 0.6858 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003569/0.6152, allocations: 0.5284 MB / 0.6863 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000326/0.6155, allocations: 331 kB / 0.6866 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.855e-05/0.6156, allocations: 3.938 kB / 0.6866 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.6157, allocations: 349.9 kB / 0.687 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007216/0.6164, allocations: 446.6 kB / 0.6874 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008399/0.6173, allocations: 0.5738 MB / 0.6879 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007821/0.6181, allocations: 0.4904 MB / 0.6884 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.6181, allocations: 0 / 0.6884 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.01207/0.6302, allocations: 3.982 MB / 0.6923 GB, free: 8.605 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.132e-05/0.6303, allocations: 64.25 kB / 0.6924 GB, free: 8.531 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.6303, allocations: 3.984 kB / 0.6924 GB, free: 8.527 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005426/0.6357, allocations: 1.51 MB / 0.6939 GB, free: 7.016 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/0.637, allocations: 203.7 kB / 0.694 GB, free: 6.816 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01336/0.6503, allocations: 6.527 MB / 0.7004 GB, free: 172 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001664/0.652, allocations: 183 kB / 0.7006 GB, free: 15.99 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/0.6522, allocations: 43.98 kB / 0.7006 GB, free: 15.95 MB / 0.5105 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {21 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003105/0.6525, allocations: 167.9 kB / 0.7008 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002017/0.6527, allocations: 126.5 kB / 0.7009 GB, free: 15.65 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01223/0.6649, allocations: 4.059 MB / 0.7049 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.879e-05/0.665, allocations: 8 kB / 0.7049 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/0.665, allocations: 8 kB / 0.7049 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-05/0.665, allocations: 7.969 kB / 0.7049 GB, free: 11.54 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01395/0.679, allocations: 5.552 MB / 0.7103 GB, free: 5.906 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.679, allocations: 0 / 0.7103 GB, free: 5.906 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006766/0.6797, allocations: 107.9 kB / 0.7104 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004822/0.6845, allocations: 1.473 MB / 0.7119 GB, free: 4.32 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001345/0.6847, allocations: 15.98 kB / 0.7119 GB, free: 4.305 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01346/0.6982, allocations: 7.533 MB / 0.7192 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.6982, allocations: 0 / 0.7192 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0134/0.7116, allocations: 4.825 MB / 0.724 GB, free: 7.672 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004552/0.7121, allocations: 227.2 kB / 0.7242 GB, free: 7.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001894/0.7123, allocations: 11.94 kB / 0.7242 GB, free: 7.418 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00128/0.7136, allocations: 123.9 kB / 0.7243 GB, free: 7.297 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005253/0.7141, allocations: 201 kB / 0.7245 GB, free: 7.102 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.817e-05/0.7142, allocations: 27.98 kB / 0.7245 GB, free: 7.074 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008403/0.7151, allocations: 0.6454 MB / 0.7251 GB, free: 6.422 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7151, allocations: 0 / 0.7251 GB, free: 6.422 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001203/0.7163, allocations: 391.5 kB / 0.7255 GB, free: 6.039 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(19,24.4%) 13} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002701/0.7166, allocations: 149.3 kB / 0.7257 GB, free: 5.887 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004832/0.7214, allocations: 2.036 MB / 0.7277 GB, free: 3.816 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.7214, allocations: 0 / 0.7277 GB, free: 3.816 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003822/0.7252, allocations: 1.545 MB / 0.7292 GB, free: 2.242 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007114/0.726, allocations: 95.44 kB / 0.7293 GB, free: 2.152 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003138/0.7291, allocations: 1.796 MB / 0.731 GB, free: 348 kB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005981/0.7297, allocations: 1.155 MB / 0.7321 GB, free: 15.15 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004085/0.7301, allocations: 98.67 kB / 0.7322 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002367/0.7304, allocations: 63.42 kB / 0.7323 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of SimCode: time 7.02e-07/0.7304, allocations: 4 kB / 0.7323 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of Templates: time 0.02964/0.76, allocations: 19.24 MB / 0.7511 GB, free: 11.93 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)