Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 103 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 225.6 MB / 246.7 MB, free: 13.69 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 186.2 kB / 302 MB, free: 9.188 MB / 238.1 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5528/0.5528, allocations: 94.16 MB / 451.2 MB, free: 10.08 MB / 318.1 MB [Timeout remaining time 89] 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002327/0.002327, allocations: 83.88 kB / 0.603 GB, free: 15.06 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.1873, allocations: 75.53 MB / 0.6767 GB, free: 3.371 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.4214/0.6087, allocations: 22 MB / 0.6982 GB, free: 8.605 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01322/0.622, allocations: 4.89 MB / 0.703 GB, free: 8.516 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005958/0.6279, allocations: 43.53 kB / 0.703 GB, free: 8.516 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004243/0.6322, allocations: 0.8885 MB / 0.7039 GB, free: 8.117 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01129/0.6434, allocations: 2.296 MB / 0.7061 GB, free: 7.289 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007404/0.6508, allocations: 2.077 MB / 0.7082 GB, free: 6.68 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.01142/0.6623, allocations: 5.764 MB / 0.7138 GB, free: 3.859 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0037/0.666, allocations: 0.9183 MB / 0.7147 GB, free: 3.375 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006224/0.6722, allocations: 2.345 MB / 0.717 GB, free: 2.238 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007065/0.6792, allocations: 2.978 MB / 0.7199 GB, free: 0.875 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003665/0.6829, allocations: 442.5 kB / 0.7203 GB, free: 0.875 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004713/0.6876, allocations: 0.596 MB / 0.7209 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003118/0.6907, allocations: 1.169 MB / 0.722 GB, free: 80 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008364/0.6991, allocations: 2.621 MB / 0.7246 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01419/0.7133, allocations: 6.296 MB / 0.7307 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.176e-06/0.7133, allocations: 0 / 0.7307 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.547e-06/0.7133, allocations: 1.188 kB / 0.7307 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0003665/0.7137, allocations: 0 / 0.7307 GB, free: 10.97 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.03873/0.7524, allocations: 9.387 MB / 0.7399 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/0.7525, allocations: 9.25 kB / 0.7399 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02783/0.7803, allocations: 4.038 MB / 0.7439 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008784/0.7891, allocations: 2.714 MB / 0.7465 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001353/0.7904, allocations: 0.9576 MB / 0.7474 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001677/0.7921, allocations: 352.6 kB / 0.7478 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01214/0.8042, allocations: 4.737 MB / 0.7524 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.978e-05/0.8043, allocations: 3.938 kB / 0.7524 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004241/0.8047, allocations: 140 kB / 0.7525 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-05/0.8048, allocations: 84 kB / 0.7526 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01096/0.8158, allocations: 4.263 MB / 0.7568 GB, free: 9.172 MB / 0.5137 GB 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.04604/0.8618, allocations: 18.28 MB / 0.7746 GB, free: 5.891 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01341/0.8752, allocations: 4.667 MB / 0.7792 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006729/0.882, allocations: 2.482 MB / 0.7816 GB, free: 14.65 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005481/0.8825, allocations: 68.73 kB / 0.7817 GB, free: 14.59 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007698/0.8902, allocations: 3.196 MB / 0.7848 GB, free: 11.36 MB / 0.545 GB Notification: Performance of pre-optimization done (n=384): time 7.694e-06/0.8902, allocations: 0 / 0.7848 GB, free: 11.36 MB / 0.545 GB Notification: Performance of matching and sorting (n=384): time 0.3005/1.191, allocations: 67.65 MB / 0.8509 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001393/1.191, allocations: 145.8 kB / 0.851 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007651/1.198, allocations: 3.262 MB / 0.8542 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.001187/1.2, allocations: 89.7 kB / 0.8543 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.002225/1.202, allocations: 2.009 MB / 0.8562 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.002764/1.205, allocations: 1.386 MB / 0.8576 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003936/1.209, allocations: 0.6819 MB / 0.8583 GB, free: 0 / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000169/1.209, allocations: 305.1 kB / 0.8586 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006367/1.215, allocations: 2.601 MB / 0.8611 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007274/1.222, allocations: 3.229 MB / 0.8642 GB, free: 9.641 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07485/1.297, allocations: 19.01 MB / 0.8828 GB, free: 6.375 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-05/1.297, allocations: 4 kB / 0.8828 GB, free: 6.371 MB / 0.6387 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.06278/1.36, allocations: 17.19 MB / 0.8996 GB, free: 5.141 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001086/1.36, allocations: 67.39 kB / 0.8997 GB, free: 5.062 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.667e-05/1.36, allocations: 16 kB / 0.8997 GB, free: 5.047 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02694/1.387, allocations: 7.157 MB / 0.9067 GB, free: 13.89 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004094/1.391, allocations: 0.6864 MB / 0.9073 GB, free: 13.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1049/1.496, allocations: 33.35 MB / 0.9399 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007896/1.504, allocations: 0.6337 MB / 0.9405 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001503/1.506, allocations: 152.8 kB / 0.9407 GB, free: 10.89 MB / 0.7012 GB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.delta:VARIABLE(flow=false start = order5.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (407): * Single equations (assignments): 404 * 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): 1 system {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004426/1.51, allocations: 0.6698 MB / 0.9413 GB, free: 10.21 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002753/1.513, allocations: 480.9 kB / 0.9418 GB, free: 9.738 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06286/1.576, allocations: 16.74 MB / 0.9581 GB, free: 8.922 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.317e-05/1.576, allocations: 36 kB / 0.9582 GB, free: 8.887 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001405/1.576, allocations: 35 kB / 0.9582 GB, free: 8.855 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001315/1.576, allocations: 19.92 kB / 0.9582 GB, free: 8.836 MB / 0.7169 GB 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 postOpt removeSimpleEquations (simulation): time 0.5107/2.087, allocations: 21.75 MB / 0.9795 GB, free: 229.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.353e-05/2.087, allocations: 4.875 kB / 0.9795 GB, free: 229.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002441/2.089, allocations: 393.2 kB / 0.9798 GB, free: 229.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02559/2.115, allocations: 7.369 MB / 0.987 GB, free: 229.6 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00108/2.116, allocations: 74.14 kB / 0.9871 GB, free: 229.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07321/2.189, allocations: 31.82 MB / 1.018 GB, free: 217.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/2.189, allocations: 0 / 1.018 GB, free: 217.9 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05692/2.246, allocations: 20.15 MB / 1.038 GB, free: 206.9 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001959/2.248, allocations: 0.5758 MB / 1.038 GB, free: 206.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00187/2.25, allocations: 68 kB / 1.038 GB, free: 206.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005257/2.255, allocations: 379.5 kB / 1.039 GB, free: 206 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003281/2.258, allocations: 0.7787 MB / 1.04 GB, free: 205.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005296/2.259, allocations: 101 kB / 1.04 GB, free: 205.2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.003132/2.262, allocations: 2.137 MB / 1.042 GB, free: 203.1 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/2.262, allocations: 4 kB / 1.042 GB, free: 203.1 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.006523/2.268, allocations: 1.812 MB / 1.044 GB, free: 201.3 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (248): * Single equations (assignments): 245 * 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.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007483/2.269, allocations: 204.8 kB / 1.044 GB, free: 201.1 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.02251/2.292, allocations: 8.799 MB / 1.052 GB, free: 192.3 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/2.292, allocations: 0 / 1.052 GB, free: 192.3 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.01803/2.31, allocations: 5.9 MB / 1.058 GB, free: 186.3 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004232/2.314, allocations: 386.6 kB / 1.058 GB, free: 185.9 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01396/2.328, allocations: 8.182 MB / 1.066 GB, free: 177.8 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001497/2.329, allocations: 2.451 MB / 1.069 GB, free: 175.3 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001577/2.331, allocations: 274.1 kB / 1.069 GB, free: 175 MB / 0.7169 GB Notification: Performance of SimCode: time 1.092e-06/2.331, allocations: 0 / 1.069 GB, free: 175 MB / 0.7169 GB Notification: Performance of Templates: time 0.1031/2.434, allocations: 89.63 MB / 1.157 GB, free: 85.23 MB / 0.7169 GB [Timeout remaining time 658] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 480]