Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008661/0.0008662, allocations: 172.6 kB / 16.08 MB, free: 5.695 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 222.9 MB / 239.7 MB, free: 10.2 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007665/0.0007666, allocations: 94.52 kB / 290.5 MB, free: 11.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4396/0.4396, allocations: 78.42 MB / 419.6 MB, free: 9.781 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003286/0.0003286, allocations: 16.31 kB / 499.1 MB, free: 10.7 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2484, allocations: 68.75 MB / 0.5545 GB, free: 20.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.004896/0.2533, allocations: 7.009 MB / 0.5614 GB, free: 13.21 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002832/0.2562, allocations: 2.052 MB / 0.5634 GB, free: 11.15 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004526/0.2566, allocations: 12 kB / 0.5634 GB, free: 11.14 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005099/0.2572, allocations: 182.8 kB / 0.5636 GB, free: 10.96 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001363/0.2585, allocations: 0.7333 MB / 0.5643 GB, free: 10.22 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.2596, allocations: 0.6028 MB / 0.5649 GB, free: 9.625 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001092/0.2607, allocations: 1.581 MB / 0.5664 GB, free: 8.035 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003612/0.2611, allocations: 289.4 kB / 0.5667 GB, free: 7.742 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004905/0.2616, allocations: 0.5948 MB / 0.5673 GB, free: 7.145 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005739/0.2621, allocations: 0.7893 MB / 0.568 GB, free: 6.352 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001215/0.2623, allocations: 67.94 kB / 0.5681 GB, free: 6.285 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003401/0.2626, allocations: 195.9 kB / 0.5683 GB, free: 6.094 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000169/0.2628, allocations: 274.6 kB / 0.5685 GB, free: 5.824 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003314/0.2631, allocations: 0.6249 MB / 0.5692 GB, free: 5.195 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009206/0.2641, allocations: 1.617 MB / 0.5707 GB, free: 3.574 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.2641, allocations: 0 / 0.5707 GB, free: 3.574 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2641, allocations: 0 / 0.5707 GB, free: 3.574 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.2641, allocations: 0 / 0.5707 GB, free: 3.574 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.007245/0.2714, allocations: 2.521 MB / 0.5732 GB, free: 0.9883 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.2714, allocations: 12.03 kB / 0.5732 GB, free: 0.9766 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004637/0.2761, allocations: 0.7748 MB / 0.574 GB, free: 204 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001447/0.2775, allocations: 0.9218 MB / 0.5749 GB, free: 15.22 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002611/0.2778, allocations: 264.1 kB / 0.5751 GB, free: 14.93 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/0.278, allocations: 87.91 kB / 0.5752 GB, free: 14.84 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002032/0.28, allocations: 1.11 MB / 0.5763 GB, free: 13.72 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.28, allocations: 4 kB / 0.5763 GB, free: 13.71 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.213e-05/0.2801, allocations: 31.98 kB / 0.5763 GB, free: 13.68 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/0.2801, allocations: 20 kB / 0.5763 GB, free: 13.66 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001899/0.2821, allocations: 0.9995 MB / 0.5773 GB, free: 12.66 MB / 394.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.006443/0.2885, allocations: 3.922 MB / 0.5811 GB, free: 8.562 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007203/0.2957, allocations: 2.406 MB / 0.5835 GB, free: 6.062 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001398/0.2971, allocations: 0.7012 MB / 0.5842 GB, free: 5.355 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001104/0.2973, allocations: 12.98 kB / 0.5842 GB, free: 5.344 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001535/0.2988, allocations: 0.8334 MB / 0.585 GB, free: 4.492 MB / 394.7 MB Notification: Performance of pre-optimization done (n=98): time 3.437e-06/0.2988, allocations: 8 kB / 0.585 GB, free: 4.484 MB / 394.7 MB Notification: Performance of matching and sorting (n=98): time 0.02736/0.3262, allocations: 7.089 MB / 0.5919 GB, free: 13.33 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/0.3263, allocations: 115.8 kB / 0.592 GB, free: 13.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001863/0.3282, allocations: 1.139 MB / 0.5932 GB, free: 12.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001864/0.3284, allocations: 41.7 kB / 0.5932 GB, free: 12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004126/0.3288, allocations: 0.497 MB / 0.5937 GB, free: 11.49 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004481/0.3292, allocations: 366.8 kB / 0.594 GB, free: 11.13 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002818/0.3295, allocations: 157.6 kB / 0.5942 GB, free: 10.97 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.099e-05/0.3296, allocations: 305.2 kB / 0.5945 GB, free: 10.67 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001771/0.3314, allocations: 0.7926 MB / 0.5952 GB, free: 9.875 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001861/0.3333, allocations: 0.9733 MB / 0.5962 GB, free: 8.863 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02499/0.3583, allocations: 5.928 MB / 0.602 GB, free: 2.848 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.856e-06/0.3583, allocations: 0 / 0.602 GB, free: 2.848 MB / 410.7 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01443/0.3728, allocations: 4.5 MB / 0.6064 GB, free: 14.32 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.498e-05/0.3729, allocations: 67.33 kB / 0.6064 GB, free: 14.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/0.3729, allocations: 8 kB / 0.6065 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006303/0.3792, allocations: 1.662 MB / 0.6081 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001475/0.3807, allocations: 291.6 kB / 0.6084 GB, free: 12.28 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01873/0.3995, allocations: 7.948 MB / 0.6161 GB, free: 4.184 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002049/0.4016, allocations: 210.5 kB / 0.6163 GB, free: 3.977 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002563/0.4018, allocations: 55.98 kB / 0.6164 GB, free: 3.922 MB / 426.7 MB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.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 order6.delta:VARIABLE(flow=false start = order6.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (171): * Single equations (assignments): 168 * 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 {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007121/0.4026, allocations: 319.7 kB / 0.6167 GB, free: 3.598 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003099/0.4029, allocations: 130.4 kB / 0.6168 GB, free: 3.469 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01296/0.4158, allocations: 3.912 MB / 0.6206 GB, free: 15.53 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.642e-05/0.4159, allocations: 3.984 kB / 0.6206 GB, free: 15.53 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.4159, allocations: 4 kB / 0.6206 GB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004402/0.4164, allocations: 223.3 kB / 0.6208 GB, free: 15.29 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002798/0.4167, allocations: 27.94 kB / 0.6209 GB, free: 15.26 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001246/0.4179, allocations: 107.9 kB / 0.621 GB, free: 15.15 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001046/0.419, allocations: 432 kB / 0.6214 GB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007178/0.4261, allocations: 2.322 MB / 0.6236 GB, free: 12.38 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004372/0.4306, allocations: 2.332 MB / 0.6259 GB, free: 10.02 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001263/0.4318, allocations: 0.5817 MB / 0.6265 GB, free: 9.438 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001225/0.4331, allocations: 0.7673 MB / 0.6272 GB, free: 8.664 MB / 442.7 MB Notification: Performance of Backend: time 4.8e-07/0.4331, allocations: 4 kB / 0.6272 GB, free: 8.66 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006086/0.4392, allocations: 2.174 MB / 0.6294 GB, free: 6.438 MB / 442.7 MB Notification: Performance of SimCode: time 0.004142/0.4434, allocations: 3.508 MB / 0.6328 GB, free: 2.863 MB / 442.7 MB Notification: Performance of Templates: time 0.03348/0.4768, allocations: 21.26 MB / 0.6536 GB, free: 13.62 MB / 474.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)