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.001397/0.001397, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.548/1.548, allocations: 222.9 MB / 239 MB, free: 4.754 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.001558/0.001558, allocations: 196.5 kB / 289.3 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.5841/0.5841, allocations: 92.61 MB / 432 MB, free: 8.762 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002347/0.002347, allocations: 79.86 kB / 0.5022 GB, free: 7.297 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.401/0.4034, allocations: 71.4 MB / 0.5719 GB, free: 36.37 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.01091/0.4144, allocations: 14.65 MB / 0.5862 GB, free: 26.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008926/0.4234, allocations: 3.657 MB / 0.5898 GB, free: 23.79 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004464/0.4279, allocations: 37.72 kB / 0.5898 GB, free: 23.79 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002688/0.4306, allocations: 436.8 kB / 0.5903 GB, free: 23.62 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007977/0.4386, allocations: 1.235 MB / 0.5915 GB, free: 22.8 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004212/0.4429, allocations: 1.431 MB / 0.5929 GB, free: 22 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006942/0.4498, allocations: 3.781 MB / 0.5966 GB, free: 20.11 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001799/0.4517, allocations: 0.9052 MB / 0.5974 GB, free: 19.63 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003275/0.4549, allocations: 1.569 MB / 0.599 GB, free: 18.83 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00263/0.4576, allocations: 2.004 MB / 0.6009 GB, free: 17.85 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006771/0.4583, allocations: 294.1 kB / 0.6012 GB, free: 17.85 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00126/0.4595, allocations: 441.2 kB / 0.6016 GB, free: 17.81 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005935/0.4601, allocations: 0.7771 MB / 0.6024 GB, free: 17.29 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001629/0.4618, allocations: 1.679 MB / 0.604 GB, free: 16.15 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005289/0.4671, allocations: 3.987 MB / 0.6079 GB, free: 14.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.4671, allocations: 8 kB / 0.6079 GB, free: 14.31 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.955e-06/0.4671, allocations: 1.281 kB / 0.6079 GB, free: 14.31 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001558/0.4673, allocations: 0 / 0.6079 GB, free: 14.31 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.02803/0.4953, allocations: 6.682 MB / 0.6145 GB, free: 11.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.4954, allocations: 7.625 kB / 0.6145 GB, free: 11.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01647/0.5119, allocations: 2.279 MB / 0.6167 GB, free: 11.21 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006454/0.5184, allocations: 1.902 MB / 0.6185 GB, free: 10.05 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008986/0.5193, allocations: 0.727 MB / 0.6193 GB, free: 9.391 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001059/0.5204, allocations: 224.5 kB / 0.6195 GB, free: 9.312 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008034/0.5284, allocations: 3.052 MB / 0.6225 GB, free: 8.156 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.19e-05/0.5285, allocations: 0 / 0.6225 GB, free: 8.156 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000291/0.5288, allocations: 89.89 kB / 0.6225 GB, free: 8.086 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.787e-05/0.5288, allocations: 49.72 kB / 0.6226 GB, free: 8.086 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006482/0.5353, allocations: 2.807 MB / 0.6253 GB, free: 6.809 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.0202/0.5556, allocations: 9.966 MB / 0.6351 GB, free: 12.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01209/0.5677, allocations: 4.231 MB / 0.6392 GB, free: 8.191 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005584/0.5733, allocations: 1.987 MB / 0.6411 GB, free: 6.199 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006268/0.574, allocations: 37.97 kB / 0.6412 GB, free: 6.164 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006293/0.5803, allocations: 2.252 MB / 0.6434 GB, free: 3.891 MB / 446.1 MB Notification: Performance of pre-optimization done (n=250): time 6.142e-06/0.5804, allocations: 0 / 0.6434 GB, free: 3.891 MB / 446.1 MB Notification: Performance of matching and sorting (n=250): time 0.1308/0.7112, allocations: 28.82 MB / 0.6715 GB, free: 6.945 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001774/0.7114, allocations: 184.2 kB / 0.6717 GB, free: 6.727 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006035/0.7175, allocations: 2.333 MB / 0.674 GB, free: 4.375 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001093/0.7186, allocations: 69.7 kB / 0.674 GB, free: 4.301 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001428/0.72, allocations: 1.176 MB / 0.6752 GB, free: 3.113 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002159/0.7222, allocations: 0.8897 MB / 0.6761 GB, free: 2.211 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003056/0.7253, allocations: 0.5699 MB / 0.6766 GB, free: 1.633 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.7254, allocations: 301.1 kB / 0.6769 GB, free: 1.336 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004768/0.7302, allocations: 1.99 MB / 0.6788 GB, free: 15.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005054/0.7353, allocations: 2.354 MB / 0.6811 GB, free: 12.89 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.06183/0.7971, allocations: 14.42 MB / 0.6952 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-05/0.7972, allocations: 7.938 kB / 0.6952 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of matching and sorting (n=425) (initialization): time 0.04845/0.8457, allocations: 12.61 MB / 0.7075 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001299/0.8458, allocations: 114.8 kB / 0.7077 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.048e-05/0.8459, allocations: 8 kB / 0.7077 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02038/0.8662, allocations: 5.438 MB / 0.713 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003379/0.8697, allocations: 0.5734 MB / 0.7135 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06522/0.9349, allocations: 23.67 MB / 0.7367 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005645/0.9406, allocations: 0.493 MB / 0.7371 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006861/0.9413, allocations: 120 kB / 0.7372 GB, free: 2.945 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.001584/0.9429, allocations: 0.5291 MB / 0.7378 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009088/0.9438, allocations: 300.2 kB / 0.7381 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04168/0.9855, allocations: 11.95 MB / 0.7497 GB, free: 6.055 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.531e-05/0.9856, allocations: 24 kB / 0.7497 GB, free: 6.031 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.83e-05/0.9857, allocations: 20 kB / 0.7498 GB, free: 6.012 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.505e-05/0.9857, allocations: 15.89 kB / 0.7498 GB, free: 5.996 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.04934/1.035, allocations: 15.59 MB / 0.765 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.125e-05/1.035, allocations: 0 / 0.765 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001923/1.037, allocations: 255.6 kB / 0.7652 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01885/1.056, allocations: 5.291 MB / 0.7704 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009056/1.057, allocations: 59.92 kB / 0.7705 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3815/1.438, allocations: 24.94 MB / 0.7948 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.439, allocations: 1.062 kB / 0.7948 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04895/1.487, allocations: 14.34 MB / 0.8088 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001246/1.489, allocations: 411.6 kB / 0.8092 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008162/1.49, allocations: 47.66 kB / 0.8093 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00332/1.493, allocations: 303.2 kB / 0.8096 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002456/1.495, allocations: 0.5785 MB / 0.8101 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002733/1.496, allocations: 65.88 kB / 0.8102 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002706/1.498, allocations: 1.541 MB / 0.8117 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.8e-07/1.498, allocations: 3.938 kB / 0.8117 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005098/1.503, allocations: 1.201 MB / 0.8129 GB, free: 151.2 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.0004677/1.504, allocations: 165.8 kB / 0.813 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01977/1.524, allocations: 6.903 MB / 0.8198 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/1.524, allocations: 0 / 0.8198 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01292/1.537, allocations: 4.429 MB / 0.8241 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00305/1.54, allocations: 275.2 kB / 0.8244 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01011/1.55, allocations: 6.63 MB / 0.8308 GB, free: 138.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001191/1.551, allocations: 1.817 MB / 0.8326 GB, free: 137 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001428/1.553, allocations: 262.8 kB / 0.8329 GB, free: 136.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00062/1.553, allocations: 179.4 kB / 0.833 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of SimCode: time 2.074e-06/1.553, allocations: 4 kB / 0.833 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.08552/1.639, allocations: 63.41 MB / 0.895 GB, free: 73.18 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)