Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_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.001215/0.001215, allocations: 80.94 kB / 19.94 MB, free: 4.547 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 1.022/1.022, allocations: 177.2 MB / 200.3 MB, free: 5.656 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.00121/0.00121, allocations: 156.6 kB / 257 MB, free: 12.95 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.4023/0.4023, allocations: 80.24 MB / 340.5 MB, free: 9.605 MB / 314.7 MB " [Timeout remaining time 180] 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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 383.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.678e-05/1.831e-05, allocations: 5.547 kB / 383.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.01303/0.01305, allocations: 20.02 MB / 403.9 MB, free: 10.46 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01133/0.02438, allocations: 5.19 MB / 409.1 MB, free: 5.246 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002731/0.02711, allocations: 51.88 kB / 409.2 MB, free: 5.195 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001529/0.02864, allocations: 0.91 MB / 410.1 MB, free: 4.277 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004352/0.033, allocations: 2.431 MB / 412.5 MB, free: 1.832 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003092/0.03609, allocations: 2.055 MB / 414.6 MB, free: 15.77 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.004687/0.04077, allocations: 5.92 MB / 420.5 MB, free: 9.82 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001014/0.04179, allocations: 0.9041 MB / 421.4 MB, free: 8.844 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003766/0.04555, allocations: 3.378 MB / 424.8 MB, free: 5.457 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001953/0.04751, allocations: 2.332 MB / 427.1 MB, free: 3.117 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004536/0.04796, allocations: 444 kB / 427.5 MB, free: 2.684 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008008/0.04876, allocations: 0.5975 MB / 428.1 MB, free: 2.086 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006371/0.0494, allocations: 1.19 MB / 429.3 MB, free: 0.8906 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001272/0.05067, allocations: 1.74 MB / 431.1 MB, free: 15.14 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003511/0.05418, allocations: 4.524 MB / 435.6 MB, free: 10.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.05419, allocations: 0 / 435.6 MB, free: 10.6 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.05419, allocations: 0 / 435.6 MB, free: 10.6 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.087e-05/0.05424, allocations: 0 / 435.6 MB, free: 10.6 MB / 410.7 MB 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.01397/0.06821, allocations: 9.362 MB / 444.9 MB, free: 1.164 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.06825, allocations: 15.97 kB / 445 MB, free: 1.148 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2223/0.2906, allocations: 5.123 MB / 450.1 MB, free: 63.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004596/0.2952, allocations: 1.791 MB / 451.9 MB, free: 63.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006218/0.2958, allocations: 1.014 MB / 452.9 MB, free: 62.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006162/0.2964, allocations: 360.2 kB / 453.2 MB, free: 62.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003501/0.2999, allocations: 2.882 MB / 456.1 MB, free: 62.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.233e-05/0.2999, allocations: 0 / 456.1 MB, free: 62.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002105/0.3002, allocations: 140.8 kB / 456.3 MB, free: 62.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.464e-05/0.3002, allocations: 89.75 kB / 456.4 MB, free: 62.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001884/0.3021, allocations: 1.349 MB / 457.7 MB, free: 62.26 MB / 410.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.01236/0.3144, allocations: 9.476 MB / 467.2 MB, free: 54.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002838/0.3173, allocations: 2.13 MB / 469.3 MB, free: 52.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008405/0.3181, allocations: 0.8253 MB / 470.1 MB, free: 52.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002672/0.3184, allocations: 88.28 kB / 470.2 MB, free: 51.97 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001271/0.3197, allocations: 1.637 MB / 471.9 MB, free: 50.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=384): time 5.36e-06/0.3197, allocations: 0 / 471.9 MB, free: 50.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=384): time 0.1127/0.4323, allocations: 54.06 MB / 0.5136 GB, free: 12.29 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.171e-05/0.4324, allocations: 149.9 kB / 0.5137 GB, free: 12.11 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002725/0.4351, allocations: 2.731 MB / 0.5164 GB, free: 9.52 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003958/0.4355, allocations: 89.7 kB / 0.5165 GB, free: 9.426 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007052/0.4362, allocations: 1.324 MB / 0.5178 GB, free: 8.25 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001178/0.4374, allocations: 1.391 MB / 0.5191 GB, free: 7.027 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008302/0.4382, allocations: 0.6752 MB / 0.5198 GB, free: 6.34 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.195e-05/0.4383, allocations: 305.1 kB / 0.5201 GB, free: 6.039 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001438/0.4397, allocations: 0.9428 MB / 0.521 GB, free: 5.074 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001692/0.4414, allocations: 1.569 MB / 0.5225 GB, free: 3.27 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004968/0.4464, allocations: 4.293 MB / 0.5267 GB, free: 14.73 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.646e-05/0.4464, allocations: 4 kB / 0.5267 GB, free: 14.72 MB / 442.7 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.01857/0.465, allocations: 10.43 MB / 0.5369 GB, free: 4.246 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.383e-05/0.465, allocations: 63.41 kB / 0.537 GB, free: 4.172 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.399e-05/0.4651, allocations: 16 kB / 0.537 GB, free: 4.156 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01726/0.4823, allocations: 7.246 MB / 0.5441 GB, free: 12.91 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002092/0.4844, allocations: 0.6757 MB / 0.5447 GB, free: 12.24 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02/0.5044, allocations: 11.44 MB / 0.5559 GB, free: 0.6914 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003138/0.5076, allocations: 0.5286 MB / 0.5564 GB, free: 164 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001838/0.5077, allocations: 116 kB / 0.5565 GB, free: 48 kB / 458.7 MB 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 (402): * Single equations (assignments): 399 * 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.001028/0.5088, allocations: 383.7 kB / 0.5569 GB, free: 15.66 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005577/0.5093, allocations: 395.5 kB / 0.5573 GB, free: 15.27 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0176/0.5269, allocations: 9.988 MB / 0.567 GB, free: 5.219 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-05/0.5269, allocations: 40 kB / 0.5671 GB, free: 5.18 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-05/0.527, allocations: 31.94 kB / 0.5671 GB, free: 5.148 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.853e-05/0.527, allocations: 19.94 kB / 0.5671 GB, free: 5.129 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02135/0.5484, allocations: 11.87 MB / 0.5787 GB, free: 9.164 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/0.5484, allocations: 0 / 0.5787 GB, free: 9.164 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001153/0.5495, allocations: 383.4 kB / 0.5791 GB, free: 8.793 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01772/0.5672, allocations: 7.456 MB / 0.5863 GB, free: 1.34 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004787/0.5677, allocations: 67.98 kB / 0.5864 GB, free: 1.273 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01998/0.5877, allocations: 12.35 MB / 0.5985 GB, free: 4.719 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.5877, allocations: 0 / 0.5985 GB, free: 4.719 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0197/0.6074, allocations: 10.84 MB / 0.6091 GB, free: 9.785 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001467/0.6089, allocations: 436.1 kB / 0.6095 GB, free: 9.355 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004673/0.6093, allocations: 64 kB / 0.6095 GB, free: 9.293 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001705/0.611, allocations: 294.7 kB / 0.6098 GB, free: 9.008 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001883/0.6129, allocations: 0.7684 MB / 0.6106 GB, free: 8.238 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001466/0.6131, allocations: 67.98 kB / 0.6106 GB, free: 8.172 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001239/0.6143, allocations: 1.478 MB / 0.6121 GB, free: 6.684 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.6143, allocations: 0 / 0.6121 GB, free: 6.684 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004187/0.6185, allocations: 1.807 MB / 0.6138 GB, free: 4.875 MB / 0.5105 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.0004372/0.6189, allocations: 195.4 kB / 0.614 GB, free: 4.676 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008673/0.6276, allocations: 5.256 MB / 0.6192 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.333e-05/0.6276, allocations: 41.81 kB / 0.6192 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.006393/0.634, allocations: 3.99 MB / 0.6231 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001662/0.6357, allocations: 451.1 kB / 0.6235 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01025/0.6459, allocations: 7.367 MB / 0.6307 GB, free: 3.418 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006561/0.6466, allocations: 0.8024 MB / 0.6315 GB, free: 2.586 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0009281/0.6475, allocations: 370.6 kB / 0.6319 GB, free: 2.223 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007859/0.6483, allocations: 486.9 kB / 0.6323 GB, free: 1.75 MB / 0.5261 GB Notification: Performance of SimCode: time 1.653e-06/0.6483, allocations: 4 kB / 0.6323 GB, free: 1.746 MB / 0.5261 GB Notification: Performance of Templates: time 0.2774/0.9257, allocations: 99.56 MB / 0.7296 GB, free: 98.27 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.892674337141216]