Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9185/0.9185, allocations: 177.2 MB / 200 MB, free: 5.535 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 156.6 kB / 256.6 MB, free: 12.99 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.3043/0.3043, allocations: 83.27 MB / 396.4 MB, free: 15.21 MB / 330.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 494 MB, free: 7.16 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.341e-05/2.528e-05, allocations: 3.375 kB / 494 MB, free: 7.156 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.01313/0.01316, allocations: 12.79 MB / 0.4949 GB, free: 10.32 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.008901/0.02206, allocations: 3.481 MB / 0.4983 GB, free: 6.859 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001295/0.02335, allocations: 28 kB / 0.4983 GB, free: 6.832 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00103/0.02438, allocations: 0.5614 MB / 0.4988 GB, free: 6.266 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002624/0.02701, allocations: 1.625 MB / 0.5004 GB, free: 4.645 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002102/0.02911, allocations: 1.528 MB / 0.5019 GB, free: 3.152 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002666/0.03177, allocations: 3.735 MB / 0.5056 GB, free: 15.4 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006404/0.03241, allocations: 0.5775 MB / 0.5061 GB, free: 14.77 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001665/0.03408, allocations: 2.139 MB / 0.5082 GB, free: 12.62 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001196/0.03528, allocations: 1.573 MB / 0.5098 GB, free: 11.05 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002793/0.03555, allocations: 288 kB / 0.51 GB, free: 10.77 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006229/0.03618, allocations: 447.8 kB / 0.5105 GB, free: 10.33 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004326/0.03661, allocations: 0.7816 MB / 0.5112 GB, free: 9.543 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007845/0.03739, allocations: 1.082 MB / 0.5123 GB, free: 8.457 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002307/0.0397, allocations: 2.887 MB / 0.5151 GB, free: 5.559 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.03971, allocations: 0 / 0.5151 GB, free: 5.559 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.03971, allocations: 0 / 0.5151 GB, free: 5.559 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.068e-05/0.03973, allocations: 0 / 0.5151 GB, free: 5.559 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.01172/0.05145, allocations: 7.574 MB / 0.5225 GB, free: 13.86 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.05149, allocations: 12.03 kB / 0.5225 GB, free: 13.85 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007598/0.05909, allocations: 2.733 MB / 0.5252 GB, free: 11.11 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002141/0.06123, allocations: 1.753 MB / 0.5269 GB, free: 9.297 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004397/0.06167, allocations: 0.8139 MB / 0.5277 GB, free: 8.344 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002733/0.06194, allocations: 216 kB / 0.5279 GB, free: 8.133 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00322/0.06516, allocations: 2.003 MB / 0.5298 GB, free: 6.035 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.129e-05/0.0652, allocations: 3.938 kB / 0.5299 GB, free: 6.031 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002513/0.06545, allocations: 84 kB / 0.5299 GB, free: 5.949 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.347e-05/0.0655, allocations: 48 kB / 0.53 GB, free: 5.902 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003202/0.0687, allocations: 1.331 MB / 0.5313 GB, free: 4.535 MB / 458.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.01327/0.08197, allocations: 6.915 MB / 0.538 GB, free: 13.45 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005729/0.0877, allocations: 2.124 MB / 0.5401 GB, free: 11.29 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001708/0.08941, allocations: 0.9013 MB / 0.541 GB, free: 10.37 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002173/0.08963, allocations: 49.98 kB / 0.541 GB, free: 10.32 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002355/0.09198, allocations: 1.324 MB / 0.5423 GB, free: 8.961 MB / 474.7 MB Notification: Performance of pre-optimization done (n=247): time 6.011e-06/0.09199, allocations: 0 / 0.5423 GB, free: 8.961 MB / 474.7 MB Notification: Performance of matching and sorting (n=247): time 0.05786/0.1499, allocations: 22.22 MB / 0.564 GB, free: 2.648 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.27e-05/0.1499, allocations: 184.2 kB / 0.5642 GB, free: 2.43 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002266/0.1522, allocations: 2.051 MB / 0.5662 GB, free: 376 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002897/0.1525, allocations: 69.7 kB / 0.5663 GB, free: 300 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000739/0.1532, allocations: 1.258 MB / 0.5675 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000773/0.154, allocations: 0.9064 MB / 0.5684 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007513/0.1548, allocations: 0.5649 MB / 0.5689 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.1549, allocations: 484.8 kB / 0.5694 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001357/0.1562, allocations: 0.9499 MB / 0.5703 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001688/0.1579, allocations: 1.421 MB / 0.5717 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004427/0.1623, allocations: 3.697 MB / 0.5753 GB, free: 6.574 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.094e-05/0.1624, allocations: 3.938 kB / 0.5753 GB, free: 6.57 MB / 0.4948 GB Notification: Performance of matching and sorting (n=407) (initialization): time 0.01612/0.1785, allocations: 8.501 MB / 0.5836 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.494e-05/0.1786, allocations: 114.8 kB / 0.5837 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.999e-05/0.1786, allocations: 15.94 kB / 0.5838 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01388/0.1924, allocations: 5.442 MB / 0.5891 GB, free: 8.375 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001795/0.1942, allocations: 0.55 MB / 0.5896 GB, free: 7.824 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2409/0.4351, allocations: 9.683 MB / 0.5991 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002536/0.4377, allocations: 413.5 kB / 0.5995 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002498/0.4379, allocations: 111.9 kB / 0.5996 GB, free: 144.6 MB / 0.5105 GB Warning: Assuming fixed start value for the following 6 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (319): * Single equations (assignments): 314 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(63,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0008485/0.4388, allocations: 391.5 kB / 0.5999 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005362/0.4393, allocations: 388.2 kB / 0.6003 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01833/0.4576, allocations: 7.835 MB / 0.608 GB, free: 144.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.206e-05/0.4576, allocations: 24.72 kB / 0.608 GB, free: 144.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.771e-05/0.4577, allocations: 18.88 kB / 0.608 GB, free: 144.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.163e-05/0.4577, allocations: 14.28 kB / 0.608 GB, free: 144.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0204/0.4781, allocations: 10.18 MB / 0.618 GB, free: 143.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.657e-06/0.4781, allocations: 3.781 kB / 0.618 GB, free: 143.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007514/0.4789, allocations: 243.1 kB / 0.6182 GB, free: 143.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01324/0.4921, allocations: 5.329 MB / 0.6234 GB, free: 143 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000238/0.4923, allocations: 56.78 kB / 0.6235 GB, free: 143 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01854/0.5109, allocations: 13.39 MB / 0.6365 GB, free: 135.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.5109, allocations: 0 / 0.6365 GB, free: 135.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01738/0.5283, allocations: 8.797 MB / 0.6451 GB, free: 132 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000703/0.529, allocations: 342.1 kB / 0.6454 GB, free: 131.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002823/0.5292, allocations: 51.94 kB / 0.6455 GB, free: 131.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001166/0.5304, allocations: 223.8 kB / 0.6457 GB, free: 131.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001123/0.5315, allocations: 0.5691 MB / 0.6463 GB, free: 130.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001372/0.5317, allocations: 67.98 kB / 0.6463 GB, free: 130.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001142/0.5328, allocations: 1.229 MB / 0.6475 GB, free: 129.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.61e-07/0.5328, allocations: 0 / 0.6475 GB, free: 129.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002225/0.535, allocations: 1.168 MB / 0.6487 GB, free: 128.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(66,22,7.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003829/0.5354, allocations: 181.2 kB / 0.6488 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006724/0.5421, allocations: 4.491 MB / 0.6532 GB, free: 123.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.5421, allocations: 4 kB / 0.6532 GB, free: 123.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004661/0.5468, allocations: 3.312 MB / 0.6565 GB, free: 120.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.5478, allocations: 319.1 kB / 0.6568 GB, free: 119.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005905/0.5537, allocations: 4.877 MB / 0.6615 GB, free: 115 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004083/0.5541, allocations: 0.5321 MB / 0.6621 GB, free: 114.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005151/0.5547, allocations: 254.2 kB / 0.6623 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003914/0.5551, allocations: 184.5 kB / 0.6625 GB, free: 114 MB / 0.5105 GB Notification: Performance of SimCode: time 1.793e-06/0.5551, allocations: 0.875 kB / 0.6625 GB, free: 114 MB / 0.5105 GB Notification: Performance of Templates: time 0.06672/0.6218, allocations: 75.49 MB / 0.7362 GB, free: 38.79 MB / 0.5105 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.274628379382193]