Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 107 kB / 16.36 MB, free: 6.336 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.368/1.368, allocations: 222.9 MB / 240 MB, free: 4.582 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.001312/0.001312, allocations: 187.8 kB / 290.3 MB, free: 2.305 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4761/0.4761, allocations: 78.52 MB / 419 MB, free: 3.184 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 88.16 kB / 498.9 MB, free: 5.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1433, allocations: 68.17 MB / 0.5538 GB, free: 1.504 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.2679/0.4113, allocations: 13.77 MB / 0.5672 GB, free: 31.57 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008033/0.4194, allocations: 3.491 MB / 0.5706 GB, free: 30.41 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002922/0.4223, allocations: 30.06 kB / 0.5707 GB, free: 30.41 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001557/0.4239, allocations: 0.5606 MB / 0.5712 GB, free: 30.13 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00473/0.4287, allocations: 1.429 MB / 0.5726 GB, free: 29.4 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003356/0.432, allocations: 1.519 MB / 0.5741 GB, free: 29.22 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004491/0.4365, allocations: 3.776 MB / 0.5778 GB, free: 28.38 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001135/0.4377, allocations: 0.9007 MB / 0.5787 GB, free: 28.17 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002038/0.4397, allocations: 1.541 MB / 0.5802 GB, free: 27.75 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001811/0.4415, allocations: 1.992 MB / 0.5821 GB, free: 27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003875/0.4419, allocations: 291.2 kB / 0.5824 GB, free: 27 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007382/0.4427, allocations: 437.6 kB / 0.5828 GB, free: 26.96 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004469/0.4431, allocations: 0.7707 MB / 0.5836 GB, free: 26.44 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001097/0.4443, allocations: 1.656 MB / 0.5852 GB, free: 25.31 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003257/0.4475, allocations: 4.02 MB / 0.5891 GB, free: 23.47 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.4475, allocations: 4.906 kB / 0.5891 GB, free: 23.46 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4475, allocations: 1.312 kB / 0.5891 GB, free: 23.46 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.431e-05/0.4476, allocations: 0 / 0.5891 GB, free: 23.46 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.02333/0.471, allocations: 6.635 MB / 0.5956 GB, free: 20.83 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.471, allocations: 13.47 kB / 0.5956 GB, free: 20.82 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01544/0.4865, allocations: 2.277 MB / 0.5978 GB, free: 20.38 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005164/0.4917, allocations: 1.896 MB / 0.5997 GB, free: 19.22 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008502/0.4926, allocations: 0.7327 MB / 0.6004 GB, free: 18.56 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007258/0.4933, allocations: 219.3 kB / 0.6006 GB, free: 18.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007117/0.5004, allocations: 3.047 MB / 0.6036 GB, free: 17.33 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.599e-05/0.5005, allocations: 0.75 kB / 0.6036 GB, free: 17.33 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002359/0.5007, allocations: 85.98 kB / 0.6037 GB, free: 17.26 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.811e-05/0.5008, allocations: 53.97 kB / 0.6037 GB, free: 17.26 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006033/0.5068, allocations: 2.799 MB / 0.6064 GB, free: 16.31 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.02075/0.5276, allocations: 9.857 MB / 0.6161 GB, free: 10.78 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01123/0.5389, allocations: 4.198 MB / 0.6202 GB, free: 8.457 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004377/0.5433, allocations: 1.978 MB / 0.6221 GB, free: 7.441 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000373/0.5437, allocations: 48.08 kB / 0.6221 GB, free: 7.422 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00456/0.5483, allocations: 2.242 MB / 0.6243 GB, free: 5.914 MB / 430.1 MB Notification: Performance of pre-optimization done (n=249): time 4.739e-06/0.5483, allocations: 3.938 kB / 0.6243 GB, free: 5.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=249): time 0.1116/0.6599, allocations: 27.42 MB / 0.6511 GB, free: 10.36 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001591/0.6601, allocations: 188.1 kB / 0.6513 GB, free: 10.14 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004898/0.665, allocations: 2.309 MB / 0.6535 GB, free: 7.809 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008909/0.6659, allocations: 77.77 kB / 0.6536 GB, free: 7.727 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001128/0.6671, allocations: 1.18 MB / 0.6548 GB, free: 6.535 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001636/0.6687, allocations: 0.8741 MB / 0.6556 GB, free: 5.648 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002613/0.6713, allocations: 0.562 MB / 0.6562 GB, free: 5.078 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.6715, allocations: 305.1 kB / 0.6565 GB, free: 4.777 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004515/0.676, allocations: 1.967 MB / 0.6584 GB, free: 2.809 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004632/0.6806, allocations: 2.353 MB / 0.6607 GB, free: 376 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05658/0.7372, allocations: 14.23 MB / 0.6746 GB, free: 1.945 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.091e-05/0.7373, allocations: 4 kB / 0.6746 GB, free: 1.941 MB / 478.1 MB Notification: Performance of matching and sorting (n=421) (initialization): time 0.04448/0.7818, allocations: 12.55 MB / 0.6868 GB, free: 5.32 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001577/0.782, allocations: 118.8 kB / 0.687 GB, free: 5.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.11e-05/0.782, allocations: 4 kB / 0.687 GB, free: 5.176 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01814/0.8001, allocations: 5.263 MB / 0.6921 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00337/0.8036, allocations: 0.5851 MB / 0.6927 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06369/0.8673, allocations: 23.17 MB / 0.7153 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005186/0.8725, allocations: 485.1 kB / 0.7158 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008869/0.8734, allocations: 121 kB / 0.7159 GB, free: 7.387 MB / 0.5137 GB Warning: Assuming fixed start value for the following 7 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.delta:VARIABLE(flow=false start = Syn2.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (334): * Single equations (assignments): 329 * 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): 1 system {(63,25,8.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002363/0.8758, allocations: 0.5413 MB / 0.7164 GB, free: 6.824 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001446/0.8773, allocations: 308.8 kB / 0.7167 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04062/0.9179, allocations: 11.93 MB / 0.7284 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.301e-05/0.918, allocations: 24 kB / 0.7284 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.314e-05/0.9181, allocations: 20 kB / 0.7284 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.482e-05/0.9182, allocations: 11.95 kB / 0.7284 GB, free: 10.44 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.04855/0.9667, allocations: 15.56 MB / 0.7436 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-05/0.9668, allocations: 0 / 0.7436 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0018/0.9686, allocations: 247.7 kB / 0.7438 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01751/0.9861, allocations: 5.305 MB / 0.749 GB, free: 5.117 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008114/0.987, allocations: 47.98 kB / 0.7491 GB, free: 5.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.319/1.306, allocations: 24.91 MB / 0.7734 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/1.306, allocations: 2.953 kB / 0.7734 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04407/1.35, allocations: 14.32 MB / 0.7874 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001321/1.352, allocations: 416.5 kB / 0.7878 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001276/1.353, allocations: 46.47 kB / 0.7878 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003748/1.357, allocations: 302.1 kB / 0.7881 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002441/1.359, allocations: 0.5795 MB / 0.7887 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003603/1.359, allocations: 68.22 kB / 0.7887 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002832/1.362, allocations: 1.534 MB / 0.7902 GB, free: 163 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.71e-07/1.362, allocations: 1.125 kB / 0.7902 GB, free: 163 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00545/1.368, allocations: 1.173 MB / 0.7914 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: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,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 (158): * Single equations (assignments): 153 * 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 {(67,21,7.5%)} * 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.0005864/1.368, allocations: 176 kB / 0.7915 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01933/1.388, allocations: 6.653 MB / 0.798 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/1.388, allocations: 2.562 kB / 0.798 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01455/1.402, allocations: 4.439 MB / 0.8024 GB, free: 161 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003152/1.405, allocations: 267.2 kB / 0.8026 GB, free: 160.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0116/1.417, allocations: 5.413 MB / 0.8079 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001769/1.419, allocations: 1.818 MB / 0.8097 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0016/1.421, allocations: 261.6 kB / 0.8099 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006721/1.421, allocations: 172.5 kB / 0.8101 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of SimCode: time 9.22e-07/1.421, allocations: 0 / 0.8101 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.09498/1.516, allocations: 63.58 MB / 0.8722 GB, free: 107.3 MB / 0.5606 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)