Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.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.001307/0.001307, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.9629/0.9629, allocations: 177.2 MB / 200.5 MB, free: 5.832 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.001233/0.001233, allocations: 164.5 kB / 257 MB, free: 13.2 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.2726/0.2726, allocations: 80.24 MB / 393.7 MB, free: 2.254 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 489.9 MB, free: 11.64 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.117e-05/2.303e-05, allocations: 4.156 kB / 489.9 MB, free: 11.64 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.02003/0.02005, allocations: 20.39 MB / 0.4984 GB, free: 7.188 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01166/0.03172, allocations: 4.872 MB / 0.5031 GB, free: 2.348 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001926/0.03364, allocations: 44 kB / 0.5032 GB, free: 2.305 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001336/0.03498, allocations: 0.875 MB / 0.504 GB, free: 1.422 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003597/0.03857, allocations: 2.355 MB / 0.5063 GB, free: 15.07 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00276/0.04133, allocations: 2.047 MB / 0.5083 GB, free: 13.03 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.004241/0.04558, allocations: 5.842 MB / 0.514 GB, free: 7.164 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009089/0.04648, allocations: 0.8727 MB / 0.5149 GB, free: 6.238 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002636/0.04912, allocations: 3.311 MB / 0.5181 GB, free: 2.918 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001642/0.05076, allocations: 2.282 MB / 0.5203 GB, free: 0.6289 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003837/0.05115, allocations: 444 kB / 0.5208 GB, free: 200 kB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007468/0.05189, allocations: 0.5974 MB / 0.5213 GB, free: 15.6 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006145/0.05251, allocations: 1.174 MB / 0.5225 GB, free: 14.42 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001172/0.05368, allocations: 1.725 MB / 0.5242 GB, free: 12.69 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003149/0.05683, allocations: 4.485 MB / 0.5286 GB, free: 8.184 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.05683, allocations: 0 / 0.5286 GB, free: 8.184 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.05683, allocations: 0 / 0.5286 GB, free: 8.184 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.223e-05/0.05687, allocations: 0 / 0.5286 GB, free: 8.184 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.01546/0.07233, allocations: 10.13 MB / 0.5384 GB, free: 13.95 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.07238, allocations: 12.03 kB / 0.5385 GB, free: 13.94 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0153/0.08767, allocations: 4.796 MB / 0.5431 GB, free: 9.137 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003171/0.09084, allocations: 2.566 MB / 0.5456 GB, free: 6.48 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005107/0.09135, allocations: 1.009 MB / 0.5466 GB, free: 5.316 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003948/0.09175, allocations: 348 kB / 0.547 GB, free: 4.977 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004032/0.09578, allocations: 3.14 MB / 0.55 GB, free: 1.797 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.511e-05/0.09583, allocations: 0 / 0.55 GB, free: 1.797 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002719/0.0961, allocations: 136 kB / 0.5502 GB, free: 1.664 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.594e-05/0.09614, allocations: 87.94 kB / 0.5502 GB, free: 1.578 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00331/0.09945, allocations: 2.033 MB / 0.5522 GB, free: 15.53 MB / 490.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.01524/0.1147, allocations: 12.25 MB / 0.5642 GB, free: 2.848 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004284/0.119, allocations: 2.566 MB / 0.5667 GB, free: 260 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001641/0.1206, allocations: 1.208 MB / 0.5679 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002847/0.1209, allocations: 86.94 kB / 0.568 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002201/0.1231, allocations: 1.847 MB / 0.5698 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=382): time 4.789e-06/0.1231, allocations: 0 / 0.5698 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=382): time 0.3372/0.4603, allocations: 56.28 MB / 0.6247 GB, free: 129.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.622e-05/0.4604, allocations: 140.7 kB / 0.6249 GB, free: 129.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00305/0.4634, allocations: 2.991 MB / 0.6278 GB, free: 128.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003669/0.4638, allocations: 92.48 kB / 0.6279 GB, free: 128.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008839/0.4647, allocations: 2.071 MB / 0.6299 GB, free: 128.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009328/0.4656, allocations: 1.369 MB / 0.6312 GB, free: 127.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008699/0.4665, allocations: 0.691 MB / 0.6319 GB, free: 127.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.524e-05/0.4665, allocations: 480.2 kB / 0.6324 GB, free: 126.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001717/0.4682, allocations: 1.138 MB / 0.6335 GB, free: 126.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001949/0.4702, allocations: 1.959 MB / 0.6354 GB, free: 125.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005565/0.4757, allocations: 4.845 MB / 0.6401 GB, free: 124 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-05/0.4758, allocations: 5.344 kB / 0.6401 GB, free: 124 MB / 0.5105 GB Notification: Performance of matching and sorting (n=529) (initialization): time 0.02175/0.4975, allocations: 11.67 MB / 0.6515 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.165e-05/0.4976, allocations: 70.77 kB / 0.6516 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.826e-05/0.4976, allocations: 16 kB / 0.6516 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02013/0.5177, allocations: 7.593 MB / 0.659 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002033/0.5198, allocations: 0.6516 MB / 0.6596 GB, free: 108 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02756/0.5473, allocations: 14.01 MB / 0.6733 GB, free: 94.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003381/0.5507, allocations: 0.527 MB / 0.6738 GB, free: 93.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002209/0.5509, allocations: 152 kB / 0.674 GB, free: 93.76 MB / 0.5105 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (393): * Single equations (assignments): 390 * Array equations: 0 * Algorithm blocks: 2 * 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 {(92,45)} Notification: Performance of prepare postOptimizeDAE: time 0.001008/0.5519, allocations: 403.5 kB / 0.6744 GB, free: 93.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006818/0.5526, allocations: 0.5835 MB / 0.6749 GB, free: 92.82 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02065/0.5733, allocations: 11.23 MB / 0.6859 GB, free: 81.64 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.681e-05/0.5733, allocations: 40 kB / 0.6859 GB, free: 81.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.121e-05/0.5733, allocations: 28 kB / 0.686 GB, free: 81.57 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-05/0.5733, allocations: 19.92 kB / 0.686 GB, free: 81.55 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02471/0.598, allocations: 14.39 MB / 0.7 GB, free: 67.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.525e-05/0.5981, allocations: 0 / 0.7 GB, free: 67.31 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001188/0.5993, allocations: 391.4 kB / 0.7004 GB, free: 66.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01932/0.6186, allocations: 7.674 MB / 0.7079 GB, free: 59.28 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003515/0.6189, allocations: 75.97 kB / 0.708 GB, free: 59.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02441/0.6433, allocations: 15.01 MB / 0.7226 GB, free: 44 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.6433, allocations: 3.938 kB / 0.7226 GB, free: 43.99 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02309/0.6664, allocations: 12.49 MB / 0.7348 GB, free: 31.52 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00107/0.6675, allocations: 0.5041 MB / 0.7353 GB, free: 31.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004023/0.6679, allocations: 67.09 kB / 0.7354 GB, free: 31 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001741/0.6696, allocations: 283.7 kB / 0.7357 GB, free: 30.72 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001679/0.6713, allocations: 0.7801 MB / 0.7364 GB, free: 29.94 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001839/0.6715, allocations: 91.98 kB / 0.7365 GB, free: 29.85 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001413/0.6729, allocations: 1.771 MB / 0.7383 GB, free: 28.08 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.6729, allocations: 0 / 0.7383 GB, free: 28.08 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003181/0.6761, allocations: 1.796 MB / 0.74 GB, free: 26.34 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (246): * Single equations (assignments): 243 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(100,36,5.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004407/0.6765, allocations: 204.8 kB / 0.7402 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009537/0.6861, allocations: 6.101 MB / 0.7462 GB, free: 20.05 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.6861, allocations: 0 / 0.7462 GB, free: 20.05 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007065/0.6931, allocations: 4.529 MB / 0.7506 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001562/0.6947, allocations: 452.9 kB / 0.751 GB, free: 15.06 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008804/0.7035, allocations: 7.309 MB / 0.7582 GB, free: 7.734 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005099/0.704, allocations: 0.802 MB / 0.7589 GB, free: 6.902 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006818/0.7047, allocations: 379.1 kB / 0.7593 GB, free: 6.527 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005109/0.7052, allocations: 260.4 kB / 0.7595 GB, free: 6.277 MB / 0.5105 GB Notification: Performance of SimCode: time 1.794e-06/0.7052, allocations: 0 / 0.7595 GB, free: 6.277 MB / 0.5105 GB Notification: Performance of Templates: time 0.264/0.9692, allocations: 103.1 MB / 0.8603 GB, free: 126.2 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.4894679370336235]