Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008444/0.0008444, allocations: 172.5 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.294/1.294, 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.0007222/0.0007222, allocations: 97.55 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.4219/0.4219, allocations: 78.42 MB / 419.6 MB, free: 9.797 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003278/0.0003278, allocations: 16.31 kB / 499.1 MB, free: 10.68 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.249, allocations: 68.74 MB / 0.5545 GB, free: 20.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.005114/0.2542, allocations: 6.945 MB / 0.5613 GB, free: 13.25 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003019/0.2572, allocations: 2.036 MB / 0.5633 GB, free: 11.21 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004692/0.2577, allocations: 16 kB / 0.5633 GB, free: 11.19 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005103/0.2582, allocations: 190.8 kB / 0.5635 GB, free: 11 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001388/0.2596, allocations: 0.7229 MB / 0.5642 GB, free: 10.29 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000971/0.2606, allocations: 0.5962 MB / 0.5648 GB, free: 9.691 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009265/0.2616, allocations: 1.55 MB / 0.5663 GB, free: 8.133 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000306/0.2619, allocations: 289.3 kB / 0.5666 GB, free: 7.84 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004868/0.2624, allocations: 0.5831 MB / 0.5671 GB, free: 7.254 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005536/0.2629, allocations: 0.7815 MB / 0.5679 GB, free: 6.469 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000123/0.2631, allocations: 64 kB / 0.568 GB, free: 6.406 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003474/0.2634, allocations: 191.8 kB / 0.5681 GB, free: 6.219 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001692/0.2636, allocations: 270.6 kB / 0.5684 GB, free: 5.953 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003686/0.264, allocations: 0.6132 MB / 0.569 GB, free: 5.336 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008818/0.2649, allocations: 1.601 MB / 0.5706 GB, free: 3.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2649, allocations: 0 / 0.5706 GB, free: 3.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2649, allocations: 0 / 0.5706 GB, free: 3.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.2649, allocations: 0 / 0.5706 GB, free: 3.73 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.007384/0.2723, allocations: 2.501 MB / 0.573 GB, free: 1.164 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.2723, allocations: 8.031 kB / 0.573 GB, free: 1.156 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005026/0.2774, allocations: 0.7748 MB / 0.5738 GB, free: 388 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001418/0.2788, allocations: 0.91 MB / 0.5747 GB, free: 15.41 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002707/0.2791, allocations: 264.2 kB / 0.5749 GB, free: 15.12 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001583/0.2793, allocations: 80 kB / 0.575 GB, free: 15.04 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002034/0.2813, allocations: 1.094 MB / 0.576 GB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.2813, allocations: 3.938 kB / 0.5761 GB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-05/0.2814, allocations: 32 kB / 0.5761 GB, free: 13.9 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.2815, allocations: 19.98 kB / 0.5761 GB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001931/0.2834, allocations: 0.9994 MB / 0.5771 GB, free: 12.88 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.006202/0.2896, allocations: 3.886 MB / 0.5809 GB, free: 8.816 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007222/0.2968, allocations: 2.383 MB / 0.5832 GB, free: 6.34 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001328/0.2982, allocations: 0.6899 MB / 0.5839 GB, free: 5.645 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000108/0.2983, allocations: 20.97 kB / 0.5839 GB, free: 5.625 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001528/0.2998, allocations: 0.8294 MB / 0.5847 GB, free: 4.777 MB / 394.7 MB Notification: Performance of pre-optimization done (n=97): time 3.396e-06/0.2999, allocations: 0 / 0.5847 GB, free: 4.777 MB / 394.7 MB Notification: Performance of matching and sorting (n=97): time 0.02818/0.328, allocations: 7.221 MB / 0.5918 GB, free: 13.49 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/0.3281, allocations: 115.8 kB / 0.5919 GB, free: 13.35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001651/0.3298, allocations: 1.115 MB / 0.593 GB, free: 12.22 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002089/0.33, allocations: 61.56 kB / 0.593 GB, free: 12.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004273/0.3305, allocations: 0.4892 MB / 0.5935 GB, free: 11.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004659/0.3309, allocations: 366.9 kB / 0.5938 GB, free: 11.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002206/0.3312, allocations: 149.6 kB / 0.594 GB, free: 11.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.3313, allocations: 305.1 kB / 0.5943 GB, free: 10.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001712/0.333, allocations: 0.7769 MB / 0.595 GB, free: 10.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001791/0.3348, allocations: 0.9577 MB / 0.596 GB, free: 9.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02523/0.3601, allocations: 5.793 MB / 0.6016 GB, free: 3.191 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.3601, allocations: 0 / 0.6016 GB, free: 3.191 MB / 410.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01415/0.3743, allocations: 4.45 MB / 0.606 GB, free: 14.71 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.648e-05/0.3744, allocations: 59.41 kB / 0.606 GB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.3744, allocations: 7.938 kB / 0.606 GB, free: 14.63 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005926/0.3803, allocations: 1.635 MB / 0.6076 GB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/0.3818, allocations: 291.6 kB / 0.6079 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01821/0.4, allocations: 7.929 MB / 0.6157 GB, free: 4.633 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001832/0.4019, allocations: 206.6 kB / 0.6159 GB, free: 4.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/0.402, allocations: 63.97 kB / 0.6159 GB, free: 4.367 MB / 426.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 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 order5.delta:VARIABLE(flow=false start = order5.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order5.e1q:VARIABLE(start = order5.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 (167): * Single equations (assignments): 164 * 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.0005664/0.4026, allocations: 307 kB / 0.6162 GB, free: 4.055 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002128/0.4028, allocations: 126.4 kB / 0.6163 GB, free: 3.93 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01291/0.4157, allocations: 3.912 MB / 0.6201 GB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.649e-05/0.4158, allocations: 3.984 kB / 0.6201 GB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.4158, allocations: 3.828 kB / 0.6202 GB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000428/0.4162, allocations: 223.3 kB / 0.6204 GB, free: 15.74 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000217/0.4164, allocations: 19.98 kB / 0.6204 GB, free: 15.72 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/0.4176, allocations: 115.9 kB / 0.6205 GB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000985/0.4186, allocations: 420.2 kB / 0.6209 GB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00621/0.4248, allocations: 2.291 MB / 0.6231 GB, free: 12.87 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004521/0.4293, allocations: 2.297 MB / 0.6254 GB, free: 10.55 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001226/0.4306, allocations: 0.5778 MB / 0.6259 GB, free: 9.973 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001117/0.4317, allocations: 0.7592 MB / 0.6267 GB, free: 9.207 MB / 442.7 MB Notification: Performance of Backend: time 5.71e-07/0.4317, allocations: 0 / 0.6267 GB, free: 9.207 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006139/0.4379, allocations: 2.147 MB / 0.6288 GB, free: 7.016 MB / 442.7 MB Notification: Performance of SimCode: time 0.004/0.4419, allocations: 3.425 MB / 0.6321 GB, free: 3.531 MB / 442.7 MB Notification: Performance of Templates: time 0.03293/0.4748, allocations: 20.88 MB / 0.6525 GB, free: 14.66 MB / 474.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)