Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001558/0.001559, allocations: 103.5 kB / 16.35 MB, free: 6.289 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.387/1.387, allocations: 222.9 MB / 240 MB, free: 4.594 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.001505/0.001504, allocations: 191.7 kB / 290.3 MB, free: 2.312 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5498/0.5498, allocations: 78.53 MB / 419 MB, free: 3.219 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001743/0.001743, allocations: 76.16 kB / 498.9 MB, free: 5.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1542, allocations: 68.18 MB / 0.5538 GB, free: 1.531 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.3097/0.464, allocations: 13.58 MB / 0.567 GB, free: 31.6 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01031/0.4744, allocations: 3.459 MB / 0.5704 GB, free: 30.46 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004185/0.4786, allocations: 30.16 kB / 0.5704 GB, free: 30.46 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001872/0.4805, allocations: 0.5532 MB / 0.571 GB, free: 30.17 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005437/0.486, allocations: 1.414 MB / 0.5724 GB, free: 29.45 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003483/0.4895, allocations: 1.505 MB / 0.5738 GB, free: 29.27 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005797/0.4953, allocations: 3.714 MB / 0.5775 GB, free: 28.43 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001249/0.4965, allocations: 0.8963 MB / 0.5783 GB, free: 28.23 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00228/0.4988, allocations: 1.526 MB / 0.5798 GB, free: 27.81 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001909/0.5007, allocations: 1.952 MB / 0.5817 GB, free: 27.21 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000424/0.5012, allocations: 285.6 kB / 0.582 GB, free: 27.21 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009069/0.5021, allocations: 430.7 kB / 0.5824 GB, free: 27.16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005676/0.5027, allocations: 0.765 MB / 0.5832 GB, free: 26.65 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001287/0.504, allocations: 1.634 MB / 0.5848 GB, free: 25.54 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003928/0.5079, allocations: 3.969 MB / 0.5886 GB, free: 23.71 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.5079, allocations: 0 / 0.5886 GB, free: 23.71 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.5079, allocations: 1.312 kB / 0.5886 GB, free: 23.71 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.358e-05/0.508, allocations: 0 / 0.5886 GB, free: 23.71 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: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.02676/0.5348, allocations: 6.585 MB / 0.5951 GB, free: 21.08 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.686e-05/0.5349, allocations: 10.31 kB / 0.5951 GB, free: 21.08 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01647/0.5513, allocations: 2.272 MB / 0.5973 GB, free: 20.64 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007016/0.5584, allocations: 1.881 MB / 0.5991 GB, free: 19.48 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001081/0.5595, allocations: 0.7286 MB / 0.5998 GB, free: 18.82 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001446/0.561, allocations: 210.1 kB / 0.6 GB, free: 18.76 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009396/0.5704, allocations: 3.027 MB / 0.603 GB, free: 17.61 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.497e-05/0.5705, allocations: 0.5 kB / 0.603 GB, free: 17.61 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002575/0.5707, allocations: 86.84 kB / 0.6031 GB, free: 17.54 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.232e-05/0.5708, allocations: 49.5 kB / 0.6031 GB, free: 17.54 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006563/0.5774, allocations: 2.789 MB / 0.6059 GB, free: 16.6 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.02204/0.5994, allocations: 9.793 MB / 0.6154 GB, free: 11.13 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01118/0.6106, allocations: 4.187 MB / 0.6195 GB, free: 8.887 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00466/0.6154, allocations: 1.968 MB / 0.6214 GB, free: 7.875 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003313/0.6157, allocations: 46.47 kB / 0.6215 GB, free: 7.859 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004719/0.6204, allocations: 2.221 MB / 0.6236 GB, free: 6.582 MB / 430.1 MB Notification: Performance of pre-optimization done (n=247): time 5.219e-06/0.6205, allocations: 0 / 0.6236 GB, free: 6.582 MB / 430.1 MB Notification: Performance of matching and sorting (n=247): time 0.1163/0.7367, allocations: 29.47 MB / 0.6524 GB, free: 9.047 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/0.7369, allocations: 188.3 kB / 0.6526 GB, free: 8.824 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003797/0.7407, allocations: 2.273 MB / 0.6548 GB, free: 6.531 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008157/0.7415, allocations: 69.7 kB / 0.6549 GB, free: 6.457 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009583/0.7425, allocations: 1.179 MB / 0.656 GB, free: 5.266 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001195/0.7437, allocations: 0.8665 MB / 0.6569 GB, free: 4.387 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00115/0.7448, allocations: 0.5617 MB / 0.6574 GB, free: 3.816 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.745, allocations: 305.1 kB / 0.6577 GB, free: 3.516 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004108/0.7491, allocations: 1.947 MB / 0.6596 GB, free: 1.566 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004568/0.7536, allocations: 2.317 MB / 0.6619 GB, free: 15.16 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05199/0.8057, allocations: 13.99 MB / 0.6756 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.648e-05/0.8057, allocations: 4 kB / 0.6756 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of matching and sorting (n=413) (initialization): time 0.03736/0.8431, allocations: 12.29 MB / 0.6876 GB, free: 4.617 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001004/0.8432, allocations: 110.8 kB / 0.6877 GB, free: 4.484 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.41e-05/0.8433, allocations: 11.94 kB / 0.6877 GB, free: 4.473 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0176/0.8609, allocations: 5.319 MB / 0.6929 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003097/0.864, allocations: 0.5578 MB / 0.6934 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05784/0.9219, allocations: 23.49 MB / 0.7164 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004815/0.9267, allocations: 489.1 kB / 0.7168 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000391/0.9271, allocations: 116 kB / 0.7169 GB, free: 6.359 MB / 0.5137 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 order3_1.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 (325): * Single equations (assignments): 320 * 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,26)} Notification: Performance of prepare postOptimizeDAE: time 0.001365/0.9285, allocations: 0.5329 MB / 0.7175 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006584/0.9291, allocations: 296.3 kB / 0.7177 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03761/0.9668, allocations: 11.9 MB / 0.7294 GB, free: 9.57 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.471e-05/0.9668, allocations: 24.88 kB / 0.7294 GB, free: 9.547 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.834e-05/0.9669, allocations: 20.56 kB / 0.7294 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.847e-05/0.967, allocations: 15.95 kB / 0.7294 GB, free: 9.512 MB / 0.5294 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.04285/1.01, allocations: 15.49 MB / 0.7445 GB, free: 9.859 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.682e-05/1.01, allocations: 4 kB / 0.7445 GB, free: 9.855 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001674/1.012, allocations: 247.6 kB / 0.7448 GB, free: 9.613 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01671/1.028, allocations: 5.277 MB / 0.7499 GB, free: 4.324 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000732/1.029, allocations: 57.77 kB / 0.75 GB, free: 4.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3263/1.355, allocations: 24.93 MB / 0.7743 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/1.355, allocations: 0 / 0.7743 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04168/1.397, allocations: 14.26 MB / 0.7883 GB, free: 163.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001385/1.399, allocations: 409.1 kB / 0.7886 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007099/1.399, allocations: 46.83 kB / 0.7887 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002895/1.402, allocations: 300.2 kB / 0.789 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002161/1.404, allocations: 0.5867 MB / 0.7895 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002406/1.405, allocations: 64.02 kB / 0.7896 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002606/1.407, allocations: 1.508 MB / 0.7911 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.91e-07/1.407, allocations: 0 / 0.7911 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004265/1.411, allocations: 1.171 MB / 0.7922 GB, free: 163.2 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,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 (156): * Single equations (assignments): 151 * 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.0004887/1.412, allocations: 172.6 kB / 0.7924 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01876/1.431, allocations: 6.7 MB / 0.7989 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/1.431, allocations: 2.594 kB / 0.7989 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01396/1.445, allocations: 4.396 MB / 0.8032 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002734/1.448, allocations: 270.6 kB / 0.8035 GB, free: 160.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/1.458, allocations: 5.259 MB / 0.8086 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001848/1.46, allocations: 1.808 MB / 0.8104 GB, free: 157.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00131/1.461, allocations: 263.2 kB / 0.8106 GB, free: 157.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006246/1.462, allocations: 173.9 kB / 0.8108 GB, free: 157.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.032e-06/1.462, allocations: 1.562 kB / 0.8108 GB, free: 157.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.09332/1.555, allocations: 65.09 MB / 0.8744 GB, free: 105.3 MB / 0.5606 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)