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.004484/0.004484, allocations: 167.8 kB / 15.13 MB, free: 6.023 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.248/1.248, allocations: 223.3 MB / 239.1 MB, free: 4 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007625/0.0007626, allocations: 94.06 kB / 290.3 MB, free: 4.543 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4558/0.4558, allocations: 78.61 MB / 420 MB, free: 36.53 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003899/0.0003899, allocations: 15.94 kB / 499.9 MB, free: 7.238 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1293, allocations: 69.36 MB / 0.5559 GB, free: 1.816 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.01109/0.1404, allocations: 12.97 MB / 0.5686 GB, free: 4.809 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.007568/0.1481, allocations: 3.496 MB / 0.572 GB, free: 1.297 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00274/0.1508, allocations: 32 kB / 0.572 GB, free: 1.266 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001911/0.1528, allocations: 396.9 kB / 0.5724 GB, free: 0.875 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.2584/0.4112, allocations: 1.196 MB / 0.5736 GB, free: 31.84 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003751/0.415, allocations: 1.297 MB / 0.5748 GB, free: 31.84 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.004885/0.4199, allocations: 3.407 MB / 0.5782 GB, free: 31.84 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001196/0.4211, allocations: 0.6935 MB / 0.5788 GB, free: 31.73 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002262/0.4233, allocations: 1.33 MB / 0.5801 GB, free: 31.41 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001988/0.4253, allocations: 1.762 MB / 0.5819 GB, free: 31.02 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004392/0.4258, allocations: 145.5 kB / 0.582 GB, free: 31.02 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009932/0.4268, allocations: 273.6 kB / 0.5823 GB, free: 31.02 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005963/0.4274, allocations: 0.6029 MB / 0.5828 GB, free: 30.87 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008663/0.4283, allocations: 0.5244 MB / 0.5834 GB, free: 30.73 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003702/0.432, allocations: 3.002 MB / 0.5863 GB, free: 30.4 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.432, allocations: 0 / 0.5863 GB, free: 30.4 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.432, allocations: 3.156 kB / 0.5863 GB, free: 30.4 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.662e-05/0.4321, allocations: 1.75 kB / 0.5863 GB, free: 30.4 MB / 442.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.02281/0.4549, allocations: 6.251 MB / 0.5924 GB, free: 28.62 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.455, allocations: 8.125 kB / 0.5924 GB, free: 28.62 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0156/0.4706, allocations: 2.302 MB / 0.5947 GB, free: 28.39 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00504/0.4757, allocations: 1.806 MB / 0.5964 GB, free: 27.83 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006422/0.4764, allocations: 0.7498 MB / 0.5971 GB, free: 27.26 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004978/0.4769, allocations: 224.6 kB / 0.5974 GB, free: 27.25 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006427/0.4833, allocations: 3.237 MB / 0.6005 GB, free: 27.04 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.755e-05/0.4834, allocations: 0 / 0.6005 GB, free: 27.04 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002644/0.4836, allocations: 89.59 kB / 0.6006 GB, free: 27.03 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.623e-05/0.4837, allocations: 51.55 kB / 0.6007 GB, free: 27.03 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005981/0.4897, allocations: 2.984 MB / 0.6036 GB, free: 26.96 MB / 442.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.02066/0.5103, allocations: 10.22 MB / 0.6136 GB, free: 24.24 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01231/0.5227, allocations: 4.896 MB / 0.6183 GB, free: 22.63 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005372/0.5281, allocations: 2.179 MB / 0.6205 GB, free: 21.82 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003302/0.5285, allocations: 40.86 kB / 0.6205 GB, free: 21.82 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006629/0.5351, allocations: 2.442 MB / 0.6229 GB, free: 21.01 MB / 442.7 MB Notification: Performance of pre-optimization done (n=250): time 1.165e-05/0.5352, allocations: 5.094 kB / 0.6229 GB, free: 21.01 MB / 442.7 MB Notification: Performance of matching and sorting (n=250): time 0.1283/0.6635, allocations: 35.35 MB / 0.6574 GB, free: 11.27 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.6636, allocations: 184.2 kB / 0.6576 GB, free: 11.05 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00414/0.6678, allocations: 2.31 MB / 0.6598 GB, free: 8.719 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009385/0.6687, allocations: 69.7 kB / 0.6599 GB, free: 8.645 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009191/0.6696, allocations: 1.185 MB / 0.6611 GB, free: 7.457 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001283/0.6709, allocations: 0.882 MB / 0.6619 GB, free: 6.582 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000258/0.6712, allocations: 64 kB / 0.662 GB, free: 6.52 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002154/0.6714, allocations: 430.2 kB / 0.6624 GB, free: 6.094 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004536/0.676, allocations: 2.177 MB / 0.6645 GB, free: 3.914 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005038/0.681, allocations: 2.545 MB / 0.667 GB, free: 1.277 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00541/0.6865, allocations: 2.444 MB / 0.6694 GB, free: 14.79 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.408e-05/0.6865, allocations: 7.953 kB / 0.6694 GB, free: 14.79 MB / 474.7 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.04624/0.7327, allocations: 15.31 MB / 0.6844 GB, free: 15.41 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001237/0.7329, allocations: 122.8 kB / 0.6845 GB, free: 15.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.781e-05/0.7329, allocations: 4 kB / 0.6845 GB, free: 15.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02179/0.7547, allocations: 6.494 MB / 0.6908 GB, free: 8.773 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003329/0.7581, allocations: 0.5754 MB / 0.6914 GB, free: 8.199 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06622/0.8244, allocations: 26.53 MB / 0.7173 GB, free: 13.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005824/0.8302, allocations: 0.587 MB / 0.7179 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009588/0.8312, allocations: 120 kB / 0.718 GB, free: 12.71 MB / 0.5105 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.firstOrder2.y:VARIABLE(flow=false start = Exc2.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(flow=false start = Exc1.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real Syn2.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 order3_2.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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (334): * Single equations (assignments): 328 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.002279/0.8335, allocations: 0.5411 MB / 0.7185 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001103/0.8346, allocations: 308.3 kB / 0.7188 GB, free: 11.86 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05482/0.8895, allocations: 14.77 MB / 0.7332 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-05/0.8896, allocations: 28 kB / 0.7332 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001129/0.8897, allocations: 16 kB / 0.7333 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000113/0.8899, allocations: 15.95 kB / 0.7333 GB, free: 12.93 MB / 0.5261 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 postOpt removeSimpleEquations (simulation): time 0.1008/0.9907, allocations: 18.41 MB / 0.7513 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.384e-05/0.9908, allocations: 5.188 kB / 0.7513 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003314/0.9941, allocations: 251.6 kB / 0.7515 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03567/1.03, allocations: 6.265 MB / 0.7576 GB, free: 3.84 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001078/1.031, allocations: 51.98 kB / 0.7577 GB, free: 3.789 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09912/1.13, allocations: 25.5 MB / 0.7826 GB, free: 9.898 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/1.13, allocations: 4 kB / 0.7826 GB, free: 9.895 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2958/1.426, allocations: 17.35 MB / 0.7995 GB, free: 169.2 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001064/1.427, allocations: 420.3 kB / 0.7999 GB, free: 169.2 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001083/1.428, allocations: 44.95 kB / 0.8 GB, free: 169.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003989/1.432, allocations: 414.9 kB / 0.8004 GB, free: 169.2 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0023/1.434, allocations: 0.5751 MB / 0.8009 GB, free: 169.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004211/1.435, allocations: 66.72 kB / 0.801 GB, free: 169.1 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002561/1.437, allocations: 1.52 MB / 0.8025 GB, free: 169 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.61e-07/1.438, allocations: 3.938 kB / 0.8025 GB, free: 169 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003861/1.441, allocations: 1.201 MB / 0.8036 GB, free: 169 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (159): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(66,7.7%) 22} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004056/1.442, allocations: 169.7 kB / 0.8038 GB, free: 168.9 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0191/1.461, allocations: 7.7 MB / 0.8113 GB, free: 168.1 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.974e-06/1.461, allocations: 3.75 kB / 0.8113 GB, free: 168.1 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01308/1.474, allocations: 5.103 MB / 0.8163 GB, free: 167.4 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003698/1.478, allocations: 273.4 kB / 0.8166 GB, free: 167.4 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01072/1.489, allocations: 6.484 MB / 0.8229 GB, free: 164.4 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001224/1.49, allocations: 1.823 MB / 0.8247 GB, free: 163.6 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0012/1.491, allocations: 259.1 kB / 0.8249 GB, free: 163.6 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005701/1.492, allocations: 167 kB / 0.8251 GB, free: 163.6 MB / 0.573 GB Notification: Performance of SimCode: time 7.11e-07/1.492, allocations: 0 / 0.8251 GB, free: 163.6 MB / 0.573 GB Notification: Performance of Templates: time 0.07656/1.568, allocations: 57.42 MB / 0.8812 GB, free: 134.1 MB / 0.573 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)