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.001349/0.001349, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.468/1.468, allocations: 222.9 MB / 240 MB, free: 4.508 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.00225/0.002249, allocations: 192.4 kB / 290.3 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.492/0.492, allocations: 78.53 MB / 419 MB, free: 3.145 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 75.89 kB / 498.9 MB, free: 5.645 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1619, allocations: 68.18 MB / 0.5538 GB, free: 1.422 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.2912/0.4531, allocations: 13.57 MB / 0.567 GB, free: 31.23 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008671/0.4618, allocations: 3.452 MB / 0.5704 GB, free: 30.12 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002846/0.4647, allocations: 33.81 kB / 0.5704 GB, free: 30.11 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001475/0.4662, allocations: 0.5578 MB / 0.571 GB, free: 29.83 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004465/0.4707, allocations: 1.413 MB / 0.5724 GB, free: 29.11 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003498/0.4742, allocations: 1.508 MB / 0.5738 GB, free: 28.92 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007005/0.4812, allocations: 3.715 MB / 0.5775 GB, free: 28.09 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001544/0.4828, allocations: 0.901 MB / 0.5783 GB, free: 27.88 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002571/0.4854, allocations: 1.524 MB / 0.5798 GB, free: 27.46 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001924/0.4873, allocations: 1.95 MB / 0.5817 GB, free: 26.93 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004156/0.4877, allocations: 286.1 kB / 0.582 GB, free: 26.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007963/0.4885, allocations: 432.7 kB / 0.5824 GB, free: 26.89 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000478/0.489, allocations: 0.764 MB / 0.5832 GB, free: 26.38 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00114/0.4902, allocations: 1.633 MB / 0.5848 GB, free: 25.27 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003359/0.4935, allocations: 3.965 MB / 0.5886 GB, free: 23.45 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.4936, allocations: 4 kB / 0.5886 GB, free: 23.44 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.4936, allocations: 3.938 kB / 0.5886 GB, free: 23.44 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.643e-05/0.4936, allocations: 3.188 kB / 0.5886 GB, free: 23.44 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.02341/0.5171, allocations: 6.576 MB / 0.5951 GB, free: 20.81 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.5171, allocations: 9.031 kB / 0.5951 GB, free: 20.81 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01548/0.5326, allocations: 2.273 MB / 0.5973 GB, free: 20.37 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005267/0.5379, allocations: 1.882 MB / 0.5991 GB, free: 19.21 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006521/0.5386, allocations: 0.7226 MB / 0.5998 GB, free: 18.55 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005152/0.5391, allocations: 211.7 kB / 0.6 GB, free: 18.49 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006411/0.5455, allocations: 3.031 MB / 0.603 GB, free: 17.34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.056e-05/0.5456, allocations: 5.188 kB / 0.603 GB, free: 17.33 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002214/0.5458, allocations: 85.69 kB / 0.6031 GB, free: 17.27 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.983e-05/0.5459, allocations: 49.91 kB / 0.6031 GB, free: 17.27 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005873/0.5518, allocations: 2.783 MB / 0.6059 GB, free: 16.32 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.01978/0.5716, allocations: 9.794 MB / 0.6154 GB, free: 10.86 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01058/0.5822, allocations: 4.191 MB / 0.6195 GB, free: 8.734 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004012/0.5862, allocations: 1.962 MB / 0.6214 GB, free: 7.727 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003199/0.5866, allocations: 44.52 kB / 0.6215 GB, free: 7.711 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004318/0.5909, allocations: 2.227 MB / 0.6236 GB, free: 6.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=247): time 4.488e-06/0.5909, allocations: 0 / 0.6236 GB, free: 6.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=247): time 0.1158/0.7067, allocations: 29.47 MB / 0.6524 GB, free: 8.91 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.7068, allocations: 184.2 kB / 0.6526 GB, free: 8.691 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003981/0.7108, allocations: 2.277 MB / 0.6548 GB, free: 6.395 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001008/0.7118, allocations: 73.7 kB / 0.6549 GB, free: 6.316 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00106/0.7129, allocations: 1.172 MB / 0.656 GB, free: 5.133 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001466/0.7144, allocations: 0.8665 MB / 0.6569 GB, free: 4.254 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001202/0.7156, allocations: 0.5617 MB / 0.6574 GB, free: 3.684 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.7157, allocations: 301.1 kB / 0.6577 GB, free: 3.387 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004071/0.7198, allocations: 1.951 MB / 0.6596 GB, free: 1.434 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004397/0.7242, allocations: 2.317 MB / 0.6619 GB, free: 15.02 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05194/0.7762, allocations: 13.99 MB / 0.6756 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.942e-05/0.7763, allocations: 4 kB / 0.6756 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of matching and sorting (n=413) (initialization): time 0.03843/0.8147, allocations: 12.29 MB / 0.6876 GB, free: 4.477 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001136/0.8149, allocations: 110.8 kB / 0.6877 GB, free: 4.344 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.786e-05/0.8149, allocations: 12.56 kB / 0.6877 GB, free: 4.332 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01721/0.8321, allocations: 5.321 MB / 0.6929 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003092/0.8353, allocations: 0.5594 MB / 0.6934 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06023/0.8955, allocations: 23.49 MB / 0.7164 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005291/0.9008, allocations: 485.1 kB / 0.7168 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000707/0.9016, allocations: 117 kB / 0.7169 GB, free: 6.211 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.001557/0.9031, allocations: 0.5298 MB / 0.7174 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009728/0.9041, allocations: 296.3 kB / 0.7177 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03779/0.9419, allocations: 11.91 MB / 0.7294 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-05/0.942, allocations: 24 kB / 0.7294 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.951e-05/0.942, allocations: 20 kB / 0.7294 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.916e-05/0.9421, allocations: 11.95 kB / 0.7294 GB, free: 9.367 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.04432/0.9865, allocations: 15.49 MB / 0.7445 GB, free: 9.715 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-05/0.9865, allocations: 0 / 0.7445 GB, free: 9.715 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001653/0.9882, allocations: 251.6 kB / 0.7448 GB, free: 9.469 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01708/1.005, allocations: 5.277 MB / 0.7499 GB, free: 4.18 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009126/1.006, allocations: 51.98 kB / 0.75 GB, free: 4.129 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3293/1.336, allocations: 24.93 MB / 0.7743 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.336, allocations: 0 / 0.7743 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04158/1.377, allocations: 14.26 MB / 0.7883 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001528/1.379, allocations: 411.1 kB / 0.7886 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000887/1.38, allocations: 43.59 kB / 0.7887 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002949/1.383, allocations: 304.8 kB / 0.789 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002117/1.385, allocations: 0.5854 MB / 0.7896 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002544/1.385, allocations: 65.56 kB / 0.7896 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002478/1.388, allocations: 1.506 MB / 0.7911 GB, free: 163 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.183e-06/1.388, allocations: 0 / 0.7911 GB, free: 163 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004722/1.392, allocations: 1.173 MB / 0.7922 GB, free: 163 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.000565/1.393, allocations: 176.5 kB / 0.7924 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01767/1.411, allocations: 6.692 MB / 0.7989 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/1.411, allocations: 2.625 kB / 0.7989 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01299/1.424, allocations: 4.406 MB / 0.8032 GB, free: 161 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002481/1.426, allocations: 267.2 kB / 0.8035 GB, free: 160.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009958/1.436, allocations: 5.265 MB / 0.8086 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00172/1.438, allocations: 1.806 MB / 0.8104 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001271/1.439, allocations: 261.7 kB / 0.8106 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006123/1.44, allocations: 178.9 kB / 0.8108 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.372e-06/1.44, allocations: 0 / 0.8108 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.08646/1.526, allocations: 65.09 MB / 0.8744 GB, free: 105.2 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 cvode -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)