Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001323/0.001323, allocations: 174.7 kB / 7.644 MB, free: 1.41 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.249/1.249, allocations: 205.3 MB / 213.4 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008249/0.0008247, allocations: 89.66 kB / 261.4 MB, free: 13.44 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06541/0.06541, allocations: 12.59 MB / 321.9 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2852/0.2852, allocations: 78.06 MB / 450.8 MB, free: 3.023 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.328e-05/1.329e-05, allocations: 4 kB / 0.5147 GB, free: 29.59 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1289, allocations: 69.33 MB / 0.5824 GB, free: 8.375 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3832/0.5121, allocations: 100.4 MB / 0.6804 GB, free: 7.543 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001918/0.5124, allocations: 86.12 kB / 0.6805 GB, free: 7.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08102/0.5934, allocations: 31.37 MB / 0.7111 GB, free: 13.63 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.926e-06/0.5935, allocations: 0 / 0.7111 GB, free: 13.63 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.952e-05/0.5935, allocations: 23.94 kB / 0.7112 GB, free: 13.61 MB / 458.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.00422/0.5978, allocations: 1.754 MB / 0.7129 GB, free: 11.91 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.5978, allocations: 12.03 kB / 0.7129 GB, free: 11.9 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003487/0.6013, allocations: 0.5739 MB / 0.7134 GB, free: 11.38 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00148/0.6028, allocations: 0.7936 MB / 0.7142 GB, free: 10.71 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002819/0.6031, allocations: 240.2 kB / 0.7145 GB, free: 10.44 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001534/0.6033, allocations: 47.19 kB / 0.7145 GB, free: 10.4 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001366/0.6046, allocations: 0.8115 MB / 0.7153 GB, free: 9.906 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/0.606, allocations: 0.8488 MB / 0.7161 GB, free: 9.32 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.6061, allocations: 3.938 kB / 0.7161 GB, free: 9.316 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.43e-05/0.6061, allocations: 0 / 0.7161 GB, free: 9.316 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/0.6062, allocations: 20 kB / 0.7161 GB, free: 9.297 MB / 458.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.006505/0.6127, allocations: 3.756 MB / 0.7198 GB, free: 6.309 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007401/0.6201, allocations: 2.649 MB / 0.7224 GB, free: 3.914 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001109/0.6213, allocations: 0.5263 MB / 0.7229 GB, free: 3.625 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001191/0.6214, allocations: 19.83 kB / 0.7229 GB, free: 3.609 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001015/0.6224, allocations: 0.671 MB / 0.7236 GB, free: 3.145 MB / 458.7 MB Notification: Performance of pre-optimization done (n=98): time 2.735e-06/0.6224, allocations: 0 / 0.7236 GB, free: 3.145 MB / 458.7 MB Notification: Performance of matching and sorting (n=98): time 0.01186/0.6343, allocations: 3.971 MB / 0.7275 GB, free: 15.7 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.08e-05/0.6344, allocations: 111.6 kB / 0.7276 GB, free: 15.57 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/0.6357, allocations: 0.8553 MB / 0.7284 GB, free: 14.95 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002163/0.6359, allocations: 25.7 kB / 0.7284 GB, free: 14.91 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003264/0.6362, allocations: 0.5296 MB / 0.7289 GB, free: 14.62 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003968/0.6366, allocations: 339 kB / 0.7293 GB, free: 14.33 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.122e-05/0.6367, allocations: 32 / 0.7293 GB, free: 14.33 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.6368, allocations: 347.5 kB / 0.7296 GB, free: 14 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007004/0.6375, allocations: 461.3 kB / 0.73 GB, free: 13.76 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000738/0.6383, allocations: 0.5735 MB / 0.7306 GB, free: 13.38 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007427/0.639, allocations: 0.4939 MB / 0.7311 GB, free: 13.09 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.6391, allocations: 4 kB / 0.7311 GB, free: 13.09 MB / 474.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.01192/0.651, allocations: 4.064 MB / 0.7351 GB, free: 9.547 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.331e-05/0.6511, allocations: 64.77 kB / 0.7351 GB, free: 9.473 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/0.6511, allocations: 7.938 kB / 0.7351 GB, free: 9.465 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0059/0.657, allocations: 1.596 MB / 0.7367 GB, free: 8.07 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/0.6581, allocations: 178.5 kB / 0.7369 GB, free: 7.902 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01446/0.6726, allocations: 7.887 MB / 0.7446 GB, free: 136 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001793/0.6744, allocations: 179.1 kB / 0.7447 GB, free: 15.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001673/0.6746, allocations: 39.98 kB / 0.7448 GB, free: 15.92 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 95 * 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.0003454/0.6749, allocations: 163.6 kB / 0.7449 GB, free: 15.74 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000274/0.6752, allocations: 126.4 kB / 0.745 GB, free: 15.62 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01166/0.6869, allocations: 4.083 MB / 0.749 GB, free: 11.51 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-05/0.6869, allocations: 8 kB / 0.749 GB, free: 11.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/0.687, allocations: 11.98 kB / 0.749 GB, free: 11.49 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.666e-05/0.687, allocations: 3.984 kB / 0.7491 GB, free: 11.49 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.01362/0.7006, allocations: 5.585 MB / 0.7545 GB, free: 5.809 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-05/0.7007, allocations: 3.984 kB / 0.7545 GB, free: 5.805 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007423/0.7014, allocations: 107.8 kB / 0.7546 GB, free: 5.699 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004631/0.7061, allocations: 1.481 MB / 0.7561 GB, free: 4.211 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002112/0.7063, allocations: 11.98 kB / 0.7561 GB, free: 4.199 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01308/0.7194, allocations: 7.531 MB / 0.7634 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/0.7194, allocations: 3.953 kB / 0.7634 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01294/0.7324, allocations: 4.84 MB / 0.7682 GB, free: 7.539 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005135/0.7329, allocations: 227.3 kB / 0.7684 GB, free: 7.297 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001944/0.7332, allocations: 0 / 0.7684 GB, free: 7.297 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001226/0.7344, allocations: 131.9 kB / 0.7685 GB, free: 7.168 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000527/0.7349, allocations: 201 kB / 0.7687 GB, free: 6.973 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.742e-05/0.735, allocations: 31.94 kB / 0.7687 GB, free: 6.941 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0008599/0.7359, allocations: 0.6497 MB / 0.7694 GB, free: 6.285 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7359, allocations: 4 kB / 0.7694 GB, free: 6.281 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001308/0.7372, allocations: 419.4 kB / 0.7698 GB, free: 5.871 MB / 0.4948 GB 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 () * 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.000275/0.7375, allocations: 131.2 kB / 0.7699 GB, free: 5.73 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004991/0.7425, allocations: 2.175 MB / 0.772 GB, free: 3.508 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.7425, allocations: 0 / 0.772 GB, free: 3.508 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003768/0.7463, allocations: 1.577 MB / 0.7735 GB, free: 1.902 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008107/0.7471, allocations: 95.61 kB / 0.7736 GB, free: 1.812 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003305/0.7504, allocations: 1.863 MB / 0.7755 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007055/0.7512, allocations: 1.155 MB / 0.7766 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004992/0.7517, allocations: 102.8 kB / 0.7767 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000253/0.7519, allocations: 67.42 kB / 0.7767 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of SimCode: time 5.21e-07/0.7519, allocations: 0 / 0.7767 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of Templates: time 0.02951/0.7815, allocations: 19.65 MB / 0.7959 GB, free: 10.93 MB / 0.5261 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)