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.0006857/0.0006857, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008827/0.001568, allocations: 435.8 kB / 10.33 MB, free: 368 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.8922/0.8922, allocations: 177.2 MB / 188.2 MB, free: 4.492 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1794/1.072, allocations: 53.64 MB / 241.9 MB, free: 2.734 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.001081/0.001081, allocations: 145 kB / 242.8 MB, free: 1.875 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001331/0.002412, allocations: 481.5 kB / 243.2 MB, free: 1.422 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.4677/0.4677, allocations: 89.06 MB / 333 MB, free: 15.51 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05108/0.5188, allocations: 30.21 MB / 363.2 MB, free: 3.18 MB / 346.7 MB " [Timeout remaining time 179] 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 1.854e-06/1.854e-06, allocations: 0 / 364.7 MB, free: 1.762 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.298e-05/1.484e-05, allocations: 8.562 kB / 364.7 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.01423/0.01424, allocations: 20.29 MB / 385 MB, free: 13.41 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01146/0.0257, allocations: 5.386 MB / 390.4 MB, free: 8.004 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001823/0.02752, allocations: 44 kB / 390.4 MB, free: 7.961 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0013/0.02882, allocations: 0.9255 MB / 391.3 MB, free: 7.027 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003724/0.03254, allocations: 2.44 MB / 393.8 MB, free: 4.57 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003201/0.03575, allocations: 2.075 MB / 395.8 MB, free: 2.492 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004437/0.04018, allocations: 5.944 MB / 401.8 MB, free: 12.52 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001255/0.04144, allocations: 0.9042 MB / 402.7 MB, free: 11.55 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003427/0.04486, allocations: 4.076 MB / 406.8 MB, free: 7.383 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001891/0.04676, allocations: 2.356 MB / 409.1 MB, free: 5.02 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009641/0.04772, allocations: 452 kB / 409.6 MB, free: 4.578 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008904/0.04861, allocations: 0.6208 MB / 410.2 MB, free: 3.957 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005169/0.04913, allocations: 0.8247 MB / 411 MB, free: 3.129 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001114/0.05024, allocations: 1.348 MB / 412.4 MB, free: 1.777 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003026/0.05327, allocations: 4.151 MB / 416.5 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.062e-05/0.05329, allocations: 3.984 kB / 416.5 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.05329, allocations: 0 / 416.5 MB, free: 13.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.301e-05/0.05335, allocations: 0 / 416.5 MB, free: 13.61 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.01452/0.06787, allocations: 10.5 MB / 427 MB, free: 3.008 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.0679, allocations: 12.75 kB / 427 MB, free: 2.996 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0128/0.08071, allocations: 5.13 MB / 432.2 MB, free: 13.86 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002389/0.0831, allocations: 1.803 MB / 434 MB, free: 11.96 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000469/0.08357, allocations: 0.9669 MB / 434.9 MB, free: 10.85 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003708/0.08394, allocations: 356 kB / 435.3 MB, free: 10.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003115/0.08705, allocations: 2.915 MB / 438.2 MB, free: 7.547 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.454e-05/0.0871, allocations: 0 / 438.2 MB, free: 7.547 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002204/0.08732, allocations: 140 kB / 438.3 MB, free: 7.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.961e-05/0.08736, allocations: 87.94 kB / 438.4 MB, free: 7.324 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001851/0.08921, allocations: 1.379 MB / 439.8 MB, free: 5.926 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.01221/0.1014, allocations: 9.537 MB / 449.3 MB, free: 11.98 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003069/0.1045, allocations: 2.155 MB / 451.5 MB, free: 9.797 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001194/0.1057, allocations: 0.8402 MB / 452.3 MB, free: 8.941 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002808/0.106, allocations: 83.03 kB / 452.4 MB, free: 8.859 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001519/0.1075, allocations: 1.675 MB / 454.1 MB, free: 7.137 MB / 442.7 MB Notification: Performance of pre-optimization done (n=395): time 5.02e-06/0.1075, allocations: 0 / 454.1 MB, free: 7.137 MB / 442.7 MB Notification: Performance of matching and sorting (n=395): time 0.1188/0.2262, allocations: 53.9 MB / 0.4961 GB, free: 1.078 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.101e-05/0.2263, allocations: 124.1 kB / 0.4962 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1817/0.408, allocations: 2.742 MB / 0.4989 GB, free: 118.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009024/0.4089, allocations: 91.89 kB / 0.499 GB, free: 118.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008158/0.4097, allocations: 1.327 MB / 0.5002 GB, free: 118.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009387/0.4106, allocations: 1.425 MB / 0.5016 GB, free: 118.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000848/0.4115, allocations: 0.7008 MB / 0.5023 GB, free: 118 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 2.995e-05/0.4115, allocations: 304.7 kB / 0.5026 GB, free: 117.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001472/0.413, allocations: 0.9666 MB / 0.5036 GB, free: 117.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001848/0.4148, allocations: 1.601 MB / 0.5051 GB, free: 117 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003492/0.4183, allocations: 3.016 MB / 0.5081 GB, free: 116.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-05/0.4183, allocations: 6.312 kB / 0.5081 GB, free: 116.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=554) (initialization): time 0.01841/0.4367, allocations: 10.61 MB / 0.5184 GB, free: 115.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.022e-05/0.4368, allocations: 65.66 kB / 0.5185 GB, free: 115.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.145e-05/0.4368, allocations: 15.69 kB / 0.5185 GB, free: 115.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01604/0.4529, allocations: 7.405 MB / 0.5257 GB, free: 113.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001702/0.4546, allocations: 0.8132 MB / 0.5265 GB, free: 112.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01812/0.4727, allocations: 11.88 MB / 0.5381 GB, free: 101.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002413/0.4751, allocations: 0.5363 MB / 0.5387 GB, free: 101.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001791/0.4753, allocations: 123.9 kB / 0.5388 GB, free: 101.1 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.0007534/0.476, allocations: 367.5 kB / 0.5391 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004668/0.4765, allocations: 399.6 kB / 0.5395 GB, free: 100.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01539/0.4919, allocations: 10.01 MB / 0.5493 GB, free: 90.26 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.458e-05/0.4919, allocations: 40 kB / 0.5493 GB, free: 90.22 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.695e-05/0.4919, allocations: 29.2 kB / 0.5493 GB, free: 90.19 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.286e-05/0.4919, allocations: 19.92 kB / 0.5494 GB, free: 90.17 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01782/0.5097, allocations: 11.89 MB / 0.561 GB, free: 78.44 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.5098, allocations: 0 / 0.561 GB, free: 78.44 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/0.5108, allocations: 470 kB / 0.5614 GB, free: 77.98 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006426/0.5115, allocations: 444 kB / 0.5618 GB, free: 77.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01585/0.5273, allocations: 7.385 MB / 0.5691 GB, free: 70.15 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003019/0.5276, allocations: 71.38 kB / 0.5691 GB, free: 70.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01798/0.5456, allocations: 12.35 MB / 0.5812 GB, free: 57.55 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.5456, allocations: 0 / 0.5812 GB, free: 57.55 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01773/0.5633, allocations: 10.86 MB / 0.5918 GB, free: 46.61 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006738/0.564, allocations: 68 kB / 0.5919 GB, free: 46.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001792/0.5658, allocations: 292.3 kB / 0.5921 GB, free: 46.26 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001407/0.5672, allocations: 0.7724 MB / 0.5929 GB, free: 45.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001483/0.5674, allocations: 71.98 kB / 0.593 GB, free: 45.41 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000962/0.5683, allocations: 1.49 MB / 0.5944 GB, free: 43.91 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5683, allocations: 0 / 0.5944 GB, free: 43.91 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003121/0.5715, allocations: 1.834 MB / 0.5962 GB, free: 42.08 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.0003479/0.5718, allocations: 190.9 kB / 0.5964 GB, free: 41.88 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007443/0.5792, allocations: 5.341 MB / 0.6016 GB, free: 36.46 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.106e-05/0.5793, allocations: 61.75 kB / 0.6017 GB, free: 36.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005384/0.5847, allocations: 3.997 MB / 0.6056 GB, free: 32.35 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001476/0.5862, allocations: 0.793 MB / 0.6063 GB, free: 31.55 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03858/0.6247, allocations: 7.615 MB / 0.6138 GB, free: 23.89 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005309/0.6253, allocations: 0.8065 MB / 0.6146 GB, free: 23.06 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001067/0.6263, allocations: 378.3 kB / 0.6149 GB, free: 22.69 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007822/0.6271, allocations: 499.3 kB / 0.6154 GB, free: 22.2 MB / 490.7 MB Notification: Performance of SimCode: time 1.944e-06/0.6271, allocations: 0 / 0.6154 GB, free: 22.2 MB / 490.7 MB Notification: Performance of Templates: time 0.2768/0.9039, allocations: 101.6 MB / 0.7146 GB, free: 170.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.921271347440779]