Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 103.5 kB / 16.4 MB, free: 6.469 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.303/1.303, allocations: 222.9 MB / 240.1 MB, free: 4.547 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.001393/0.001393, allocations: 188.5 kB / 290.4 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5222/0.5222, allocations: 91.91 MB / 432.4 MB, free: 9.195 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 77 kB / 0.5734 GB, free: 33.82 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1301, allocations: 71.28 MB / 0.643 GB, free: 3.699 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.006789/0.1369, allocations: 6.523 MB / 0.6494 GB, free: 13.14 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004039/0.141, allocations: 1.947 MB / 0.6513 GB, free: 11.2 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007324/0.1418, allocations: 15.94 kB / 0.6513 GB, free: 11.18 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007794/0.1426, allocations: 238 kB / 0.6515 GB, free: 10.95 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002055/0.1447, allocations: 0.8075 MB / 0.6523 GB, free: 10.14 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.1459, allocations: 0.629 MB / 0.6529 GB, free: 9.512 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001698/0.1476, allocations: 1.577 MB / 0.6545 GB, free: 7.93 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004851/0.1481, allocations: 326.4 kB / 0.6548 GB, free: 7.602 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008655/0.149, allocations: 0.6496 MB / 0.6554 GB, free: 6.949 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008946/0.1499, allocations: 0.8323 MB / 0.6562 GB, free: 6.113 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002005/0.1501, allocations: 120 kB / 0.6563 GB, free: 5.996 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005161/0.1506, allocations: 259.9 kB / 0.6566 GB, free: 5.742 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002855/0.1509, allocations: 330.6 kB / 0.6569 GB, free: 5.418 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006013/0.1516, allocations: 0.6719 MB / 0.6576 GB, free: 4.742 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001664/0.1532, allocations: 1.666 MB / 0.6592 GB, free: 3.07 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1532, allocations: 0 / 0.6592 GB, free: 3.07 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.185e-06/0.1533, allocations: 0 / 0.6592 GB, free: 3.07 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.429e-05/0.1533, allocations: 0 / 0.6592 GB, free: 3.07 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.008578/0.1619, allocations: 2.68 MB / 0.6618 GB, free: 328 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.1619, allocations: 12.03 kB / 0.6618 GB, free: 316 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004991/0.1669, allocations: 0.7709 MB / 0.6626 GB, free: 15.54 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001724/0.1687, allocations: 0.8863 MB / 0.6634 GB, free: 14.59 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002831/0.169, allocations: 260.2 kB / 0.6637 GB, free: 14.3 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001837/0.1692, allocations: 84 kB / 0.6638 GB, free: 14.22 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002072/0.1712, allocations: 1.083 MB / 0.6648 GB, free: 13.12 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.1713, allocations: 3.984 kB / 0.6648 GB, free: 13.12 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-05/0.1714, allocations: 32 kB / 0.6649 GB, free: 13.09 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.674e-05/0.1714, allocations: 20 kB / 0.6649 GB, free: 13.07 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001973/0.1734, allocations: 0.9838 MB / 0.6658 GB, free: 12.09 MB / 478.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.006556/0.18, allocations: 3.8 MB / 0.6695 GB, free: 8.102 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007118/0.1871, allocations: 2.367 MB / 0.6719 GB, free: 5.641 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001384/0.1885, allocations: 0.68 MB / 0.6725 GB, free: 4.957 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001014/0.1886, allocations: 16.98 kB / 0.6725 GB, free: 4.941 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001522/0.1902, allocations: 0.8198 MB / 0.6733 GB, free: 4.105 MB / 478.1 MB Notification: Performance of pre-optimization done (n=95): time 3.166e-06/0.1902, allocations: 0 / 0.6733 GB, free: 4.105 MB / 478.1 MB Notification: Performance of matching and sorting (n=95): time 0.02841/0.2186, allocations: 7.186 MB / 0.6804 GB, free: 12.86 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.744e-05/0.2187, allocations: 119.8 kB / 0.6805 GB, free: 12.71 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001653/0.2204, allocations: 1.099 MB / 0.6815 GB, free: 11.6 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002051/0.2206, allocations: 41.7 kB / 0.6816 GB, free: 11.55 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003672/0.221, allocations: 492.8 kB / 0.682 GB, free: 11.07 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003661/0.2213, allocations: 355.1 kB / 0.6824 GB, free: 10.71 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004865/0.2218, allocations: 287.3 kB / 0.6827 GB, free: 10.43 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.32e-05/0.2219, allocations: 301.1 kB / 0.6829 GB, free: 10.13 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001489/0.2234, allocations: 0.7574 MB / 0.6837 GB, free: 9.375 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001594/0.225, allocations: 0.9225 MB / 0.6846 GB, free: 8.414 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02285/0.2479, allocations: 5.552 MB / 0.69 GB, free: 2.777 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.191e-05/0.2479, allocations: 0 / 0.69 GB, free: 2.777 MB / 494.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01305/0.261, allocations: 4.36 MB / 0.6943 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.481e-05/0.2611, allocations: 64.59 kB / 0.6943 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.117e-05/0.2612, allocations: 7.984 kB / 0.6943 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005517/0.2667, allocations: 1.592 MB / 0.6959 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/0.2681, allocations: 283.6 kB / 0.6962 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01864/0.2868, allocations: 8.494 MB / 0.7045 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001812/0.2886, allocations: 198.7 kB / 0.7046 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001379/0.2888, allocations: 59.91 kB / 0.7047 GB, free: 3.531 MB / 0.4981 GB Warning: Assuming fixed start value for the following 4 variables: order3.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 order3.delta:VARIABLE(flow=false start = order3.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 (160): * Single equations (assignments): 157 * 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 {(19,14,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006394/0.2894, allocations: 302.1 kB / 0.705 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000243/0.2897, allocations: 122.5 kB / 0.7051 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0125/0.3022, allocations: 3.873 MB / 0.7089 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.979e-05/0.3023, allocations: 8 kB / 0.7089 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.659e-05/0.3023, allocations: 8 kB / 0.7089 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-05/0.3023, allocations: 7.969 kB / 0.7089 GB, free: 15.18 MB / 0.5137 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.0143/0.3166, allocations: 5.452 MB / 0.7142 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/0.3167, allocations: 4 kB / 0.7142 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006184/0.3173, allocations: 95.89 kB / 0.7143 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005354/0.3227, allocations: 1.611 MB / 0.7159 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001799/0.3229, allocations: 19.98 kB / 0.7159 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01924/0.3421, allocations: 9.638 MB / 0.7253 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.3422, allocations: 7.922 kB / 0.7253 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.014/0.3562, allocations: 4.723 MB / 0.73 GB, free: 9.18 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004794/0.3567, allocations: 223.3 kB / 0.7302 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001906/0.3569, allocations: 19.94 kB / 0.7302 GB, free: 8.922 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/0.3581, allocations: 107.9 kB / 0.7303 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005699/0.3586, allocations: 196.7 kB / 0.7305 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.94e-05/0.3587, allocations: 31.98 kB / 0.7305 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001035/0.3598, allocations: 0.7315 MB / 0.7312 GB, free: 7.852 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3598, allocations: 0 / 0.7312 GB, free: 7.852 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001405/0.3612, allocations: 471.5 kB / 0.7317 GB, free: 7.391 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,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 (63): * Single equations (assignments): 60 * 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.0002898/0.3615, allocations: 145.8 kB / 0.7318 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00596/0.3675, allocations: 2.521 MB / 0.7343 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.3675, allocations: 0 / 0.7343 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004105/0.3716, allocations: 1.592 MB / 0.7358 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000971/0.3726, allocations: 116.5 kB / 0.7359 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003869/0.3765, allocations: 2.245 MB / 0.7381 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006434/0.3771, allocations: 1.124 MB / 0.7392 GB, free: 15.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003419/0.3775, allocations: 83.41 kB / 0.7393 GB, free: 15.41 MB / 0.545 GB Notification: Performance of SimCode: time 4.4e-07/0.3775, allocations: 0 / 0.7393 GB, free: 15.41 MB / 0.545 GB Notification: Performance of Templates: time 0.02823/0.4057, allocations: 23.5 MB / 0.7623 GB, free: 7.906 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)