Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009938/0.0009939, allocations: 98.88 kB / 16.02 MB, free: 76 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.381/1.381, allocations: 223.3 MB / 240 MB, free: 5.344 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.001237/0.001237, allocations: 188.4 kB / 291.3 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5286/0.5286, allocations: 91.92 MB / 434.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003815/0.0003816, allocations: 12 kB / 0.5054 GB, free: 7.258 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3931/0.3935, allocations: 72.47 MB / 0.5762 GB, free: 36.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.004915/0.3985, allocations: 6.552 MB / 0.5826 GB, free: 32.32 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003295/0.4018, allocations: 2.052 MB / 0.5846 GB, free: 30.87 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004376/0.4023, allocations: 17.59 kB / 0.5846 GB, free: 30.86 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005543/0.4028, allocations: 190.1 kB / 0.5848 GB, free: 30.79 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001439/0.4043, allocations: 0.7222 MB / 0.5855 GB, free: 30.32 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009772/0.4053, allocations: 0.6016 MB / 0.5861 GB, free: 30.01 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00113/0.4064, allocations: 1.576 MB / 0.5876 GB, free: 29.26 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003651/0.4068, allocations: 291.8 kB / 0.5879 GB, free: 29.13 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005459/0.4073, allocations: 0.5935 MB / 0.5885 GB, free: 28.87 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006611/0.408, allocations: 0.7961 MB / 0.5892 GB, free: 28.52 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001294/0.4082, allocations: 63 kB / 0.5893 GB, free: 28.52 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004481/0.4086, allocations: 191.3 kB / 0.5895 GB, free: 28.48 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002017/0.4088, allocations: 282.6 kB / 0.5898 GB, free: 28.32 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004141/0.4092, allocations: 0.6464 MB / 0.5904 GB, free: 27.89 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009224/0.4102, allocations: 1.274 MB / 0.5916 GB, free: 27.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.4102, allocations: 5.25 kB / 0.5916 GB, free: 27.51 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4102, allocations: 0 / 0.5916 GB, free: 27.51 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.711e-05/0.4102, allocations: 0 / 0.5916 GB, free: 27.51 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.008652/0.4189, allocations: 2.592 MB / 0.5942 GB, free: 26.37 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.4189, allocations: 12.72 kB / 0.5942 GB, free: 26.36 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005067/0.424, allocations: 0.7865 MB / 0.595 GB, free: 26.21 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001402/0.4254, allocations: 0.9181 MB / 0.5958 GB, free: 25.6 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002612/0.4257, allocations: 267 kB / 0.5961 GB, free: 25.38 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001838/0.4259, allocations: 87.16 kB / 0.5962 GB, free: 25.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002216/0.4281, allocations: 1.178 MB / 0.5973 GB, free: 24.91 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.4281, allocations: 0 / 0.5973 GB, free: 24.91 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.4282, allocations: 34.28 kB / 0.5974 GB, free: 24.88 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.318e-05/0.4283, allocations: 18.28 kB / 0.5974 GB, free: 24.88 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00212/0.4304, allocations: 1.067 MB / 0.5984 GB, free: 24.54 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.006586/0.437, allocations: 4.007 MB / 0.6023 GB, free: 22.27 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008599/0.4456, allocations: 2.946 MB / 0.6052 GB, free: 21.36 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001615/0.4472, allocations: 0.7569 MB / 0.606 GB, free: 21.08 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.48e-05/0.4474, allocations: 15.8 kB / 0.606 GB, free: 21.07 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001796/0.4492, allocations: 0.8977 MB / 0.6068 GB, free: 20.74 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 3.016e-06/0.4492, allocations: 0 / 0.6068 GB, free: 20.74 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.03283/0.482, allocations: 8.65 MB / 0.6153 GB, free: 19.15 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.841e-05/0.4821, allocations: 115 kB / 0.6154 GB, free: 19.02 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002391/0.4845, allocations: 1.143 MB / 0.6165 GB, free: 18.55 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002432/0.4848, allocations: 46.14 kB / 0.6166 GB, free: 18.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000435/0.4852, allocations: 0.492 MB / 0.617 GB, free: 18.11 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005116/0.4857, allocations: 370.2 kB / 0.6174 GB, free: 17.8 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003745/0.4861, allocations: 150.6 kB / 0.6175 GB, free: 17.7 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.833e-05/0.4862, allocations: 306.1 kB / 0.6178 GB, free: 17.4 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002253/0.4884, allocations: 0.8615 MB / 0.6187 GB, free: 16.98 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002276/0.4907, allocations: 1.033 MB / 0.6197 GB, free: 16.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02577/0.5165, allocations: 6.375 MB / 0.6259 GB, free: 10.18 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.279e-05/0.5166, allocations: 0 / 0.6259 GB, free: 10.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01499/0.5316, allocations: 5.34 MB / 0.6311 GB, free: 4.809 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.155e-05/0.5317, allocations: 55.41 kB / 0.6312 GB, free: 4.742 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/0.5317, allocations: 4 kB / 0.6312 GB, free: 4.738 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006475/0.5382, allocations: 1.951 MB / 0.6331 GB, free: 2.785 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001524/0.5397, allocations: 295.6 kB / 0.6334 GB, free: 2.496 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02195/0.5617, allocations: 8.94 MB / 0.6421 GB, free: 9.402 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002485/0.5642, allocations: 258.5 kB / 0.6423 GB, free: 9.148 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000339/0.5646, allocations: 59.97 kB / 0.6424 GB, free: 9.09 MB / 446.1 MB Warning: Assuming fixed start value for the following 4 variables: order6.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 order6.delta:VARIABLE(flow=false start = order6.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (171): * Single equations (assignments): 168 * 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.001038/0.5656, allocations: 306 kB / 0.6427 GB, free: 8.777 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005241/0.5662, allocations: 126.4 kB / 0.6428 GB, free: 8.652 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01567/0.5818, allocations: 4.768 MB / 0.6475 GB, free: 3.855 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.088e-05/0.5819, allocations: 12 kB / 0.6475 GB, free: 3.844 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-05/0.5819, allocations: 12 kB / 0.6475 GB, free: 3.832 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.046e-05/0.582, allocations: 7.969 kB / 0.6475 GB, free: 3.824 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.01895/0.601, allocations: 6.403 MB / 0.6538 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.589e-05/0.601, allocations: 0 / 0.6538 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008657/0.6019, allocations: 103.9 kB / 0.6539 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006858/0.6088, allocations: 1.877 MB / 0.6557 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002527/0.6091, allocations: 27.92 kB / 0.6557 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02275/0.6318, allocations: 9.686 MB / 0.6652 GB, free: 1.332 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.6319, allocations: 0 / 0.6652 GB, free: 1.332 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0177/0.6496, allocations: 5.713 MB / 0.6708 GB, free: 11.58 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006783/0.6503, allocations: 231.2 kB / 0.671 GB, free: 11.33 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005292/0.6508, allocations: 23.98 kB / 0.671 GB, free: 11.31 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001729/0.6526, allocations: 143.9 kB / 0.6711 GB, free: 11.17 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007425/0.6533, allocations: 196.7 kB / 0.6713 GB, free: 10.98 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001683/0.6535, allocations: 27.98 kB / 0.6713 GB, free: 10.95 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00157/0.6551, allocations: 0.7752 MB / 0.6721 GB, free: 10.17 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6551, allocations: 0 / 0.6721 GB, free: 10.17 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002061/0.6572, allocations: 491.5 kB / 0.6726 GB, free: 9.688 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.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 (66): * Single equations (assignments): 63 * 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 {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003699/0.6576, allocations: 143.1 kB / 0.6727 GB, free: 9.535 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007719/0.6653, allocations: 2.898 MB / 0.6755 GB, free: 6.594 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.6653, allocations: 0 / 0.6755 GB, free: 6.594 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004897/0.6702, allocations: 1.83 MB / 0.6773 GB, free: 4.727 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001464/0.6717, allocations: 112.5 kB / 0.6774 GB, free: 4.617 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004946/0.6767, allocations: 3.04 MB / 0.6804 GB, free: 1.559 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006969/0.6774, allocations: 1.136 MB / 0.6815 GB, free: 400 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004173/0.6778, allocations: 83.41 kB / 0.6816 GB, free: 316 kB / 478.1 MB Notification: Performance of SimCode: time 9.92e-07/0.6778, allocations: 0 / 0.6816 GB, free: 316 kB / 478.1 MB Notification: Performance of Templates: time 0.03333/0.7112, allocations: 24.06 MB / 0.7051 GB, free: 8.258 MB / 0.4981 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)