Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.00129/0.00129, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.422/1.422, allocations: 222.9 MB / 238.8 MB, free: 4.738 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.001669/0.001669, allocations: 184.5 kB / 289.1 MB, free: 2.492 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5557/0.5557, allocations: 91.89 MB / 431.2 MB, free: 9.406 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001763/0.001763, allocations: 75.88 kB / 0.5012 GB, free: 8.145 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4086/0.4104, allocations: 71.26 MB / 0.5708 GB, free: 36.47 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.01164/0.4221, allocations: 14.65 MB / 0.5851 GB, free: 26.81 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009428/0.4316, allocations: 3.683 MB / 0.5887 GB, free: 24.17 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004397/0.436, allocations: 32.03 kB / 0.5887 GB, free: 24.17 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002291/0.4384, allocations: 432.4 kB / 0.5891 GB, free: 24 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006/0.4444, allocations: 1.259 MB / 0.5904 GB, free: 23.16 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004134/0.4486, allocations: 1.415 MB / 0.5917 GB, free: 22.38 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007157/0.4558, allocations: 3.606 MB / 0.5953 GB, free: 20.61 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002218/0.458, allocations: 0.8027 MB / 0.5961 GB, free: 20.18 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003302/0.4613, allocations: 1.423 MB / 0.5974 GB, free: 19.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003735/0.4651, allocations: 1.911 MB / 0.5993 GB, free: 18.61 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001726/0.4669, allocations: 179 kB / 0.5995 GB, free: 18.61 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002697/0.4696, allocations: 311.1 kB / 0.5998 GB, free: 18.57 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001637/0.4712, allocations: 0.6773 MB / 0.6004 GB, free: 18.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004162/0.4754, allocations: 1.545 MB / 0.6019 GB, free: 17.15 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00683/0.4823, allocations: 3.872 MB / 0.6057 GB, free: 15.39 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.852e-06/0.4823, allocations: 1.375 kB / 0.6057 GB, free: 15.39 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.4823, allocations: 0 / 0.6057 GB, free: 15.39 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002474/0.4826, allocations: 0 / 0.6057 GB, free: 15.39 MB / 430.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.03307/0.5156, allocations: 6.678 MB / 0.6122 GB, free: 12.75 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.768e-05/0.5157, allocations: 9.344 kB / 0.6123 GB, free: 12.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01666/0.5324, allocations: 2.278 MB / 0.6145 GB, free: 12.3 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00714/0.5396, allocations: 1.913 MB / 0.6164 GB, free: 11.12 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009759/0.5406, allocations: 0.7281 MB / 0.6171 GB, free: 10.47 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001684/0.5423, allocations: 223.4 kB / 0.6173 GB, free: 10.39 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01345/0.5558, allocations: 3.056 MB / 0.6203 GB, free: 9.23 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001436/0.556, allocations: 0 / 0.6203 GB, free: 9.23 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001227/0.5572, allocations: 86.66 kB / 0.6203 GB, free: 9.164 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000117/0.5574, allocations: 49.91 kB / 0.6204 GB, free: 9.164 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01121/0.5686, allocations: 2.8 MB / 0.6231 GB, free: 8.215 MB / 430.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.02555/0.5942, allocations: 9.969 MB / 0.6329 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01163/0.6059, allocations: 4.235 MB / 0.637 GB, free: 10.14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004672/0.6106, allocations: 1.979 MB / 0.6389 GB, free: 8.152 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005538/0.6112, allocations: 37.97 kB / 0.639 GB, free: 8.117 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00594/0.6171, allocations: 2.258 MB / 0.6412 GB, free: 5.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=250): time 8.386e-06/0.6172, allocations: 0 / 0.6412 GB, free: 5.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=250): time 0.1272/0.7444, allocations: 28.82 MB / 0.6693 GB, free: 8.898 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/0.7445, allocations: 184.2 kB / 0.6695 GB, free: 8.68 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005092/0.7496, allocations: 2.329 MB / 0.6718 GB, free: 6.332 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001039/0.7507, allocations: 73.69 kB / 0.6718 GB, free: 6.254 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001198/0.7519, allocations: 1.176 MB / 0.673 GB, free: 5.066 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002022/0.7539, allocations: 0.8819 MB / 0.6738 GB, free: 4.172 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003055/0.757, allocations: 0.5738 MB / 0.6744 GB, free: 3.59 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.7571, allocations: 305.1 kB / 0.6747 GB, free: 3.289 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005051/0.7622, allocations: 1.986 MB / 0.6766 GB, free: 1.301 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005357/0.7676, allocations: 2.354 MB / 0.6789 GB, free: 14.86 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05906/0.8267, allocations: 14.39 MB / 0.693 GB, free: 240 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.867e-05/0.8267, allocations: 7.938 kB / 0.693 GB, free: 232 kB / 494.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.04645/0.8732, allocations: 12.6 MB / 0.7053 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001132/0.8733, allocations: 114.8 kB / 0.7054 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.083e-05/0.8734, allocations: 8 kB / 0.7054 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01922/0.8926, allocations: 5.438 MB / 0.7107 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003371/0.896, allocations: 0.5734 MB / 0.7113 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0628/0.9589, allocations: 21.75 MB / 0.7325 GB, free: 7.492 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005456/0.9643, allocations: 493 kB / 0.733 GB, free: 7.008 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009994/0.9654, allocations: 124 kB / 0.7331 GB, free: 6.887 MB / 0.5294 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.002503/0.9679, allocations: 0.5365 MB / 0.7336 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001361/0.9693, allocations: 304.2 kB / 0.7339 GB, free: 6.031 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04149/1.011, allocations: 11.95 MB / 0.7456 GB, free: 9.984 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.215e-05/1.011, allocations: 28 kB / 0.7456 GB, free: 9.957 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-05/1.011, allocations: 16 kB / 0.7456 GB, free: 9.941 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.584e-05/1.011, allocations: 15.95 kB / 0.7457 GB, free: 9.926 MB / 0.545 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.05299/1.064, allocations: 15.6 MB / 0.7609 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.481e-05/1.064, allocations: 0 / 0.7609 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002034/1.066, allocations: 247.7 kB / 0.7611 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01954/1.086, allocations: 5.299 MB / 0.7663 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00111/1.087, allocations: 47.98 kB / 0.7663 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3846/1.472, allocations: 22.67 MB / 0.7885 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.165e-06/1.472, allocations: 1.531 kB / 0.7885 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04957/1.521, allocations: 14.34 MB / 0.8025 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001496/1.523, allocations: 414.2 kB / 0.8029 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008457/1.524, allocations: 48.31 kB / 0.8029 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003256/1.527, allocations: 300.2 kB / 0.8032 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002566/1.529, allocations: 0.5691 MB / 0.8038 GB, free: 156.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002391/1.53, allocations: 67.39 kB / 0.8038 GB, free: 156.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002554/1.532, allocations: 1.545 MB / 0.8053 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.61e-07/1.532, allocations: 0 / 0.8053 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004936/1.537, allocations: 1.195 MB / 0.8065 GB, free: 155.3 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.0005048/1.538, allocations: 170.3 kB / 0.8067 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01798/1.556, allocations: 6.691 MB / 0.8132 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/1.556, allocations: 0 / 0.8132 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01286/1.569, allocations: 4.424 MB / 0.8175 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003155/1.572, allocations: 265.5 kB / 0.8178 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/1.582, allocations: 6.628 MB / 0.8243 GB, free: 144.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001093/1.583, allocations: 1.821 MB / 0.826 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001352/1.585, allocations: 270.4 kB / 0.8263 GB, free: 142.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006001/1.585, allocations: 160.4 kB / 0.8264 GB, free: 142.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.613e-06/1.585, allocations: 4 kB / 0.8264 GB, free: 142.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.08803/1.674, allocations: 59.95 MB / 0.885 GB, free: 83.66 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)