Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_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.0008763/0.0008763, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.8784/0.8784, allocations: 177.2 MB / 201.1 MB, free: 5.43 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.001768/0.001768, allocations: 159.2 kB / 257.7 MB, free: 12.84 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.2763/0.2763, allocations: 83.28 MB / 397.5 MB, free: 15.04 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.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 495.1 MB, free: 7.082 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.031e-05/2.155e-05, allocations: 2.312 kB / 495.1 MB, free: 7.078 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.005141/0.005162, allocations: 6.151 MB / 0.4895 GB, free: 0.9102 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003148/0.00831, allocations: 1.963 MB / 0.4915 GB, free: 14.95 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006684/0.008978, allocations: 8 kB / 0.4915 GB, free: 14.95 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006395/0.009618, allocations: 245.8 kB / 0.4917 GB, free: 14.7 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001737/0.01135, allocations: 0.8661 MB / 0.4925 GB, free: 13.84 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.01237, allocations: 0.6503 MB / 0.4932 GB, free: 13.2 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001565/0.01393, allocations: 1.58 MB / 0.4947 GB, free: 11.61 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003801/0.01431, allocations: 214.9 kB / 0.4949 GB, free: 11.39 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001396/0.01571, allocations: 0.9083 MB / 0.4958 GB, free: 10.48 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007711/0.01648, allocations: 0.6743 MB / 0.4965 GB, free: 9.809 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002354/0.01671, allocations: 120.5 kB / 0.4966 GB, free: 9.691 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005018/0.01721, allocations: 276.6 kB / 0.4969 GB, free: 9.422 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002134/0.01743, allocations: 334.5 kB / 0.4972 GB, free: 9.094 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003718/0.0178, allocations: 458.5 kB / 0.4976 GB, free: 8.645 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001327/0.01913, allocations: 1.226 MB / 0.4988 GB, free: 7.414 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.01913, allocations: 3.938 kB / 0.4988 GB, free: 7.41 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.001e-06/0.01913, allocations: 0.5938 kB / 0.4988 GB, free: 7.41 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.31e-05/0.01916, allocations: 0.75 kB / 0.4988 GB, free: 7.41 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.004677/0.02384, allocations: 2.926 MB / 0.5017 GB, free: 4.449 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/0.02388, allocations: 8.031 kB / 0.5017 GB, free: 4.441 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002643/0.02652, allocations: 0.9339 MB / 0.5026 GB, free: 3.516 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/0.0276, allocations: 0.7757 MB / 0.5033 GB, free: 2.695 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001895/0.02779, allocations: 333.3 kB / 0.5037 GB, free: 2.316 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/0.0279, allocations: 83.97 kB / 0.5037 GB, free: 2.234 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007729/0.02868, allocations: 0.6796 MB / 0.5044 GB, free: 1.531 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.02869, allocations: 4 kB / 0.5044 GB, free: 1.527 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.255e-05/0.02876, allocations: 31.94 kB / 0.5044 GB, free: 1.496 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.02877, allocations: 20 kB / 0.5045 GB, free: 1.477 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005187/0.02929, allocations: 407.3 kB / 0.5048 GB, free: 1.074 MB / 426.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.003296/0.03258, allocations: 2.56 MB / 0.5073 GB, free: 14.45 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002367/0.03495, allocations: 1.177 MB / 0.5085 GB, free: 13.24 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003179/0.03527, allocations: 287.9 kB / 0.5088 GB, free: 12.95 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.179e-05/0.03534, allocations: 24.98 kB / 0.5088 GB, free: 12.92 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004817/0.03582, allocations: 486.4 kB / 0.5093 GB, free: 12.42 MB / 442.7 MB Notification: Performance of pre-optimization done (n=96): time 3.096e-06/0.03582, allocations: 0 / 0.5093 GB, free: 12.42 MB / 442.7 MB Notification: Performance of matching and sorting (n=96): time 0.01106/0.04689, allocations: 4.806 MB / 0.514 GB, free: 7.574 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.04693, allocations: 127.8 kB / 0.5141 GB, free: 7.426 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007433/0.04768, allocations: 0.9358 MB / 0.515 GB, free: 6.473 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001069/0.04778, allocations: 45.69 kB / 0.515 GB, free: 6.422 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000287/0.04807, allocations: 0.5586 MB / 0.5156 GB, free: 5.855 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002656/0.04834, allocations: 376.8 kB / 0.5159 GB, free: 5.484 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003137/0.04865, allocations: 297 kB / 0.5162 GB, free: 5.188 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002268/0.04888, allocations: 480.7 kB / 0.5167 GB, free: 4.715 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005057/0.04938, allocations: 407.2 kB / 0.5171 GB, free: 4.305 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005875/0.04997, allocations: 0.6103 MB / 0.5177 GB, free: 3.629 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001586/0.05156, allocations: 1.559 MB / 0.5192 GB, free: 1.984 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.05156, allocations: 0 / 0.5192 GB, free: 1.984 MB / 442.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.005072/0.05664, allocations: 2.965 MB / 0.5221 GB, free: 14.98 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.614e-05/0.05668, allocations: 62.06 kB / 0.5221 GB, free: 14.91 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.05669, allocations: 4 kB / 0.5221 GB, free: 14.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00413/0.06082, allocations: 1.507 MB / 0.5236 GB, free: 13.39 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008124/0.06163, allocations: 291.6 kB / 0.5239 GB, free: 13.11 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005543/0.06718, allocations: 4.177 MB / 0.528 GB, free: 8.812 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009228/0.0681, allocations: 171.1 kB / 0.5281 GB, free: 8.645 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.604e-05/0.06819, allocations: 43.98 kB / 0.5282 GB, free: 8.602 MB / 458.7 MB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4.e1q:VARIABLE(start = order4.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: 13 * 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 (161): * Single equations (assignments): 158 * 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 {(18,13,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003858/0.06857, allocations: 259.1 kB / 0.5284 GB, free: 8.332 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002065/0.06878, allocations: 167.1 kB / 0.5286 GB, free: 8.168 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004672/0.07345, allocations: 2.451 MB / 0.531 GB, free: 5.684 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/0.07346, allocations: 12 kB / 0.531 GB, free: 5.672 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.07347, allocations: 4 kB / 0.531 GB, free: 5.668 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.745e-05/0.07349, allocations: 3.984 kB / 0.531 GB, free: 5.664 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005637/0.07912, allocations: 3.396 MB / 0.5343 GB, free: 2.203 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.07913, allocations: 0 / 0.5343 GB, free: 2.203 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003129/0.07944, allocations: 95.89 kB / 0.5344 GB, free: 2.109 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004068/0.08351, allocations: 1.626 MB / 0.536 GB, free: 484 kB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000108/0.08362, allocations: 23.98 kB / 0.536 GB, free: 460 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006559/0.09018, allocations: 6.195 MB / 0.5421 GB, free: 10.01 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.09018, allocations: 0 / 0.5421 GB, free: 10.01 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00515/0.09533, allocations: 2.847 MB / 0.5448 GB, free: 7.113 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002674/0.0956, allocations: 154.8 kB / 0.545 GB, free: 6.961 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001291/0.09573, allocations: 27.94 kB / 0.545 GB, free: 6.934 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004554/0.09618, allocations: 71.94 kB / 0.5451 GB, free: 6.863 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003519/0.09653, allocations: 188.6 kB / 0.5453 GB, free: 6.68 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.624e-05/0.09658, allocations: 23.98 kB / 0.5453 GB, free: 6.656 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003844/0.09696, allocations: 0.5584 MB / 0.5458 GB, free: 6.09 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.09696, allocations: 0 / 0.5458 GB, free: 6.09 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009719/0.09794, allocations: 475.6 kB / 0.5463 GB, free: 5.625 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,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 (64): * Single equations (assignments): 61 * 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 {(21,11,21.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002157/0.09815, allocations: 135.1 kB / 0.5464 GB, free: 5.484 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002317/0.1005, allocations: 1.719 MB / 0.5481 GB, free: 3.699 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1005, allocations: 0 / 0.5481 GB, free: 3.699 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001632/0.1021, allocations: 1.28 MB / 0.5493 GB, free: 2.359 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005778/0.1027, allocations: 148 kB / 0.5495 GB, free: 2.223 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002616/0.1053, allocations: 2.048 MB / 0.5515 GB, free: 132 kB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.1056, allocations: 241.5 kB / 0.5517 GB, free: 15.87 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002594/0.1059, allocations: 112 kB / 0.5518 GB, free: 15.75 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002812/0.1062, allocations: 206.2 kB / 0.552 GB, free: 15.55 MB / 490.7 MB Notification: Performance of SimCode: time 1.062e-06/0.1062, allocations: 4 kB / 0.552 GB, free: 15.55 MB / 490.7 MB Notification: Performance of Templates: time 0.02866/0.1348, allocations: 28.72 MB / 0.5801 GB, free: 2.93 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8536230847239494]