Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.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.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008788/0.0008789, allocations: 175.4 kB / 16.08 MB, free: 5.727 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.226/1.226, allocations: 222.9 MB / 239.7 MB, free: 10.17 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.0007521/0.0007521, allocations: 92.02 kB / 290.5 MB, free: 11.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4033/0.4033, allocations: 78.42 MB / 419.6 MB, free: 9.777 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003529/0.000353, allocations: 19.94 kB / 499.1 MB, free: 10.69 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.2458, allocations: 68.74 MB / 0.5545 GB, free: 20.26 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.008484/0.2544, allocations: 14.62 MB / 0.5688 GB, free: 5.578 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005115/0.2595, allocations: 3.644 MB / 0.5724 GB, free: 1.926 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001802/0.2613, allocations: 35.94 kB / 0.5724 GB, free: 1.891 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00123/0.2626, allocations: 445.1 kB / 0.5728 GB, free: 1.453 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003067/0.2657, allocations: 1.244 MB / 0.574 GB, free: 212 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002867/0.2685, allocations: 1.429 MB / 0.5754 GB, free: 14.8 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003702/0.2722, allocations: 3.601 MB / 0.5789 GB, free: 11.18 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001091/0.2733, allocations: 0.7963 MB / 0.5797 GB, free: 10.33 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001793/0.2751, allocations: 1.36 MB / 0.581 GB, free: 8.965 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002121/0.2773, allocations: 1.812 MB / 0.5828 GB, free: 7.145 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006363/0.2779, allocations: 144 kB / 0.583 GB, free: 7.004 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009057/0.2788, allocations: 279.8 kB / 0.5832 GB, free: 6.73 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006717/0.2795, allocations: 0.6217 MB / 0.5838 GB, free: 6.105 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001631/0.2812, allocations: 1.494 MB / 0.5853 GB, free: 4.602 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003067/0.2842, allocations: 3.782 MB / 0.589 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2843, allocations: 0 / 0.589 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2843, allocations: 7.938 kB / 0.589 GB, free: 0.7969 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.43e-05/0.2843, allocations: 0 / 0.589 GB, free: 0.7969 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.01982/0.3041, allocations: 6.023 MB / 0.5949 GB, free: 10.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3042, allocations: 12.02 kB / 0.5949 GB, free: 10.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01427/0.3185, allocations: 2.275 MB / 0.5971 GB, free: 8.387 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00324/0.3217, allocations: 1.906 MB / 0.599 GB, free: 6.414 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006176/0.3224, allocations: 0.7253 MB / 0.5997 GB, free: 5.574 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003933/0.3228, allocations: 219.9 kB / 0.5999 GB, free: 5.359 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005665/0.3284, allocations: 3.055 MB / 0.6029 GB, free: 2.227 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.019e-05/0.3285, allocations: 0 / 0.6029 GB, free: 2.227 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000233/0.3287, allocations: 87.94 kB / 0.6029 GB, free: 2.141 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.404e-05/0.3288, allocations: 52 kB / 0.603 GB, free: 2.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005544/0.3343, allocations: 2.803 MB / 0.6057 GB, free: 15.27 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.01623/0.3506, allocations: 9.962 MB / 0.6155 GB, free: 4.891 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01044/0.361, allocations: 4.224 MB / 0.6196 GB, free: 0.5273 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003815/0.3649, allocations: 1.987 MB / 0.6215 GB, free: 14.53 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002714/0.3652, allocations: 41.95 kB / 0.6216 GB, free: 14.49 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004229/0.3694, allocations: 2.252 MB / 0.6238 GB, free: 12.22 MB / 442.7 MB Notification: Performance of pre-optimization done (n=250): time 4.508e-06/0.3694, allocations: 0 / 0.6238 GB, free: 12.22 MB / 442.7 MB Notification: Performance of matching and sorting (n=250): time 0.1207/0.4902, allocations: 28.82 MB / 0.6519 GB, free: 15.27 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.4903, allocations: 184.3 kB / 0.6521 GB, free: 15.05 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005179/0.4955, allocations: 2.333 MB / 0.6544 GB, free: 12.7 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006799/0.4962, allocations: 69.7 kB / 0.6544 GB, free: 12.62 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001256/0.4975, allocations: 1.18 MB / 0.6556 GB, free: 11.43 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001445/0.4989, allocations: 0.8858 MB / 0.6564 GB, free: 10.54 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006719/0.4996, allocations: 296.7 kB / 0.6567 GB, free: 10.24 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.4998, allocations: 301.1 kB / 0.657 GB, free: 9.941 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006738/0.5065, allocations: 1.99 MB / 0.659 GB, free: 7.949 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007081/0.5136, allocations: 2.354 MB / 0.6613 GB, free: 5.504 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.08078/0.5944, allocations: 14.38 MB / 0.6753 GB, free: 6.891 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-05/0.5945, allocations: 4 kB / 0.6753 GB, free: 6.887 MB / 490.7 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.2698/0.8644, allocations: 12.61 MB / 0.6876 GB, free: 108.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.006e-05/0.8645, allocations: 118.6 kB / 0.6877 GB, free: 108.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.686e-05/0.8645, allocations: 6.719 kB / 0.6877 GB, free: 108.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01821/0.8827, allocations: 5.432 MB / 0.693 GB, free: 108.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002789/0.8856, allocations: 0.5786 MB / 0.6936 GB, free: 108 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04931/0.9349, allocations: 21.76 MB / 0.7149 GB, free: 96.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004298/0.9392, allocations: 497 kB / 0.7153 GB, free: 96.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005826/0.9398, allocations: 120 kB / 0.7154 GB, free: 96.36 MB / 490.7 MB Warning: Assuming fixed start value for the following 6 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Syn2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (336): * Single equations (assignments): 331 * Array equations: 0 * Algorithm blocks: 4 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(63,27)} Notification: Performance of prepare postOptimizeDAE: time 0.001267/0.9411, allocations: 0.5278 MB / 0.716 GB, free: 95.82 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005401/0.9417, allocations: 299.1 kB / 0.7162 GB, free: 95.59 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03475/0.9764, allocations: 11.95 MB / 0.7279 GB, free: 83.55 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.525e-05/0.9765, allocations: 15.89 kB / 0.7279 GB, free: 83.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.9765, allocations: 0.75 kB / 0.7279 GB, free: 83.53 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007564/0.9773, allocations: 415.9 kB / 0.7283 GB, free: 83.14 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005152/0.9778, allocations: 51.98 kB / 0.7284 GB, free: 83.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002594/0.9804, allocations: 301.1 kB / 0.7287 GB, free: 82.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003944/0.9844, allocations: 1.374 MB / 0.73 GB, free: 81.42 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01424/0.9986, allocations: 5.993 MB / 0.7359 GB, free: 75.39 MB / 490.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01/1.009, allocations: 5.97 MB / 0.7417 GB, free: 69.32 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003042/1.012, allocations: 1.632 MB / 0.7433 GB, free: 67.68 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001893/1.014, allocations: 1.543 MB / 0.7448 GB, free: 66.13 MB / 490.7 MB Notification: Performance of Backend: time 5.61e-07/1.014, allocations: 0 / 0.7448 GB, free: 66.13 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01313/1.027, allocations: 5.13 MB / 0.7498 GB, free: 60.96 MB / 490.7 MB Notification: Performance of SimCode: time 0.007073/1.034, allocations: 7.506 MB / 0.7571 GB, free: 53.4 MB / 490.7 MB Notification: Performance of Templates: time 0.06784/1.102, allocations: 54.57 MB / 0.8104 GB, free: 14.87 MB / 0.4948 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)