Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001589/0.001589, allocations: 182 kB / 15.98 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.469/1.469, allocations: 205.1 MB / 221.8 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001202/0.001202, allocations: 97.94 kB / 269.2 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08021/0.08021, allocations: 12.58 MB / 329.1 MB, free: 12.4 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3237/0.3237, allocations: 78.51 MB / 457.7 MB, free: 13.73 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 105.9 kB / 0.5254 GB, free: 19.68 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1754, allocations: 68.13 MB / 0.592 GB, free: 15.64 MB / 394.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.01466/0.1901, allocations: 14.66 MB / 0.6063 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.009706/0.1999, allocations: 3.625 MB / 0.6098 GB, free: 13.26 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00437/0.2043, allocations: 28 kB / 0.6099 GB, free: 13.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00284/0.2072, allocations: 449.1 kB / 0.6103 GB, free: 12.79 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007211/0.2145, allocations: 1.237 MB / 0.6115 GB, free: 11.56 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004699/0.2192, allocations: 1.429 MB / 0.6129 GB, free: 10.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.006725/0.2259, allocations: 3.644 MB / 0.6165 GB, free: 6.496 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002103/0.2281, allocations: 0.806 MB / 0.6172 GB, free: 5.637 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003198/0.2313, allocations: 1.434 MB / 0.6186 GB, free: 4.195 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00375/0.2351, allocations: 1.901 MB / 0.6205 GB, free: 2.285 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001521/0.2366, allocations: 180 kB / 0.6207 GB, free: 2.109 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002094/0.2387, allocations: 319.8 kB / 0.621 GB, free: 1.797 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001417/0.2402, allocations: 0.6724 MB / 0.6216 GB, free: 1.121 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003064/0.2433, allocations: 1.541 MB / 0.6231 GB, free: 15.57 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00638/0.2497, allocations: 3.88 MB / 0.6269 GB, free: 11.68 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.2497, allocations: 4 kB / 0.6269 GB, free: 11.67 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.2498, allocations: 0 / 0.6269 GB, free: 11.67 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002252/0.25, allocations: 0 / 0.6269 GB, free: 11.67 MB / 426.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.02741/0.2774, allocations: 6.676 MB / 0.6334 GB, free: 4.898 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.847e-05/0.2775, allocations: 15.98 kB / 0.6335 GB, free: 4.883 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01536/0.2929, allocations: 2.275 MB / 0.6357 GB, free: 2.602 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00578/0.2987, allocations: 1.91 MB / 0.6376 GB, free: 0.625 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.2819/0.5807, allocations: 0.7241 MB / 0.6383 GB, free: 47.67 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001493/0.5823, allocations: 214.1 kB / 0.6385 GB, free: 47.67 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01201/0.5943, allocations: 3.055 MB / 0.6414 GB, free: 46.93 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001154/0.5945, allocations: 0 / 0.6414 GB, free: 46.93 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008072/0.5953, allocations: 90.25 kB / 0.6415 GB, free: 46.86 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001068/0.5954, allocations: 50.84 kB / 0.6416 GB, free: 46.86 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008689/0.6041, allocations: 2.8 MB / 0.6443 GB, free: 45.93 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.02445/0.6286, allocations: 9.962 MB / 0.654 GB, free: 40.88 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01269/0.6413, allocations: 4.218 MB / 0.6582 GB, free: 39.2 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005315/0.6467, allocations: 1.99 MB / 0.6601 GB, free: 38.18 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000587/0.6473, allocations: 43 kB / 0.6601 GB, free: 38.17 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006251/0.6536, allocations: 2.25 MB / 0.6623 GB, free: 36.88 MB / 426.7 MB Notification: Performance of pre-optimization done (n=250): time 1.488e-05/0.6537, allocations: 0 / 0.6623 GB, free: 36.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=250): time 0.1229/0.7766, allocations: 28.81 MB / 0.6905 GB, free: 13.54 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.551e-05/0.7767, allocations: 188.1 kB / 0.6907 GB, free: 13.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003368/0.7801, allocations: 2.335 MB / 0.6929 GB, free: 10.98 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008331/0.7809, allocations: 73.7 kB / 0.693 GB, free: 10.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006562/0.7816, allocations: 1.179 MB / 0.6942 GB, free: 9.719 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000963/0.7826, allocations: 0.8795 MB / 0.695 GB, free: 8.848 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009624/0.7836, allocations: 0.5737 MB / 0.6956 GB, free: 8.266 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 4.205e-05/0.7836, allocations: 308.8 kB / 0.6959 GB, free: 7.965 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003725/0.7873, allocations: 1.986 MB / 0.6978 GB, free: 5.977 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004121/0.7915, allocations: 2.362 MB / 0.7001 GB, free: 3.523 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05635/0.8478, allocations: 14.37 MB / 0.7142 GB, free: 4.934 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.675e-05/0.8479, allocations: 0 / 0.7142 GB, free: 4.934 MB / 442.7 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.04325/0.8912, allocations: 12.62 MB / 0.7265 GB, free: 8.254 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001103/0.8913, allocations: 114.8 kB / 0.7266 GB, free: 8.117 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-05/0.8914, allocations: 8 kB / 0.7266 GB, free: 8.109 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01929/0.9107, allocations: 5.429 MB / 0.7319 GB, free: 2.676 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003182/0.9139, allocations: 0.5773 MB / 0.7325 GB, free: 2.098 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05909/0.973, allocations: 21.76 MB / 0.7537 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005029/0.9781, allocations: 0.4892 MB / 0.7542 GB, free: 11.72 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004415/0.9785, allocations: 116 kB / 0.7543 GB, free: 11.61 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.001221/0.9798, allocations: 0.5342 MB / 0.7548 GB, free: 11.06 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006604/0.9804, allocations: 300.2 kB / 0.7551 GB, free: 10.76 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04105/1.021, allocations: 11.96 MB / 0.7668 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.172e-05/1.022, allocations: 24 kB / 0.7668 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.763e-05/1.022, allocations: 27.98 kB / 0.7668 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.287e-05/1.022, allocations: 11.95 kB / 0.7669 GB, free: 14.64 MB / 0.4948 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.04579/1.067, allocations: 15.58 MB / 0.7821 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.143e-05/1.068, allocations: 0 / 0.7821 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001725/1.069, allocations: 251.6 kB / 0.7823 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01892/1.088, allocations: 5.291 MB / 0.7875 GB, free: 9.312 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001081/1.089, allocations: 51.98 kB / 0.7875 GB, free: 9.262 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0555/1.145, allocations: 22.67 MB / 0.8097 GB, free: 2.156 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/1.145, allocations: 4 kB / 0.8097 GB, free: 2.152 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5778/1.723, allocations: 93.66 MB / 0.9011 GB, free: 164.4 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001092/1.724, allocations: 417.2 kB / 0.9015 GB, free: 164.1 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001205/1.725, allocations: 47.16 kB / 0.9016 GB, free: 164.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003923/1.729, allocations: 298.9 kB / 0.9019 GB, free: 164 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002641/1.732, allocations: 0.5629 MB / 0.9024 GB, free: 163.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005845/1.732, allocations: 66.97 kB / 0.9025 GB, free: 163.9 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002773/1.735, allocations: 1.548 MB / 0.904 GB, free: 163.3 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.5e-07/1.735, allocations: 0 / 0.904 GB, free: 163.3 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006771/1.742, allocations: 1.667 MB / 0.9056 GB, free: 163.1 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(66,22,7.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008122/1.743, allocations: 176.7 kB / 0.9058 GB, free: 163 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01871/1.761, allocations: 6.697 MB / 0.9123 GB, free: 160.6 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/1.761, allocations: 3.781 kB / 0.9123 GB, free: 160.6 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01362/1.775, allocations: 4.421 MB / 0.9166 GB, free: 158.2 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003656/1.779, allocations: 267.7 kB / 0.9169 GB, free: 158 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02231/1.801, allocations: 10.27 MB / 0.9269 GB, free: 148.8 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001884/1.803, allocations: 1.94 MB / 0.9288 GB, free: 147.3 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001421/1.804, allocations: 275 kB / 0.9291 GB, free: 147.1 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000648/1.805, allocations: 174.9 kB / 0.9293 GB, free: 146.9 MB / 0.573 GB Notification: Performance of SimCode: time 6.61e-07/1.805, allocations: 0 / 0.9293 GB, free: 146.9 MB / 0.573 GB Notification: Performance of Templates: time 0.1096/1.915, allocations: 88.98 MB / 1.016 GB, free: 60.04 MB / 0.573 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)