Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004681/0.004682, allocations: 170.7 kB / 15.12 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 223.2 MB / 239 MB, free: 1.793 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009254/0.0009253, allocations: 105 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4362/0.4362, allocations: 78.58 MB / 419.9 MB, free: 44.2 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003602/0.0003603, allocations: 20 kB / 499.8 MB, free: 2.969 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3885/0.3889, allocations: 69.34 MB / 0.5558 GB, free: 38.66 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.005666/0.3946, allocations: 5.843 MB / 0.5615 GB, free: 37.49 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004287/0.3989, allocations: 1.994 MB / 0.5634 GB, free: 36.08 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008292/0.3998, allocations: 11.88 kB / 0.5634 GB, free: 36.08 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006538/0.4004, allocations: 174.5 kB / 0.5636 GB, free: 36 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001907/0.4024, allocations: 0.7358 MB / 0.5643 GB, free: 35.52 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00124/0.4036, allocations: 0.5344 MB / 0.5648 GB, free: 35.26 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001707/0.4053, allocations: 1.038 MB / 0.5659 GB, free: 34.7 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004596/0.4058, allocations: 270.4 kB / 0.5661 GB, free: 34.58 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001073/0.4069, allocations: 0.589 MB / 0.5667 GB, free: 34.32 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008187/0.4077, allocations: 0.7553 MB / 0.5674 GB, free: 34 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001469/0.4079, allocations: 63.84 kB / 0.5675 GB, free: 34 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000511/0.4084, allocations: 174.7 kB / 0.5677 GB, free: 33.97 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002141/0.4086, allocations: 267.6 kB / 0.5679 GB, free: 33.82 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00022/0.4088, allocations: 232.7 kB / 0.5681 GB, free: 33.67 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009903/0.4098, allocations: 1.244 MB / 0.5693 GB, free: 33.31 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.4098, allocations: 3.938 kB / 0.5694 GB, free: 33.31 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4098, allocations: 3.094 kB / 0.5694 GB, free: 33.31 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.267e-05/0.4099, allocations: 0 / 0.5694 GB, free: 33.31 MB / 426.7 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.008289/0.4182, allocations: 2.605 MB / 0.5719 GB, free: 32.16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.4182, allocations: 10.94 kB / 0.5719 GB, free: 32.16 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004913/0.4231, allocations: 0.7796 MB / 0.5727 GB, free: 32.01 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001902/0.4251, allocations: 0.8902 MB / 0.5735 GB, free: 31.43 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002514/0.4253, allocations: 264.8 kB / 0.5738 GB, free: 31.21 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001592/0.4255, allocations: 84.06 kB / 0.5739 GB, free: 31.18 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00207/0.4276, allocations: 1.158 MB / 0.575 GB, free: 30.76 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.4276, allocations: 3.938 kB / 0.575 GB, free: 30.75 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.303e-05/0.4277, allocations: 33.09 kB / 0.575 GB, free: 30.73 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/0.4277, allocations: 23.67 kB / 0.5751 GB, free: 30.72 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001941/0.4297, allocations: 1.057 MB / 0.5761 GB, free: 30.38 MB / 426.7 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.006326/0.436, allocations: 4.208 MB / 0.5802 GB, free: 27.88 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007433/0.4435, allocations: 2.94 MB / 0.5831 GB, free: 26.97 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001228/0.4436, allocations: 20.39 kB / 0.5831 GB, free: 26.96 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001558/0.4452, allocations: 0.8885 MB / 0.584 GB, free: 26.64 MB / 426.7 MB Notification: Performance of pre-optimization done (n=98): time 2.915e-06/0.4452, allocations: 0 / 0.584 GB, free: 26.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=98): time 0.02949/0.4747, allocations: 8.606 MB / 0.5924 GB, free: 25.06 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.192e-05/0.4748, allocations: 122.8 kB / 0.5925 GB, free: 24.93 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002001/0.4768, allocations: 1.123 MB / 0.5936 GB, free: 24.46 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002736/0.4771, allocations: 46.83 kB / 0.5936 GB, free: 24.42 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00032/0.4774, allocations: 0.5033 MB / 0.5941 GB, free: 24.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003518/0.4778, allocations: 367.8 kB / 0.5945 GB, free: 23.73 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.669e-05/0.4779, allocations: 34.31 kB / 0.5945 GB, free: 23.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.711e-05/0.478, allocations: 368.2 kB / 0.5949 GB, free: 23.37 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0018/0.4798, allocations: 0.8539 MB / 0.5957 GB, free: 23.06 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001838/0.4816, allocations: 1.02 MB / 0.5967 GB, free: 22.61 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001791/0.4834, allocations: 0.9855 MB / 0.5976 GB, free: 22.14 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.4835, allocations: 1.219 kB / 0.5976 GB, free: 22.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01636/0.4998, allocations: 5.305 MB / 0.6028 GB, free: 20.83 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.568e-05/0.4999, allocations: 64.02 kB / 0.6029 GB, free: 20.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.731e-05/0.5, allocations: 2.844 kB / 0.6029 GB, free: 20.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007587/0.5076, allocations: 2.013 MB / 0.6049 GB, free: 20.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001695/0.5093, allocations: 294.3 kB / 0.6051 GB, free: 20.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02231/0.5316, allocations: 10.83 MB / 0.6157 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002055/0.5337, allocations: 246.6 kB / 0.6159 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/0.5339, allocations: 51.98 kB / 0.616 GB, free: 11.97 MB / 426.7 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 aVRTypeII.firstOrder2.y:VARIABLE(flow=false start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" fixed = true ) "d-axis sub-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 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (171): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {20 13} Notification: Performance of prepare postOptimizeDAE: time 0.0005328/0.5344, allocations: 312.3 kB / 0.6163 GB, free: 11.65 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001815/0.5346, allocations: 126.4 kB / 0.6164 GB, free: 11.53 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01248/0.5471, allocations: 4.764 MB / 0.6211 GB, free: 6.738 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.467e-05/0.5471, allocations: 8 kB / 0.6211 GB, free: 6.73 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.5471, allocations: 8 kB / 0.6211 GB, free: 6.723 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.152e-05/0.5472, allocations: 3.984 kB / 0.6211 GB, free: 6.719 MB / 426.7 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.01446/0.5616, allocations: 6.446 MB / 0.6274 GB, free: 152 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/0.5617, allocations: 0 / 0.6274 GB, free: 152 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007211/0.5624, allocations: 103.9 kB / 0.6275 GB, free: 48 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00621/0.5686, allocations: 1.879 MB / 0.6293 GB, free: 14.16 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002638/0.5689, allocations: 23.95 kB / 0.6293 GB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02151/0.5904, allocations: 10.12 MB / 0.6392 GB, free: 3.734 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.5905, allocations: 176 / 0.6392 GB, free: 3.734 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0161/0.6066, allocations: 5.712 MB / 0.6448 GB, free: 13.98 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000554/0.6072, allocations: 243.1 kB / 0.645 GB, free: 13.72 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000385/0.6076, allocations: 24 kB / 0.6451 GB, free: 13.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001543/0.6091, allocations: 143.9 kB / 0.6452 GB, free: 13.56 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005835/0.6097, allocations: 196.6 kB / 0.6454 GB, free: 13.37 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001109/0.6098, allocations: 24 kB / 0.6454 GB, free: 13.34 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001243/0.6111, allocations: 0.7673 MB / 0.6461 GB, free: 12.57 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6111, allocations: 0 / 0.6461 GB, free: 12.57 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001723/0.6128, allocations: 491.6 kB / 0.6466 GB, free: 12.09 MB / 458.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(20,23.0%) 12} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002714/0.6131, allocations: 135.2 kB / 0.6467 GB, free: 11.95 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007195/0.6203, allocations: 2.99 MB / 0.6497 GB, free: 8.91 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.6203, allocations: 0.75 kB / 0.6497 GB, free: 8.91 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004599/0.6249, allocations: 1.827 MB / 0.6515 GB, free: 7.043 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007475/0.6257, allocations: 100.5 kB / 0.6515 GB, free: 6.945 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004141/0.6299, allocations: 2.891 MB / 0.6544 GB, free: 4.051 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006812/0.6306, allocations: 1.155 MB / 0.6555 GB, free: 2.859 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004925/0.6311, allocations: 124.3 kB / 0.6556 GB, free: 2.734 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002806/0.6313, allocations: 75.42 kB / 0.6557 GB, free: 2.66 MB / 458.7 MB Notification: Performance of SimCode: time 6.41e-07/0.6314, allocations: 0 / 0.6557 GB, free: 2.66 MB / 458.7 MB Notification: Performance of Templates: time 0.03344/0.6648, allocations: 22.14 MB / 0.6773 GB, free: 12.54 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)