Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.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.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 239.5 MB, free: 4.781 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.001317/0.001317, allocations: 200.3 kB / 289.8 MB, free: 2.512 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5019/0.5019, allocations: 91.9 MB / 431.8 MB, free: 9.465 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 75.89 kB / 0.5018 GB, free: 8.195 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3325, allocations: 71.27 MB / 0.5714 GB, free: 36.34 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.005721/0.3382, allocations: 6.966 MB / 0.5782 GB, free: 32.3 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003443/0.3417, allocations: 2.038 MB / 0.5802 GB, free: 31.05 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000507/0.3423, allocations: 11.62 kB / 0.5802 GB, free: 31.05 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006224/0.3429, allocations: 193.5 kB / 0.5804 GB, free: 30.98 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001514/0.3444, allocations: 0.735 MB / 0.5812 GB, free: 30.51 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.3455, allocations: 0.5938 MB / 0.5817 GB, free: 30.2 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001075/0.3465, allocations: 1.543 MB / 0.5832 GB, free: 29.46 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003515/0.3469, allocations: 296.3 kB / 0.5835 GB, free: 29.33 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005343/0.3474, allocations: 0.6106 MB / 0.5841 GB, free: 29.05 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006465/0.3481, allocations: 0.8049 MB / 0.5849 GB, free: 28.69 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001365/0.3482, allocations: 75.12 kB / 0.585 GB, free: 28.69 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000405/0.3487, allocations: 212.2 kB / 0.5852 GB, free: 28.64 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002138/0.3489, allocations: 286.2 kB / 0.5854 GB, free: 28.48 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004219/0.3493, allocations: 0.6377 MB / 0.5861 GB, free: 28.07 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008769/0.3502, allocations: 1.307 MB / 0.5873 GB, free: 27.56 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3502, allocations: 0 / 0.5873 GB, free: 27.56 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.3502, allocations: 0 / 0.5873 GB, free: 27.56 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.3502, allocations: 0 / 0.5873 GB, free: 27.56 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.008639/0.3589, allocations: 2.746 MB / 0.59 GB, free: 26.28 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.3589, allocations: 10.38 kB / 0.59 GB, free: 26.28 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004879/0.3638, allocations: 0.7846 MB / 0.5908 GB, free: 26.11 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001446/0.3653, allocations: 0.9046 MB / 0.5917 GB, free: 25.51 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002479/0.3655, allocations: 261.2 kB / 0.5919 GB, free: 25.29 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001609/0.3657, allocations: 87.5 kB / 0.592 GB, free: 25.25 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002105/0.3678, allocations: 1.094 MB / 0.5931 GB, free: 24.84 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.3678, allocations: 3.938 kB / 0.5931 GB, free: 24.84 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.368, allocations: 34.53 kB / 0.5931 GB, free: 24.81 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.912e-05/0.368, allocations: 18.88 kB / 0.5931 GB, free: 24.81 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00197/0.37, allocations: 1.001 MB / 0.5941 GB, free: 24.47 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.006085/0.376, allocations: 3.876 MB / 0.5979 GB, free: 22.24 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007291/0.3834, allocations: 2.392 MB / 0.6002 GB, free: 21.4 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001362/0.3847, allocations: 0.6895 MB / 0.6009 GB, free: 21.13 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000107/0.3849, allocations: 16.73 kB / 0.6009 GB, free: 21.12 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001632/0.3865, allocations: 0.8328 MB / 0.6017 GB, free: 20.8 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 2.805e-06/0.3865, allocations: 1.094 kB / 0.6017 GB, free: 20.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.02968/0.4162, allocations: 7.215 MB / 0.6088 GB, free: 19.4 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/0.4163, allocations: 118.9 kB / 0.6089 GB, free: 19.27 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001899/0.4182, allocations: 1.127 MB / 0.61 GB, free: 18.8 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000253/0.4185, allocations: 47.14 kB / 0.6101 GB, free: 18.75 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003505/0.4188, allocations: 0.499 MB / 0.6105 GB, free: 18.35 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000378/0.4192, allocations: 362.4 kB / 0.6109 GB, free: 18.07 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00055/0.4198, allocations: 296.9 kB / 0.6112 GB, free: 17.93 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.949e-05/0.4198, allocations: 302.8 kB / 0.6115 GB, free: 17.64 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001675/0.4215, allocations: 0.7837 MB / 0.6122 GB, free: 17.34 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001782/0.4233, allocations: 0.9476 MB / 0.6131 GB, free: 16.9 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0239/0.4472, allocations: 5.796 MB / 0.6188 GB, free: 13.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.091e-05/0.4472, allocations: 0 / 0.6188 GB, free: 13.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01226/0.4595, allocations: 4.453 MB / 0.6232 GB, free: 9.289 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.773e-05/0.4596, allocations: 63.34 kB / 0.6232 GB, free: 9.215 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/0.4596, allocations: 4 kB / 0.6232 GB, free: 9.211 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005357/0.465, allocations: 1.631 MB / 0.6248 GB, free: 7.578 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/0.4663, allocations: 291.6 kB / 0.6251 GB, free: 7.293 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01686/0.4832, allocations: 7.939 MB / 0.6328 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002093/0.4853, allocations: 206.7 kB / 0.633 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002811/0.4856, allocations: 59.91 kB / 0.6331 GB, free: 14.94 MB / 446.1 MB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order5.delta:VARIABLE(flow=false start = order5.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 164 * Array equations: 0 * Algorithm blocks: 2 * 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 {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008902/0.4865, allocations: 312.4 kB / 0.6334 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004608/0.487, allocations: 126.4 kB / 0.6335 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01259/0.4996, allocations: 3.893 MB / 0.6373 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/0.4996, allocations: 16 kB / 0.6373 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.397e-05/0.4997, allocations: 11.94 kB / 0.6373 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.568e-05/0.4997, allocations: 3.984 kB / 0.6374 GB, free: 10.54 MB / 446.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 postOpt removeSimpleEquations (simulation): time 0.01462/0.5143, allocations: 5.516 MB / 0.6427 GB, free: 4.906 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.5143, allocations: 0 / 0.6427 GB, free: 4.906 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006177/0.515, allocations: 103.8 kB / 0.6428 GB, free: 4.805 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005395/0.5204, allocations: 1.595 MB / 0.6444 GB, free: 3.203 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000107/0.5205, allocations: 16 kB / 0.6444 GB, free: 3.188 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01883/0.5393, allocations: 8.813 MB / 0.653 GB, free: 10.1 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.5394, allocations: 0 / 0.653 GB, free: 10.1 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01448/0.5538, allocations: 4.772 MB / 0.6577 GB, free: 5.293 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005309/0.5544, allocations: 223.2 kB / 0.6579 GB, free: 5.055 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003142/0.5547, allocations: 24 kB / 0.6579 GB, free: 5.031 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001351/0.5561, allocations: 111.9 kB / 0.658 GB, free: 4.922 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000582/0.5567, allocations: 188.7 kB / 0.6582 GB, free: 4.734 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.606e-05/0.5568, allocations: 35.92 kB / 0.6582 GB, free: 4.699 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001341/0.5581, allocations: 0.7553 MB / 0.659 GB, free: 3.938 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5581, allocations: 0 / 0.659 GB, free: 3.938 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001717/0.5599, allocations: 491.5 kB / 0.6594 GB, free: 3.457 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(18,14,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003312/0.5602, allocations: 132 kB / 0.6596 GB, free: 3.316 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006731/0.5669, allocations: 2.59 MB / 0.6621 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.567, allocations: 4.062 kB / 0.6621 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004214/0.5712, allocations: 1.594 MB / 0.6637 GB, free: 15.05 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/0.5724, allocations: 112.6 kB / 0.6638 GB, free: 14.95 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005714/0.5782, allocations: 2.847 MB / 0.6665 GB, free: 12.07 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000949/0.5791, allocations: 1.128 MB / 0.6676 GB, free: 10.91 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004335/0.5796, allocations: 83.41 kB / 0.6677 GB, free: 10.83 MB / 478.1 MB Notification: Performance of SimCode: time 5.31e-07/0.5796, allocations: 0 / 0.6677 GB, free: 10.83 MB / 478.1 MB Notification: Performance of Templates: time 0.03411/0.6137, allocations: 23.86 MB / 0.691 GB, free: 2.98 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)