Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.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.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 174.8 kB / 12.73 MB, free: 2.59 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.284/1.284, allocations: 221.4 MB / 234.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000899/0.0008991, allocations: 92.92 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4575/0.4575, allocations: 78.08 MB / 414.6 MB, free: 11.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.204e-05/2.205e-05, allocations: 4 kB / 491.8 MB, free: 14.08 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2965, allocations: 69.34 MB / 0.548 GB, free: 20.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1207/0.4172, allocations: 98.1 MB / 0.6438 GB, free: 2.438 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002037/0.4175, allocations: 79.95 kB / 0.6439 GB, free: 2.359 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0819/0.4994, allocations: 29.96 MB / 0.6731 GB, free: 4.199 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.4994, allocations: 0 / 0.6731 GB, free: 4.199 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.925e-05/0.4995, allocations: 23.94 kB / 0.6732 GB, free: 4.176 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.004223/0.5037, allocations: 1.689 MB / 0.6748 GB, free: 2.426 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.5038, allocations: 11.97 kB / 0.6748 GB, free: 2.414 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003572/0.5074, allocations: 0.5525 MB / 0.6754 GB, free: 1.859 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001372/0.5088, allocations: 0.7761 MB / 0.6761 GB, free: 1.031 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000244/0.509, allocations: 234.5 kB / 0.6763 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001536/0.5092, allocations: 76 kB / 0.6764 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2703/0.7795, allocations: 0.9241 MB / 0.6773 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.04e-05/0.7795, allocations: 0 / 0.6773 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/0.7796, allocations: 30.69 kB / 0.6773 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.154e-05/0.7797, allocations: 18.23 kB / 0.6774 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001751/0.7814, allocations: 0.8369 MB / 0.6782 GB, free: 104.2 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.006588/0.788, allocations: 3.839 MB / 0.6819 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007277/0.7953, allocations: 2.606 MB / 0.6845 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008451/0.7962, allocations: 0.5362 MB / 0.685 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001153/0.7963, allocations: 20.36 kB / 0.685 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.7963, allocations: 42.31 kB / 0.685 GB, free: 102.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=92): time 2.755e-06/0.7963, allocations: 0 / 0.685 GB, free: 102.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=92): time 0.01123/0.8076, allocations: 3.896 MB / 0.6889 GB, free: 102.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.8076, allocations: 141 kB / 0.689 GB, free: 102.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/0.8087, allocations: 0.8778 MB / 0.6898 GB, free: 102 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.208e-05/0.8087, allocations: 40.58 kB / 0.6899 GB, free: 102 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002565/0.809, allocations: 0.5099 MB / 0.6904 GB, free: 101.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002294/0.8092, allocations: 322.8 kB / 0.6907 GB, free: 101.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.117e-05/0.8093, allocations: 20.22 kB / 0.6907 GB, free: 101.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.505e-05/0.8094, allocations: 346.1 kB / 0.691 GB, free: 101.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006222/0.81, allocations: 432.3 kB / 0.6915 GB, free: 101.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006785/0.8107, allocations: 0.5654 MB / 0.692 GB, free: 101.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007026/0.8114, allocations: 0.5359 MB / 0.6925 GB, free: 101 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.8114, allocations: 0 / 0.6925 GB, free: 101 MB / 490.7 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.01084/0.8223, allocations: 4.067 MB / 0.6965 GB, free: 100.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001859/0.8225, allocations: 1.202 MB / 0.6977 GB, free: 98.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.8225, allocations: 3.312 kB / 0.6977 GB, free: 98.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004699/0.8272, allocations: 1.469 MB / 0.6991 GB, free: 98.51 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008604/0.8281, allocations: 163.6 kB / 0.6993 GB, free: 98.51 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01179/0.8399, allocations: 6.586 MB / 0.7057 GB, free: 94.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/0.8413, allocations: 183 kB / 0.7059 GB, free: 94.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.583e-05/0.8414, allocations: 37.39 kB / 0.7059 GB, free: 94.88 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.566e-06/0.8414, allocations: 5.031 kB / 0.7059 GB, free: 94.88 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01095/0.8524, allocations: 3.937 MB / 0.7098 GB, free: 93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.8524, allocations: 5.484 kB / 0.7098 GB, free: 93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004585/0.857, allocations: 1.462 MB / 0.7112 GB, free: 91.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007951/0.8578, allocations: 158.4 kB / 0.7113 GB, free: 91.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01541/0.8732, allocations: 6.569 MB / 0.7178 GB, free: 85.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00218/0.8754, allocations: 184.1 kB / 0.7179 GB, free: 85.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001483/0.8756, allocations: 35.61 kB / 0.718 GB, free: 85.62 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3.delta:VARIABLE(start = order3.delta0 unit = "rad" ) "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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * 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 {18 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004103/0.876, allocations: 194 kB / 0.7182 GB, free: 85.44 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003902/0.8764, allocations: 122.5 kB / 0.7183 GB, free: 85.32 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01682/0.8933, allocations: 4.001 MB / 0.7222 GB, free: 82.18 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.69e-05/0.8934, allocations: 11.75 kB / 0.7222 GB, free: 82.17 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.877e-05/0.8934, allocations: 11.95 kB / 0.7222 GB, free: 82.16 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.74e-05/0.8935, allocations: 3.797 kB / 0.7222 GB, free: 82.16 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01907/0.9125, allocations: 5.614 MB / 0.7277 GB, free: 77.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.992e-05/0.9126, allocations: 4.031 kB / 0.7277 GB, free: 77.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/0.9137, allocations: 111.9 kB / 0.7278 GB, free: 77.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006193/0.9199, allocations: 1.422 MB / 0.7292 GB, free: 76.17 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001987/0.9201, allocations: 20 kB / 0.7292 GB, free: 76.15 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01653/0.9367, allocations: 5.745 MB / 0.7348 GB, free: 70.27 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.9367, allocations: 4 kB / 0.7348 GB, free: 70.27 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01839/0.9551, allocations: 4.712 MB / 0.7394 GB, free: 65.53 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006023/0.9558, allocations: 223.4 kB / 0.7396 GB, free: 65.29 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00027/0.9561, allocations: 16 kB / 0.7396 GB, free: 65.28 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001864/0.9579, allocations: 139.9 kB / 0.7398 GB, free: 65.14 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007714/0.9587, allocations: 184.4 kB / 0.74 GB, free: 64.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001191/0.9589, allocations: 20 kB / 0.74 GB, free: 64.94 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001347/0.9602, allocations: 0.6895 MB / 0.7406 GB, free: 64.24 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.9602, allocations: 192 / 0.7406 GB, free: 64.24 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002585/0.9628, allocations: 0.6682 MB / 0.7413 GB, free: 63.58 MB / 490.7 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.firstOrder.y,aVRTypeII.firstOrder2.y,aVRTypeII.transferFunction.x_scaled[1],aVRTypeII.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 64 * 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: 1 * 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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000317/0.9632, allocations: 165.5 kB / 0.7415 GB, free: 63.42 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01157/0.9747, allocations: 3.559 MB / 0.7449 GB, free: 59.79 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.824e-06/0.9748, allocations: 0 / 0.7449 GB, free: 59.79 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005271/0.9801, allocations: 1.436 MB / 0.7463 GB, free: 58.33 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/0.9815, allocations: 113.5 kB / 0.7464 GB, free: 58.22 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004369/0.9859, allocations: 1.708 MB / 0.7481 GB, free: 56.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006565/0.9865, allocations: 1.154 MB / 0.7492 GB, free: 55.32 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0013/0.9879, allocations: 200 kB / 0.7494 GB, free: 55.13 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002599/0.9881, allocations: 51.44 kB / 0.7495 GB, free: 55.08 MB / 490.7 MB Notification: Performance of SimCode: time 7.61e-07/0.9881, allocations: 0 / 0.7495 GB, free: 55.08 MB / 490.7 MB Notification: Performance of Templates: time 0.05845/1.047, allocations: 27.74 MB / 0.7766 GB, free: 27.55 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe 2>&1)