Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.0009213/0.0009215, allocations: 98.53 kB / 15.05 MB, free: 1.105 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.293/1.293, allocations: 223.2 MB / 238.9 MB, free: 5.645 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.001394/0.001394, allocations: 189 kB / 290.2 MB, free: 2.332 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4771/0.4771, allocations: 78.53 MB / 419.8 MB, free: 4.336 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000403/0.0004033, allocations: 15.98 kB / 499.7 MB, free: 6.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1435, allocations: 69.36 MB / 0.5557 GB, free: 1.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.2331/0.3767, allocations: 5.683 MB / 0.5612 GB, free: 37.32 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003847/0.3806, allocations: 1.935 MB / 0.5631 GB, free: 37.05 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007978/0.3814, allocations: 8.844 kB / 0.5631 GB, free: 37.05 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007319/0.3822, allocations: 168.1 kB / 0.5633 GB, free: 36.99 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002048/0.3842, allocations: 0.7081 MB / 0.564 GB, free: 36.91 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001138/0.3854, allocations: 0.5196 MB / 0.5645 GB, free: 36.89 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001353/0.3867, allocations: 0.9841 MB / 0.5654 GB, free: 36.84 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003796/0.3871, allocations: 261.4 kB / 0.5657 GB, free: 36.8 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007033/0.3878, allocations: 0.5602 MB / 0.5662 GB, free: 36.69 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008045/0.3886, allocations: 0.712 MB / 0.5669 GB, free: 36.55 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001651/0.3888, allocations: 65.56 kB / 0.567 GB, free: 36.55 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004389/0.3893, allocations: 164.8 kB / 0.5672 GB, free: 36.55 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002397/0.3895, allocations: 253.4 kB / 0.5674 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002231/0.3897, allocations: 229.9 kB / 0.5676 GB, free: 36.42 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.3908, allocations: 1.188 MB / 0.5688 GB, free: 36.24 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.3908, allocations: 0 / 0.5688 GB, free: 36.24 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.3908, allocations: 1.219 kB / 0.5688 GB, free: 36.24 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.654e-05/0.3908, allocations: 0 / 0.5688 GB, free: 36.24 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.008151/0.399, allocations: 2.512 MB / 0.5712 GB, free: 35.3 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.399, allocations: 10.41 kB / 0.5712 GB, free: 35.3 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004944/0.404, allocations: 0.7887 MB / 0.572 GB, free: 35.21 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001644/0.4056, allocations: 0.8467 MB / 0.5728 GB, free: 34.84 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000294/0.4059, allocations: 272.2 kB / 0.5731 GB, free: 34.64 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001942/0.4062, allocations: 80.34 kB / 0.5732 GB, free: 34.64 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002113/0.4083, allocations: 1.134 MB / 0.5743 GB, free: 34.34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.4083, allocations: 0 / 0.5743 GB, free: 34.34 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.036e-05/0.4084, allocations: 32.84 kB / 0.5743 GB, free: 34.31 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/0.4084, allocations: 17.03 kB / 0.5743 GB, free: 34.31 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001853/0.4103, allocations: 1.046 MB / 0.5754 GB, free: 33.97 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.005759/0.416, allocations: 4.097 MB / 0.5794 GB, free: 31.52 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007341/0.4234, allocations: 2.905 MB / 0.5822 GB, free: 30.64 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001094/0.4235, allocations: 20.56 kB / 0.5822 GB, free: 30.63 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001474/0.425, allocations: 0.8676 MB / 0.5831 GB, free: 30.3 MB / 430.1 MB Notification: Performance of pre-optimization done (n=95): time 2.584e-06/0.425, allocations: 2.562 kB / 0.5831 GB, free: 30.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.03104/0.4561, allocations: 8.761 MB / 0.5916 GB, free: 28.74 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.4562, allocations: 118.9 kB / 0.5917 GB, free: 28.61 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001814/0.458, allocations: 1.081 MB / 0.5928 GB, free: 28.16 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002339/0.4582, allocations: 42.14 kB / 0.5928 GB, free: 28.12 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003149/0.4586, allocations: 498.6 kB / 0.5933 GB, free: 27.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003376/0.4589, allocations: 351.8 kB / 0.5936 GB, free: 27.46 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.647e-05/0.459, allocations: 30.53 kB / 0.5937 GB, free: 27.43 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.389e-05/0.4591, allocations: 369.7 kB / 0.594 GB, free: 27.1 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001603/0.4607, allocations: 0.8125 MB / 0.5948 GB, free: 26.81 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001728/0.4625, allocations: 0.9752 MB / 0.5958 GB, free: 26.38 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001768/0.4642, allocations: 0.9415 MB / 0.5967 GB, free: 25.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.336e-06/0.4643, allocations: 1.25 kB / 0.5967 GB, free: 25.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01499/0.4793, allocations: 5.143 MB / 0.6017 GB, free: 24.68 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.949e-05/0.4794, allocations: 60.22 kB / 0.6018 GB, free: 24.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/0.4794, allocations: 3.531 kB / 0.6018 GB, free: 24.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00691/0.4863, allocations: 1.907 MB / 0.6036 GB, free: 24.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001608/0.4879, allocations: 293.3 kB / 0.6039 GB, free: 24.28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02221/0.5102, allocations: 9.497 MB / 0.6132 GB, free: 18.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002097/0.5123, allocations: 234.7 kB / 0.6134 GB, free: 18.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002813/0.5126, allocations: 56.91 kB / 0.6135 GB, free: 18.68 MB / 430.1 MB 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 aVRTypeII.firstOrder2.y:VARIABLE(flow=false start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order3.e1q:VARIABLE(start = order3.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 ($whenCondition1,$whenCondition2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {19 14} Notification: Performance of prepare postOptimizeDAE: time 0.0007157/0.5133, allocations: 305.2 kB / 0.6138 GB, free: 18.37 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003124/0.5137, allocations: 126.4 kB / 0.6139 GB, free: 18.24 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01257/0.5262, allocations: 4.713 MB / 0.6185 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.47e-05/0.5263, allocations: 8.875 kB / 0.6185 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.142e-05/0.5263, allocations: 13.86 kB / 0.6185 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.123e-05/0.5264, allocations: 7.938 kB / 0.6185 GB, free: 13.48 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.01444/0.5408, allocations: 6.344 MB / 0.6247 GB, free: 7.008 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.408e-05/0.5409, allocations: 0 / 0.6247 GB, free: 7.008 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006528/0.5415, allocations: 103.8 kB / 0.6248 GB, free: 6.906 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005672/0.5472, allocations: 1.884 MB / 0.6266 GB, free: 5.016 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002454/0.5475, allocations: 20 kB / 0.6267 GB, free: 4.996 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02093/0.5685, allocations: 10.11 MB / 0.6365 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.5685, allocations: 0 / 0.6365 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01611/0.5846, allocations: 5.651 MB / 0.6421 GB, free: 4.918 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005199/0.5852, allocations: 223.4 kB / 0.6423 GB, free: 4.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003583/0.5856, allocations: 20.94 kB / 0.6423 GB, free: 4.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001369/0.5869, allocations: 147.9 kB / 0.6424 GB, free: 4.516 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005891/0.5875, allocations: 188.7 kB / 0.6426 GB, free: 4.332 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001173/0.5877, allocations: 32 kB / 0.6426 GB, free: 4.301 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001185/0.5889, allocations: 0.7236 MB / 0.6433 GB, free: 3.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5889, allocations: 0 / 0.6433 GB, free: 3.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001778/0.5907, allocations: 475.5 kB / 0.6438 GB, free: 3.105 MB / 446.1 MB 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 (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.0003154/0.591, allocations: 138.1 kB / 0.6439 GB, free: 2.961 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00658/0.5976, allocations: 2.773 MB / 0.6466 GB, free: 160 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.5976, allocations: 0 / 0.6466 GB, free: 160 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00462/0.6022, allocations: 1.802 MB / 0.6484 GB, free: 14.32 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009699/0.6032, allocations: 105.5 kB / 0.6485 GB, free: 14.21 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00413/0.6074, allocations: 2.585 MB / 0.651 GB, free: 11.64 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007068/0.6081, allocations: 1.147 MB / 0.6521 GB, free: 10.46 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004924/0.6086, allocations: 120.7 kB / 0.6523 GB, free: 10.35 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002785/0.6089, allocations: 77.89 kB / 0.6523 GB, free: 10.27 MB / 462.1 MB Notification: Performance of SimCode: time 8.62e-07/0.6089, allocations: 0 / 0.6523 GB, free: 10.27 MB / 462.1 MB Notification: Performance of Templates: time 0.03479/0.6437, allocations: 21.31 MB / 0.6731 GB, free: 5.148 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1) Environment - environmentSimulation: