Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 106.6 kB / 16.41 MB, free: 6.496 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.504/1.504, allocations: 222.9 MB / 240.1 MB, free: 4.57 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.001845/0.001845, allocations: 184.5 kB / 290.4 MB, free: 2.289 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5899/0.5899, allocations: 78.54 MB / 419.1 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002726/0.002726, allocations: 83.88 kB / 0.5544 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4149/0.4176, allocations: 68.17 MB / 0.621 GB, free: 9.922 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.01183/0.4295, allocations: 13.82 MB / 0.6344 GB, free: 12.52 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009841/0.4394, allocations: 3.515 MB / 0.6379 GB, free: 8.996 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003525/0.443, allocations: 28 kB / 0.6379 GB, free: 8.969 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002164/0.4452, allocations: 0.5731 MB / 0.6385 GB, free: 8.387 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006867/0.4521, allocations: 1.59 MB / 0.64 GB, free: 6.797 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004945/0.457, allocations: 1.526 MB / 0.6415 GB, free: 5.293 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007673/0.4647, allocations: 3.819 MB / 0.6452 GB, free: 1.457 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00194/0.4667, allocations: 0.8974 MB / 0.6461 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003207/0.47, allocations: 1.564 MB / 0.6476 GB, free: 14.94 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003377/0.4734, allocations: 2.007 MB / 0.6496 GB, free: 12.92 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009851/0.4744, allocations: 296 kB / 0.6499 GB, free: 12.63 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001335/0.4757, allocations: 439.9 kB / 0.6503 GB, free: 12.2 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008038/0.4765, allocations: 0.7779 MB / 0.6511 GB, free: 11.42 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002285/0.4788, allocations: 1.658 MB / 0.6527 GB, free: 9.754 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006395/0.4852, allocations: 4.078 MB / 0.6567 GB, free: 5.66 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.4853, allocations: 0 / 0.6567 GB, free: 5.66 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4853, allocations: 0 / 0.6567 GB, free: 5.66 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001563/0.4855, allocations: 0 / 0.6567 GB, free: 5.66 MB / 462.1 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.02604/0.5115, allocations: 6.779 MB / 0.6633 GB, free: 14.78 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.5116, allocations: 8.031 kB / 0.6633 GB, free: 14.77 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01587/0.5275, allocations: 2.296 MB / 0.6655 GB, free: 12.47 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004942/0.5324, allocations: 1.936 MB / 0.6674 GB, free: 10.47 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008805/0.5334, allocations: 0.7253 MB / 0.6681 GB, free: 9.629 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006364/0.534, allocations: 216 kB / 0.6683 GB, free: 9.418 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007696/0.5417, allocations: 3.063 MB / 0.6713 GB, free: 6.277 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.732e-05/0.5418, allocations: 0 / 0.6713 GB, free: 6.277 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002652/0.5421, allocations: 87.94 kB / 0.6714 GB, free: 6.191 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.725e-05/0.5421, allocations: 48 kB / 0.6715 GB, free: 6.145 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006949/0.5491, allocations: 2.8 MB / 0.6742 GB, free: 3.328 MB / 478.1 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.02246/0.5716, allocations: 9.914 MB / 0.6839 GB, free: 8.992 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01172/0.5833, allocations: 4.227 MB / 0.688 GB, free: 4.629 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004948/0.5883, allocations: 1.979 MB / 0.6899 GB, free: 2.645 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003583/0.5887, allocations: 45.95 kB / 0.69 GB, free: 2.598 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005272/0.594, allocations: 2.255 MB / 0.6922 GB, free: 328 kB / 494.1 MB Notification: Performance of pre-optimization done (n=250): time 4.879e-06/0.594, allocations: 0 / 0.6922 GB, free: 328 kB / 494.1 MB Notification: Performance of matching and sorting (n=250): time 0.1251/0.7191, allocations: 28.83 MB / 0.7203 GB, free: 3.375 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001515/0.7193, allocations: 184.2 kB / 0.7205 GB, free: 3.16 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00405/0.7233, allocations: 2.329 MB / 0.7228 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006463/0.724, allocations: 73.7 kB / 0.7229 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001095/0.7251, allocations: 1.205 MB / 0.724 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001298/0.7264, allocations: 0.9179 MB / 0.7249 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00123/0.7276, allocations: 0.57 MB / 0.7255 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.7278, allocations: 313 kB / 0.7258 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004677/0.7325, allocations: 1.982 MB / 0.7277 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005233/0.7377, allocations: 2.358 MB / 0.73 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05831/0.7961, allocations: 14.37 MB / 0.7441 GB, free: 10.67 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.849e-05/0.7961, allocations: 7.875 kB / 0.7441 GB, free: 10.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=425) (initialization): time 0.04571/0.8419, allocations: 12.63 MB / 0.7564 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001541/0.842, allocations: 114.8 kB / 0.7565 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.288e-05/0.8421, allocations: 11.98 kB / 0.7565 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02002/0.8621, allocations: 5.43 MB / 0.7618 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003268/0.8654, allocations: 0.5773 MB / 0.7624 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4284/1.294, allocations: 23.66 MB / 0.7855 GB, free: 121.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005411/1.299, allocations: 0.4907 MB / 0.786 GB, free: 121.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008253/1.3, allocations: 118.4 kB / 0.7861 GB, free: 121.4 MB / 0.5606 GB 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.001671/1.302, allocations: 0.5357 MB / 0.7866 GB, free: 121 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008647/1.303, allocations: 325.5 kB / 0.7869 GB, free: 120.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03676/1.34, allocations: 11.94 MB / 0.7986 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.461e-05/1.34, allocations: 27.53 kB / 0.7986 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.274e-05/1.34, allocations: 19.72 kB / 0.7986 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-05/1.34, allocations: 15.33 kB / 0.7986 GB, free: 118.4 MB / 0.5606 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.04173/1.381, allocations: 15.59 MB / 0.8139 GB, free: 106.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.233e-05/1.382, allocations: 0 / 0.8139 GB, free: 106.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001636/1.383, allocations: 247.7 kB / 0.8141 GB, free: 106 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01606/1.399, allocations: 5.279 MB / 0.8193 GB, free: 100.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000728/1.4, allocations: 55.98 kB / 0.8193 GB, free: 100.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05258/1.453, allocations: 24.96 MB / 0.8437 GB, free: 75.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/1.453, allocations: 0 / 0.8437 GB, free: 75.32 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0403/1.493, allocations: 14.36 MB / 0.8577 GB, free: 60.85 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001349/1.494, allocations: 429.7 kB / 0.8581 GB, free: 60.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00121/1.496, allocations: 55.94 kB / 0.8582 GB, free: 60.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003352/1.499, allocations: 300.3 kB / 0.8585 GB, free: 60.09 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002594/1.502, allocations: 0.5763 MB / 0.859 GB, free: 59.51 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003328/1.502, allocations: 63.98 kB / 0.8591 GB, free: 59.45 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00243/1.504, allocations: 1.543 MB / 0.8606 GB, free: 57.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.9e-07/1.504, allocations: 4 kB / 0.8606 GB, free: 57.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005353/1.51, allocations: 1.198 MB / 0.8618 GB, free: 56.73 MB / 0.5606 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.0007875/1.511, allocations: 178.9 kB / 0.8619 GB, free: 56.55 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01822/1.529, allocations: 6.808 MB / 0.8686 GB, free: 49.66 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/1.529, allocations: 0 / 0.8686 GB, free: 49.66 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01216/1.541, allocations: 4.442 MB / 0.8729 GB, free: 45.15 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003015/1.544, allocations: 281.2 kB / 0.8732 GB, free: 44.88 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009997/1.554, allocations: 5.58 MB / 0.8786 GB, free: 39.28 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001163/1.555, allocations: 1.819 MB / 0.8804 GB, free: 37.43 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001298/1.557, allocations: 270.7 kB / 0.8807 GB, free: 37.17 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005672/1.557, allocations: 171.4 kB / 0.8808 GB, free: 37 MB / 0.5606 GB Notification: Performance of SimCode: time 9.32e-07/1.557, allocations: 0 / 0.8808 GB, free: 37 MB / 0.5606 GB Notification: Performance of Templates: time 0.1072/1.664, allocations: 66.8 MB / 0.9461 GB, free: 2.234 MB / 0.5919 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)