Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_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.0007028/0.0007028, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009644/0.001667, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.9002/0.9002, allocations: 177.2 MB / 188.4 MB, free: 4.414 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1896/1.09, allocations: 53.65 MB / 242 MB, free: 2.617 MB / 234.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.001054/0.001054, allocations: 159.4 kB / 242.9 MB, free: 1.742 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001268/0.002322, allocations: 482.4 kB / 243.4 MB, free: 1.289 MB / 234.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/package.mo): time 0.4449/0.4449, allocations: 89.19 MB / 333.3 MB, free: 15.48 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05064/0.4955, allocations: 30.22 MB / 363.5 MB, free: 3.074 MB / 346.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 3.984 kB / 365 MB, free: 1.621 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.508e-05/1.764e-05, allocations: 2.312 kB / 365 MB, free: 1.617 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.01282/0.01284, allocations: 20.29 MB / 385.3 MB, free: 13.31 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01123/0.02407, allocations: 5.383 MB / 390.7 MB, free: 7.91 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002747/0.02682, allocations: 51.94 kB / 390.7 MB, free: 7.859 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001573/0.02839, allocations: 0.9255 MB / 391.7 MB, free: 6.926 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004267/0.03266, allocations: 2.436 MB / 394.1 MB, free: 4.473 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003214/0.03587, allocations: 2.075 MB / 396.2 MB, free: 2.395 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00474/0.04061, allocations: 5.948 MB / 402.1 MB, free: 12.42 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009993/0.04161, allocations: 0.9081 MB / 403 MB, free: 11.44 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003485/0.0451, allocations: 4.08 MB / 407.1 MB, free: 7.27 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001905/0.047, allocations: 2.348 MB / 409.4 MB, free: 4.914 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005553/0.04756, allocations: 459.9 kB / 409.9 MB, free: 4.465 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008549/0.04841, allocations: 0.6208 MB / 410.5 MB, free: 3.844 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004985/0.04891, allocations: 0.8208 MB / 411.3 MB, free: 3.02 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001055/0.04996, allocations: 1.348 MB / 412.7 MB, free: 1.668 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003017/0.05298, allocations: 4.147 MB / 416.8 MB, free: 13.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.232e-05/0.05299, allocations: 0 / 416.8 MB, free: 13.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.05299, allocations: 0 / 416.8 MB, free: 13.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.553e-05/0.05307, allocations: 0 / 416.8 MB, free: 13.5 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: 902 * Number of variables: 902 Notification: Performance of Generate backend data structure: time 0.01443/0.0675, allocations: 10.5 MB / 427.3 MB, free: 2.906 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.06754, allocations: 8.031 kB / 427.3 MB, free: 2.898 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01451/0.08204, allocations: 5.126 MB / 432.5 MB, free: 13.77 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0026/0.08464, allocations: 1.807 MB / 434.3 MB, free: 11.86 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005134/0.08516, allocations: 0.9669 MB / 435.2 MB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003949/0.08555, allocations: 352 kB / 435.6 MB, free: 10.41 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003045/0.0886, allocations: 2.911 MB / 438.5 MB, free: 7.457 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.368e-05/0.08864, allocations: 0 / 438.5 MB, free: 7.457 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002336/0.08888, allocations: 140 kB / 438.6 MB, free: 7.32 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.26e-05/0.08892, allocations: 91.94 kB / 438.7 MB, free: 7.23 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001919/0.09084, allocations: 1.387 MB / 440.1 MB, free: 5.824 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.01208/0.1029, allocations: 9.525 MB / 449.6 MB, free: 11.89 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003031/0.1059, allocations: 2.159 MB / 451.8 MB, free: 9.707 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009183/0.1069, allocations: 0.8363 MB / 452.6 MB, free: 8.855 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002962/0.1072, allocations: 83.03 kB / 452.7 MB, free: 8.773 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001534/0.1087, allocations: 1.671 MB / 454.4 MB, free: 7.055 MB / 442.7 MB Notification: Performance of pre-optimization done (n=395): time 5.32e-06/0.1087, allocations: 0 / 454.4 MB, free: 7.055 MB / 442.7 MB Notification: Performance of matching and sorting (n=395): time 0.121/0.2297, allocations: 53.9 MB / 0.4964 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.554e-05/0.2298, allocations: 124.1 kB / 0.4965 GB, free: 0.8516 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2251/0.4549, allocations: 2.742 MB / 0.4992 GB, free: 119.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008988/0.4558, allocations: 93.16 kB / 0.4993 GB, free: 119.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001111/0.4569, allocations: 1.326 MB / 0.5006 GB, free: 119.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001246/0.4582, allocations: 1.425 MB / 0.5019 GB, free: 118.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009673/0.4592, allocations: 0.6974 MB / 0.5026 GB, free: 118.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 3.428e-05/0.4592, allocations: 311.2 kB / 0.5029 GB, free: 118.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001587/0.4608, allocations: 0.9637 MB / 0.5039 GB, free: 118.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001952/0.4627, allocations: 1.599 MB / 0.5054 GB, free: 117.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00344/0.4662, allocations: 3.118 MB / 0.5085 GB, free: 116.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.169e-05/0.4662, allocations: 7.75 kB / 0.5085 GB, free: 116.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=554) (initialization): time 0.01846/0.4847, allocations: 10.6 MB / 0.5188 GB, free: 116.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.409e-05/0.4847, allocations: 66.81 kB / 0.5189 GB, free: 116.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.66e-05/0.4847, allocations: 15.72 kB / 0.5189 GB, free: 116.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01714/0.5019, allocations: 7.559 MB / 0.5263 GB, free: 113.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00186/0.5037, allocations: 0.8032 MB / 0.5271 GB, free: 112.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02079/0.5245, allocations: 12.46 MB / 0.5392 GB, free: 101 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002877/0.5274, allocations: 0.5442 MB / 0.5398 GB, free: 100.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001981/0.5276, allocations: 122.2 kB / 0.5399 GB, free: 100.4 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 14 (aVRTypeII.lagLimWindupGuard.inputLow,aVRTypeII.lagLimWindupGuard.inputBelow,aVRTypeII.lagLimWindupGuard.stateLow,aVRTypeII.lagLimWindupGuard.inputHigh,aVRTypeII.lagLimWindupGuard.inputAbove,aVRTypeII.lagLimWindupGuard.stateHigh,aVRTypeII.lagLimWindupGuard.atMin,$PRE.aVRTypeII.lagLimWindupGuard.atMin,aVRTypeII.lagLimWindupGuard.atMax,$PRE.aVRTypeII.lagLimWindupGuard.atMax,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (416): * Single equations (assignments): 413 * 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,47,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009292/0.5285, allocations: 359.3 kB / 0.5402 GB, free: 100 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005682/0.5291, allocations: 403.6 kB / 0.5406 GB, free: 99.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01642/0.5455, allocations: 10.01 MB / 0.5504 GB, free: 89.54 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.518e-05/0.5455, allocations: 40 kB / 0.5504 GB, free: 89.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.801e-05/0.5456, allocations: 28 kB / 0.5505 GB, free: 89.47 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.296e-05/0.5456, allocations: 17.91 kB / 0.5505 GB, free: 89.46 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02046/0.5661, allocations: 11.89 MB / 0.5621 GB, free: 77.67 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.5661, allocations: 0 / 0.5621 GB, free: 77.67 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001149/0.5673, allocations: 467.4 kB / 0.5625 GB, free: 77.21 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009084/0.5682, allocations: 444 kB / 0.563 GB, free: 76.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01643/0.5846, allocations: 7.538 MB / 0.5703 GB, free: 69.23 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003019/0.5849, allocations: 71.98 kB / 0.5704 GB, free: 69.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01969/0.6046, allocations: 12.92 MB / 0.583 GB, free: 56.04 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.6046, allocations: 4.562 kB / 0.583 GB, free: 56.04 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01827/0.6229, allocations: 10.9 MB / 0.5937 GB, free: 45.05 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008236/0.6237, allocations: 68 kB / 0.5937 GB, free: 44.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002003/0.6257, allocations: 291.7 kB / 0.594 GB, free: 44.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001977/0.6277, allocations: 0.7762 MB / 0.5948 GB, free: 43.92 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001892/0.6279, allocations: 67.98 kB / 0.5948 GB, free: 43.86 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001393/0.6293, allocations: 1.494 MB / 0.5963 GB, free: 42.35 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.6293, allocations: 0.9844 kB / 0.5963 GB, free: 42.35 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004016/0.6333, allocations: 1.83 MB / 0.5981 GB, free: 40.52 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.lagLimWindupGuard.state) * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,aVRTypeII.lagLimWindupGuard.atMax,aVRTypeII.lagLimWindupGuard.atMin,aVRTypeII.lagLimWindupGuard.stateHigh,aVRTypeII.lagLimWindupGuard.inputAbove,aVRTypeII.lagLimWindupGuard.inputHigh,aVRTypeII.lagLimWindupGuard.stateLow,aVRTypeII.lagLimWindupGuard.inputBelow,aVRTypeII.lagLimWindupGuard.inputLow) * Number of discrete states: 2 (aVRTypeII.lagLimWindupGuard.atMax,aVRTypeII.lagLimWindupGuard.atMin) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (262): * Single equations (assignments): 257 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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 {(98,38,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000416/0.6337, allocations: 195.3 kB / 0.5983 GB, free: 40.32 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007953/0.6416, allocations: 5.389 MB / 0.6035 GB, free: 34.92 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.531e-05/0.6417, allocations: 60.06 kB / 0.6036 GB, free: 34.86 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005849/0.6475, allocations: 4.159 MB / 0.6076 GB, free: 30.66 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00188/0.6494, allocations: 1.469 MB / 0.6091 GB, free: 29.11 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03885/0.6883, allocations: 7.606 MB / 0.6165 GB, free: 21.45 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005559/0.6888, allocations: 0.8146 MB / 0.6173 GB, free: 20.61 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001143/0.69, allocations: 380.4 kB / 0.6177 GB, free: 20.23 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008735/0.6908, allocations: 0.5227 MB / 0.6182 GB, free: 19.71 MB / 490.7 MB Notification: Performance of SimCode: time 1.984e-06/0.6908, allocations: 4 kB / 0.6182 GB, free: 19.71 MB / 490.7 MB Notification: Performance of Templates: time 0.2854/0.9763, allocations: 104.6 MB / 0.7203 GB, free: 171.3 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.932584966532886]