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.0009849/0.0009849, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.226/1.226, allocations: 222.9 MB / 238.8 MB, free: 4.652 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.00135/0.00135, allocations: 192.5 kB / 289.1 MB, free: 2.398 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4335/0.4335, allocations: 78.52 MB / 417.8 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 67.89 kB / 496.8 MB, free: 6.816 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.116, allocations: 68.18 MB / 0.5517 GB, free: 2.578 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.2086/0.3247, allocations: 14.55 MB / 0.5659 GB, free: 30.93 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007116/0.3319, allocations: 3.642 MB / 0.5695 GB, free: 29.89 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002604/0.3345, allocations: 31.12 kB / 0.5695 GB, free: 29.89 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00177/0.3363, allocations: 433 kB / 0.5699 GB, free: 29.75 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00408/0.3404, allocations: 1.242 MB / 0.5711 GB, free: 29.17 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003017/0.3434, allocations: 1.423 MB / 0.5725 GB, free: 28.98 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004111/0.3476, allocations: 3.568 MB / 0.576 GB, free: 28.14 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001169/0.3488, allocations: 0.8049 MB / 0.5768 GB, free: 27.92 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001704/0.3505, allocations: 1.419 MB / 0.5782 GB, free: 27.48 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002159/0.3526, allocations: 1.892 MB / 0.58 GB, free: 26.94 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008573/0.3535, allocations: 175.8 kB / 0.5802 GB, free: 26.94 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001128/0.3546, allocations: 321.4 kB / 0.5805 GB, free: 26.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004477/0.3551, allocations: 0.6585 MB / 0.5811 GB, free: 26.73 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001129/0.3562, allocations: 1.54 MB / 0.5826 GB, free: 25.78 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002393/0.3586, allocations: 3.851 MB / 0.5864 GB, free: 24.03 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.3587, allocations: 0 / 0.5864 GB, free: 24.03 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3587, allocations: 0 / 0.5864 GB, free: 24.03 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.277e-05/0.3587, allocations: 0 / 0.5864 GB, free: 24.03 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.02174/0.3805, allocations: 6.65 MB / 0.5929 GB, free: 21.39 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.3805, allocations: 8.688 kB / 0.5929 GB, free: 21.39 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01396/0.3945, allocations: 2.273 MB / 0.5951 GB, free: 20.95 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00378/0.3983, allocations: 1.895 MB / 0.597 GB, free: 19.78 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005697/0.3989, allocations: 0.7274 MB / 0.5977 GB, free: 19.12 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004246/0.3993, allocations: 219.9 kB / 0.5979 GB, free: 19.05 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006196/0.4055, allocations: 3.05 MB / 0.6009 GB, free: 17.89 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.361e-05/0.4056, allocations: 2.203 kB / 0.6009 GB, free: 17.89 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002298/0.4058, allocations: 85.45 kB / 0.6009 GB, free: 17.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.973e-05/0.4059, allocations: 49.28 kB / 0.601 GB, free: 17.82 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005604/0.4115, allocations: 2.798 MB / 0.6037 GB, free: 16.88 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.01724/0.4287, allocations: 9.936 MB / 0.6134 GB, free: 11.35 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01004/0.4388, allocations: 4.199 MB / 0.6175 GB, free: 9.445 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003432/0.4422, allocations: 1.986 MB / 0.6195 GB, free: 8.422 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002553/0.4425, allocations: 40.05 kB / 0.6195 GB, free: 8.41 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003911/0.4464, allocations: 2.239 MB / 0.6217 GB, free: 7.121 MB / 430.1 MB Notification: Performance of pre-optimization done (n=249): time 3.747e-06/0.4464, allocations: 0 / 0.6217 GB, free: 7.121 MB / 430.1 MB Notification: Performance of matching and sorting (n=249): time 0.1101/0.5566, allocations: 27.43 MB / 0.6485 GB, free: 11.8 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.954e-05/0.5567, allocations: 184.2 kB / 0.6487 GB, free: 11.58 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00333/0.56, allocations: 2.313 MB / 0.6509 GB, free: 9.25 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006102/0.5607, allocations: 69.7 kB / 0.651 GB, free: 9.176 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008069/0.5615, allocations: 1.176 MB / 0.6521 GB, free: 7.988 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001058/0.5625, allocations: 0.8741 MB / 0.653 GB, free: 7.102 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001071/0.5636, allocations: 0.5698 MB / 0.6535 GB, free: 6.523 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 7.925e-05/0.5637, allocations: 301.1 kB / 0.6538 GB, free: 6.227 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003959/0.5677, allocations: 1.97 MB / 0.6557 GB, free: 4.254 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004188/0.5719, allocations: 2.35 MB / 0.658 GB, free: 1.816 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05184/0.6237, allocations: 14.25 MB / 0.672 GB, free: 3.352 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-05/0.6238, allocations: 0 / 0.672 GB, free: 3.352 MB / 478.1 MB Notification: Performance of matching and sorting (n=421) (initialization): time 0.03865/0.6624, allocations: 12.55 MB / 0.6842 GB, free: 6.727 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.182e-05/0.6626, allocations: 116.5 kB / 0.6843 GB, free: 6.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.098e-05/0.6626, allocations: 8 kB / 0.6843 GB, free: 6.582 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01642/0.679, allocations: 5.253 MB / 0.6895 GB, free: 1.324 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0032/0.6823, allocations: 0.589 MB / 0.69 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05387/0.7361, allocations: 21.32 MB / 0.7109 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004757/0.741, allocations: 493.1 kB / 0.7113 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006239/0.7416, allocations: 120 kB / 0.7114 GB, free: 10.66 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.00186/0.7435, allocations: 0.5394 MB / 0.712 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009256/0.7444, allocations: 298.5 kB / 0.7123 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03834/0.7828, allocations: 11.93 MB / 0.7239 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.141e-05/0.7828, allocations: 27.94 kB / 0.7239 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-05/0.7829, allocations: 16 kB / 0.724 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.893e-05/0.783, allocations: 15.95 kB / 0.724 GB, free: 13.72 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.04531/0.8283, allocations: 15.56 MB / 0.7392 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.33e-05/0.8284, allocations: 4 kB / 0.7392 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001685/0.8301, allocations: 247.7 kB / 0.7394 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01693/0.847, allocations: 5.308 MB / 0.7446 GB, free: 8.379 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006856/0.8477, allocations: 53.11 kB / 0.7446 GB, free: 8.328 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05642/0.9042, allocations: 22.68 MB / 0.7668 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.185e-06/0.9042, allocations: 3.938 kB / 0.7668 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2838/1.188, allocations: 14.3 MB / 0.7808 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009819/1.189, allocations: 410.2 kB / 0.7811 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006458/1.19, allocations: 55.78 kB / 0.7812 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00288/1.193, allocations: 298.5 kB / 0.7815 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001959/1.195, allocations: 0.5633 MB / 0.782 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002049/1.195, allocations: 66.31 kB / 0.7821 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001962/1.197, allocations: 1.534 MB / 0.7836 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/1.197, allocations: 0.5625 kB / 0.7836 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003432/1.2, allocations: 1.179 MB / 0.7847 GB, free: 165.7 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.0004078/1.201, allocations: 170.9 kB / 0.7849 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01716/1.218, allocations: 6.657 MB / 0.7914 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/1.218, allocations: 0 / 0.7914 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01323/1.231, allocations: 4.433 MB / 0.7957 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002346/1.233, allocations: 264.4 kB / 0.796 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009595/1.243, allocations: 6.57 MB / 0.8024 GB, free: 161 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001417/1.244, allocations: 1.817 MB / 0.8042 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001208/1.246, allocations: 264.9 kB / 0.8044 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005838/1.246, allocations: 162 kB / 0.8046 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of SimCode: time 7.02e-07/1.246, allocations: 4 kB / 0.8046 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.06845/1.315, allocations: 58.04 MB / 0.8613 GB, free: 117.8 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 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)