Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 225.6 MB / 246.2 MB, free: 13.56 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 190.9 kB / 301.4 MB, free: 9.082 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4341/0.4341, allocations: 79.73 MB / 436.3 MB, free: 5.984 MB / 302.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002388/0.002388, allocations: 83.88 kB / 0.5817 GB, free: 8.504 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1281, allocations: 72.09 MB / 0.6521 GB, free: 328 kB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.01436/0.1424, allocations: 13.66 MB / 0.6654 GB, free: 2.586 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007427/0.1499, allocations: 3.476 MB / 0.6688 GB, free: 15.1 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001516/0.1514, allocations: 31.94 kB / 0.6688 GB, free: 15.07 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00133/0.1527, allocations: 0.5576 MB / 0.6694 GB, free: 14.51 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004077/0.1568, allocations: 1.562 MB / 0.6709 GB, free: 12.94 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003475/0.1602, allocations: 1.509 MB / 0.6724 GB, free: 11.45 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005129/0.1654, allocations: 3.71 MB / 0.676 GB, free: 7.727 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00148/0.1669, allocations: 0.6084 MB / 0.6766 GB, free: 7.066 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002974/0.1698, allocations: 1.532 MB / 0.6781 GB, free: 5.527 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002825/0.1727, allocations: 1.991 MB / 0.68 GB, free: 3.527 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006432/0.1733, allocations: 284 kB / 0.6803 GB, free: 3.25 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009962/0.1743, allocations: 423.9 kB / 0.6807 GB, free: 2.836 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007241/0.175, allocations: 0.7623 MB / 0.6815 GB, free: 2.07 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001817/0.1768, allocations: 1.635 MB / 0.683 GB, free: 436 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004946/0.1818, allocations: 3.991 MB / 0.6869 GB, free: 12.42 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1818, allocations: 0 / 0.6869 GB, free: 12.42 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.647e-06/0.1818, allocations: 3.984 kB / 0.687 GB, free: 12.41 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.771e-05/0.1819, allocations: 0 / 0.687 GB, free: 12.41 MB / 494.1 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.02394/0.2058, allocations: 6.685 MB / 0.6935 GB, free: 5.629 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.2059, allocations: 8.031 kB / 0.6935 GB, free: 5.621 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01534/0.2212, allocations: 2.296 MB / 0.6957 GB, free: 3.32 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004615/0.2258, allocations: 1.892 MB / 0.6976 GB, free: 1.363 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009187/0.2268, allocations: 0.729 MB / 0.6983 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000863/0.2276, allocations: 216 kB / 0.6985 GB, free: 316 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2606/0.4882, allocations: 3.023 MB / 0.7014 GB, free: 40.76 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.753e-05/0.4882, allocations: 1.547 kB / 0.7014 GB, free: 40.76 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002435/0.4885, allocations: 88.94 kB / 0.7015 GB, free: 40.71 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.263e-05/0.4885, allocations: 52.25 kB / 0.7016 GB, free: 40.71 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006475/0.495, allocations: 2.783 MB / 0.7043 GB, free: 39.78 MB / 494.1 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.02019/0.5152, allocations: 9.807 MB / 0.7139 GB, free: 34.78 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01033/0.5255, allocations: 3.976 MB / 0.7178 GB, free: 33.27 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003992/0.5295, allocations: 1.769 MB / 0.7195 GB, free: 32.61 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003398/0.5298, allocations: 39.34 kB / 0.7195 GB, free: 32.6 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004418/0.5343, allocations: 2.235 MB / 0.7217 GB, free: 31.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=247): time 4.288e-06/0.5343, allocations: 0 / 0.7217 GB, free: 31.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=247): time 0.1168/0.651, allocations: 29.39 MB / 0.7504 GB, free: 10.23 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/0.6511, allocations: 184.2 kB / 0.7506 GB, free: 10.02 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00285/0.6539, allocations: 2.285 MB / 0.7528 GB, free: 7.727 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006549/0.6546, allocations: 73.7 kB / 0.7529 GB, free: 7.648 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005902/0.6552, allocations: 1.192 MB / 0.7541 GB, free: 6.539 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008201/0.656, allocations: 0.9042 MB / 0.7549 GB, free: 5.77 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009548/0.657, allocations: 0.5619 MB / 0.7555 GB, free: 5.199 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.439e-05/0.657, allocations: 305.1 kB / 0.7558 GB, free: 4.898 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003607/0.6606, allocations: 1.947 MB / 0.7577 GB, free: 2.949 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003832/0.6644, allocations: 2.31 MB / 0.7599 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05623/0.7207, allocations: 14 MB / 0.7736 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.05e-05/0.7207, allocations: 0 / 0.7736 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of matching and sorting (n=413) (initialization): time 0.04162/0.7623, allocations: 12.21 MB / 0.7855 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001104/0.7624, allocations: 122.8 kB / 0.7856 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.942e-05/0.7624, allocations: 4 kB / 0.7856 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01883/0.7813, allocations: 5.326 MB / 0.7908 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003026/0.7843, allocations: 0.5578 MB / 0.7914 GB, free: 28 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06369/0.848, allocations: 23.52 MB / 0.8144 GB, free: 8.391 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004236/0.8522, allocations: 493.1 kB / 0.8148 GB, free: 7.965 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004299/0.8526, allocations: 120 kB / 0.815 GB, free: 7.848 MB / 0.545 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 (325): * Single equations (assignments): 320 * 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.001301/0.8539, allocations: 0.5306 MB / 0.8155 GB, free: 7.305 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006369/0.8546, allocations: 310 kB / 0.8158 GB, free: 7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0409/0.8955, allocations: 11.81 MB / 0.8273 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.729e-05/0.8955, allocations: 27.94 kB / 0.8273 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.463e-05/0.8956, allocations: 16 kB / 0.8273 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-05/0.8956, allocations: 23.88 kB / 0.8274 GB, free: 11.07 MB / 0.5606 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.04818/0.9438, allocations: 15.4 MB / 0.8424 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.548e-05/0.9438, allocations: 0 / 0.8424 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001575/0.9454, allocations: 239.7 kB / 0.8426 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01884/0.9643, allocations: 5.282 MB / 0.8478 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006556/0.9649, allocations: 51.98 kB / 0.8478 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06271/1.028, allocations: 24.97 MB / 0.8722 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/1.028, allocations: 7.938 kB / 0.8722 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04711/1.075, allocations: 14.19 MB / 0.8861 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001004/1.076, allocations: 418.6 kB / 0.8865 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007194/1.076, allocations: 56.09 kB / 0.8865 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003075/1.08, allocations: 303.6 kB / 0.8868 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00217/1.082, allocations: 0.584 MB / 0.8874 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002415/1.082, allocations: 63.98 kB / 0.8875 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002485/1.084, allocations: 1.511 MB / 0.8889 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/1.084, allocations: 0 / 0.8889 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003464/1.088, allocations: 1.175 MB / 0.8901 GB, free: 10.2 MB / 0.6231 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.0004316/1.088, allocations: 171 kB / 0.8903 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01859/1.107, allocations: 6.399 MB / 0.8965 GB, free: 3.547 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/1.107, allocations: 0 / 0.8965 GB, free: 3.547 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.01364/1.121, allocations: 4.235 MB / 0.9006 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002151/1.123, allocations: 260.6 kB / 0.9009 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01017/1.133, allocations: 5.394 MB / 0.9062 GB, free: 9.566 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001527/1.134, allocations: 1.802 MB / 0.9079 GB, free: 7.73 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001149/1.136, allocations: 262.5 kB / 0.9082 GB, free: 7.473 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006084/1.136, allocations: 175.4 kB / 0.9083 GB, free: 7.301 MB / 0.6387 GB Notification: Performance of SimCode: time 1.102e-06/1.136, allocations: 0 / 0.9083 GB, free: 7.301 MB / 0.6387 GB Notification: Performance of Templates: time 0.3514/1.488, allocations: 67.84 MB / 0.9746 GB, free: 231.4 MB / 0.6856 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.372223089449108]