Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 113.9 kB / 16.42 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 222.9 MB / 240.1 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 188.4 kB / 290.4 MB, free: 2.254 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4943/0.4943, allocations: 91.9 MB / 432.4 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 79.03 kB / 0.5735 GB, free: 33.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09648/0.09794, allocations: 71.29 MB / 0.6431 GB, free: 3.586 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.01806/0.116, allocations: 21.98 MB / 0.6646 GB, free: 13.52 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.009693/0.1257, allocations: 4.912 MB / 0.6694 GB, free: 8.586 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002853/0.1286, allocations: 44 kB / 0.6694 GB, free: 8.543 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002291/0.131, allocations: 0.8866 MB / 0.6703 GB, free: 7.648 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006176/0.1372, allocations: 2.298 MB / 0.6725 GB, free: 5.34 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004935/0.1421, allocations: 2.075 MB / 0.6746 GB, free: 3.297 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.006747/0.1489, allocations: 5.806 MB / 0.6802 GB, free: 13.47 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002008/0.1509, allocations: 1.322 MB / 0.6815 GB, free: 12.09 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002951/0.1538, allocations: 2.361 MB / 0.6838 GB, free: 9.723 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003515/0.1574, allocations: 2.986 MB / 0.6868 GB, free: 6.723 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001118/0.1585, allocations: 448 kB / 0.6872 GB, free: 6.285 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001589/0.1601, allocations: 0.5859 MB / 0.6878 GB, free: 5.699 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001171/0.1613, allocations: 1.163 MB / 0.6889 GB, free: 4.531 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002977/0.1643, allocations: 2.637 MB / 0.6915 GB, free: 1.879 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006145/0.1704, allocations: 6.286 MB / 0.6976 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1705, allocations: 4 kB / 0.6976 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1705, allocations: 4 kB / 0.6976 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001148/0.1706, allocations: 0 / 0.6976 GB, free: 11.56 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.03084/0.2014, allocations: 9.24 MB / 0.7066 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.2015, allocations: 12.03 kB / 0.7066 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02766/0.2292, allocations: 4.012 MB / 0.7106 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004908/0.2341, allocations: 2.694 MB / 0.7132 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008685/0.235, allocations: 0.9573 MB / 0.7141 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007386/0.2357, allocations: 352 kB / 0.7145 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00981/0.2455, allocations: 4.755 MB / 0.7191 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.087e-05/0.2456, allocations: 0 / 0.7191 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004234/0.246, allocations: 140 kB / 0.7192 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.423e-05/0.2461, allocations: 84 kB / 0.7193 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008862/0.255, allocations: 4.256 MB / 0.7235 GB, free: 0.7148 MB / 0.5137 GB 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.03124/0.2862, allocations: 18.29 MB / 0.7413 GB, free: 13.24 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01263/0.2989, allocations: 5.037 MB / 0.7463 GB, free: 8.113 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005729/0.3046, allocations: 2.806 MB / 0.749 GB, free: 5.297 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003867/0.305, allocations: 70.92 kB / 0.7491 GB, free: 5.227 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00657/0.3116, allocations: 3.189 MB / 0.7522 GB, free: 1.996 MB / 0.545 GB Notification: Performance of pre-optimization done (n=385): time 6.312e-06/0.3116, allocations: 0 / 0.7522 GB, free: 1.996 MB / 0.545 GB Notification: Performance of matching and sorting (n=385): time 0.5478/0.8595, allocations: 66.81 MB / 0.8174 GB, free: 83.68 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.8596, allocations: 141.8 kB / 0.8176 GB, free: 83.51 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003555/0.8631, allocations: 3.276 MB / 0.8208 GB, free: 81.11 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006482/0.8638, allocations: 92.08 kB / 0.8209 GB, free: 81.07 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009023/0.8647, allocations: 1.972 MB / 0.8228 GB, free: 79.77 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001096/0.8658, allocations: 1.325 MB / 0.8241 GB, free: 78.46 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001212/0.867, allocations: 0.6862 MB / 0.8247 GB, free: 77.76 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.389e-05/0.8671, allocations: 305.1 kB / 0.825 GB, free: 77.46 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004988/0.872, allocations: 2.62 MB / 0.8276 GB, free: 74.83 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005234/0.8773, allocations: 3.253 MB / 0.8308 GB, free: 71.35 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06705/0.9444, allocations: 19.12 MB / 0.8494 GB, free: 51.98 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.591e-05/0.9444, allocations: 4 kB / 0.8495 GB, free: 51.97 MB / 0.5606 GB Notification: Performance of matching and sorting (n=546) (initialization): time 0.05324/0.9977, allocations: 17.24 MB / 0.8663 GB, free: 34.69 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.401e-05/0.9977, allocations: 63.41 kB / 0.8663 GB, free: 34.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.554e-05/0.9978, allocations: 20 kB / 0.8664 GB, free: 34.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02512/1.023, allocations: 7.303 MB / 0.8735 GB, free: 27.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003303/1.026, allocations: 0.6787 MB / 0.8742 GB, free: 26.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08419/1.11, allocations: 33.85 MB / 0.9072 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005864/1.116, allocations: 0.6172 MB / 0.9078 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005563/1.117, allocations: 159.8 kB / 0.908 GB, free: 7.844 MB / 0.5762 GB 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 order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3.e1q:VARIABLE(start = order3.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: 65 * 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 (409): * Single equations (assignments): 406 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(92,46)} Notification: Performance of prepare postOptimizeDAE: time 0.001737/1.119, allocations: 0.6786 MB / 0.9086 GB, free: 7.152 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000903/1.12, allocations: 458.3 kB / 0.9091 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05822/1.178, allocations: 16.89 MB / 0.9256 GB, free: 5.738 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.939e-05/1.178, allocations: 15.94 kB / 0.9256 GB, free: 5.723 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/1.178, allocations: 3.844 kB / 0.9256 GB, free: 5.723 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001213/1.179, allocations: 0.5648 MB / 0.9261 GB, free: 5.133 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001038/1.18, allocations: 60.88 kB / 0.9262 GB, free: 5.074 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004402/1.185, allocations: 383.5 kB / 0.9266 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006672/1.191, allocations: 1.91 MB / 0.9284 GB, free: 2.785 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02617/1.217, allocations: 8.4 MB / 0.9366 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01812/1.236, allocations: 8.25 MB / 0.9447 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005318/1.241, allocations: 2.28 MB / 0.9469 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.003113/1.244, allocations: 2.153 MB / 0.949 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of Backend: time 6.11e-07/1.244, allocations: 0 / 0.949 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.02278/1.267, allocations: 7.061 MB / 0.9559 GB, free: 6.562 MB / 0.6231 GB Notification: Performance of SimCode: time 0.01221/1.279, allocations: 9.081 MB / 0.9648 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of Templates: time 0.3638/1.643, allocations: 88.56 MB / 1.051 GB, free: 240.8 MB / 0.7012 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1)