Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.001194/0.001194, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.327/1.327, allocations: 222.9 MB / 239 MB, free: 4.688 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: 196.5 kB / 289.3 MB, free: 2.418 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4804/0.4804, allocations: 78.53 MB / 417.9 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 79.86 kB / 496.9 MB, free: 6.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1552, allocations: 68.19 MB / 0.5519 GB, free: 2.5 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.2935/0.4488, allocations: 6.943 MB / 0.5587 GB, free: 36.46 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003883/0.4527, allocations: 2.016 MB / 0.5606 GB, free: 35.91 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004788/0.4532, allocations: 16.53 kB / 0.5606 GB, free: 35.91 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006711/0.4539, allocations: 183.2 kB / 0.5608 GB, free: 35.9 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001595/0.4555, allocations: 0.7171 MB / 0.5615 GB, free: 35.74 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001416/0.457, allocations: 0.5893 MB / 0.5621 GB, free: 35.66 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001616/0.4586, allocations: 1.629 MB / 0.5637 GB, free: 35.59 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004569/0.4591, allocations: 335.1 kB / 0.564 GB, free: 35.54 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009176/0.46, allocations: 0.6743 MB / 0.5647 GB, free: 35.39 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008352/0.4608, allocations: 0.8544 MB / 0.5655 GB, free: 35.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000206/0.4611, allocations: 129 kB / 0.5656 GB, free: 35.18 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005263/0.4616, allocations: 268 kB / 0.5659 GB, free: 35.17 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002683/0.4619, allocations: 350.6 kB / 0.5662 GB, free: 35.08 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000505/0.4624, allocations: 0.6907 MB / 0.5669 GB, free: 34.83 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001389/0.4638, allocations: 1.685 MB / 0.5685 GB, free: 34.45 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.4638, allocations: 3.969 kB / 0.5685 GB, free: 34.45 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4638, allocations: 0 / 0.5685 GB, free: 34.45 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.48e-05/0.4638, allocations: 0 / 0.5685 GB, free: 34.45 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.008608/0.4724, allocations: 2.751 MB / 0.5712 GB, free: 33.46 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.4725, allocations: 8.656 kB / 0.5712 GB, free: 33.46 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004561/0.4771, allocations: 0.78 MB / 0.572 GB, free: 33.37 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001374/0.4785, allocations: 0.9066 MB / 0.5729 GB, free: 32.96 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002307/0.4787, allocations: 259 kB / 0.5731 GB, free: 32.77 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001528/0.4789, allocations: 90.69 kB / 0.5732 GB, free: 32.76 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001906/0.4808, allocations: 1.101 MB / 0.5743 GB, free: 32.68 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.4808, allocations: 3.938 kB / 0.5743 GB, free: 32.67 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.833e-05/0.4809, allocations: 32 kB / 0.5743 GB, free: 32.67 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.4809, allocations: 18.38 kB / 0.5743 GB, free: 32.67 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001683/0.4826, allocations: 0.9962 MB / 0.5753 GB, free: 32.66 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.005535/0.4882, allocations: 3.886 MB / 0.5791 GB, free: 30.47 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006641/0.4948, allocations: 2.385 MB / 0.5814 GB, free: 29.64 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001299/0.4961, allocations: 0.686 MB / 0.5821 GB, free: 29.38 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001061/0.4962, allocations: 21.7 kB / 0.5821 GB, free: 29.37 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001472/0.4977, allocations: 0.8288 MB / 0.5829 GB, free: 29.05 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 2.595e-06/0.4977, allocations: 4 kB / 0.5829 GB, free: 29.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.02831/0.5261, allocations: 7.216 MB / 0.59 GB, free: 27.64 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.5262, allocations: 118.1 kB / 0.5901 GB, free: 27.51 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001988/0.5281, allocations: 1.124 MB / 0.5912 GB, free: 27.05 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002612/0.5284, allocations: 46.7 kB / 0.5912 GB, free: 27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003497/0.5288, allocations: 0.4919 MB / 0.5917 GB, free: 26.61 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003834/0.5292, allocations: 366 kB / 0.5921 GB, free: 26.32 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005757/0.5298, allocations: 293.6 kB / 0.5923 GB, free: 26.19 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.802e-05/0.5298, allocations: 302.2 kB / 0.5926 GB, free: 25.89 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001677/0.5315, allocations: 0.7814 MB / 0.5934 GB, free: 25.6 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00172/0.5332, allocations: 0.9506 MB / 0.5943 GB, free: 25.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02423/0.5575, allocations: 5.82 MB / 0.6 GB, free: 23.36 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.177e-05/0.5575, allocations: 3.938 kB / 0.6 GB, free: 23.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.0143/0.5718, allocations: 4.452 MB / 0.6044 GB, free: 22.14 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.082e-05/0.5719, allocations: 64.52 kB / 0.6044 GB, free: 22.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/0.572, allocations: 3.125 kB / 0.6044 GB, free: 22.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005898/0.5779, allocations: 1.634 MB / 0.606 GB, free: 21.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001581/0.5795, allocations: 296.7 kB / 0.6063 GB, free: 21.38 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01953/0.599, allocations: 8.607 MB / 0.6147 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00243/0.6015, allocations: 198.6 kB / 0.6149 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003315/0.6018, allocations: 63.91 kB / 0.615 GB, free: 14.55 MB / 430.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.0009238/0.6028, allocations: 307.1 kB / 0.6153 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004477/0.6032, allocations: 123.8 kB / 0.6154 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01155/0.6148, allocations: 3.911 MB / 0.6192 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.907e-05/0.6148, allocations: 12 kB / 0.6192 GB, free: 10.17 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.568e-05/0.6149, allocations: 8 kB / 0.6192 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.65e-05/0.6149, allocations: 7.969 kB / 0.6192 GB, free: 10.16 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 postOpt removeSimpleEquations (simulation): time 0.01492/0.6298, allocations: 5.505 MB / 0.6246 GB, free: 4.543 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.526e-05/0.6299, allocations: 0 / 0.6246 GB, free: 4.543 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007386/0.6307, allocations: 109 kB / 0.6247 GB, free: 4.438 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005049/0.6357, allocations: 1.587 MB / 0.6262 GB, free: 2.844 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002331/0.636, allocations: 23.98 kB / 0.6263 GB, free: 2.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01996/0.6559, allocations: 9.669 MB / 0.6357 GB, free: 8.855 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.656, allocations: 0 / 0.6357 GB, free: 8.855 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01479/0.6708, allocations: 4.768 MB / 0.6404 GB, free: 4.051 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000657/0.6715, allocations: 231.2 kB / 0.6406 GB, free: 3.805 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005252/0.672, allocations: 24.94 kB / 0.6406 GB, free: 3.781 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001625/0.6737, allocations: 111.9 kB / 0.6407 GB, free: 3.672 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007687/0.6745, allocations: 196.7 kB / 0.6409 GB, free: 3.477 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001611/0.6746, allocations: 20 kB / 0.6409 GB, free: 3.457 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001486/0.6761, allocations: 0.7609 MB / 0.6417 GB, free: 2.691 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6761, allocations: 4 kB / 0.6417 GB, free: 2.688 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002125/0.6783, allocations: 487.5 kB / 0.6421 GB, free: 2.211 MB / 446.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.0003774/0.6787, allocations: 142.3 kB / 0.6423 GB, free: 2.066 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007329/0.686, allocations: 2.633 MB / 0.6448 GB, free: 15.4 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.686, allocations: 4.688 kB / 0.6449 GB, free: 15.39 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004481/0.6905, allocations: 1.581 MB / 0.6464 GB, free: 13.78 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002058/0.6926, allocations: 121 kB / 0.6465 GB, free: 13.66 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006323/0.6989, allocations: 2.796 MB / 0.6492 GB, free: 10.88 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001096/0.7001, allocations: 1.132 MB / 0.6503 GB, free: 9.719 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007288/0.7008, allocations: 121.7 kB / 0.6505 GB, free: 9.602 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000412/0.7012, allocations: 83.41 kB / 0.6505 GB, free: 9.52 MB / 462.1 MB Notification: Performance of SimCode: time 1.513e-06/0.7012, allocations: 0 / 0.6505 GB, free: 9.52 MB / 462.1 MB Notification: Performance of Templates: time 0.04161/0.7429, allocations: 23.41 MB / 0.6734 GB, free: 2.312 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)