Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.004903/0.004903, allocations: 173.4 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.416/1.416, allocations: 205.4 MB / 221.2 MB, free: 13.81 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.0009591/0.0009589, allocations: 98.86 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08079/0.08079, allocations: 12.6 MB / 330.5 MB, free: 10.28 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4259/0.4259, allocations: 78.51 MB / 460 MB, free: 3.461 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005765/0.0005765, allocations: 21.89 kB / 0.5285 GB, free: 35.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1374, allocations: 69.34 MB / 0.5962 GB, free: 3.816 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4053/0.5427, allocations: 100.2 MB / 0.6941 GB, free: 98.32 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/0.543, allocations: 80.64 kB / 0.6941 GB, free: 98.32 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07755/0.6206, allocations: 30.56 MB / 0.724 GB, free: 86.77 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.6206, allocations: 0 / 0.724 GB, free: 86.77 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001036/0.6208, allocations: 24 kB / 0.724 GB, free: 86.75 MB / 474.7 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.005418/0.6262, allocations: 2.001 MB / 0.7259 GB, free: 84.68 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.6262, allocations: 15.98 kB / 0.726 GB, free: 84.66 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003587/0.6298, allocations: 0.5602 MB / 0.7265 GB, free: 84.1 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001798/0.6316, allocations: 0.7975 MB / 0.7273 GB, free: 83.25 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002613/0.6319, allocations: 268.2 kB / 0.7275 GB, free: 82.95 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000241/0.6322, allocations: 75.94 kB / 0.7276 GB, free: 82.88 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00212/0.6343, allocations: 1.133 MB / 0.7287 GB, free: 81.73 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.6343, allocations: 0 / 0.7287 GB, free: 81.73 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-05/0.6345, allocations: 35.98 kB / 0.7288 GB, free: 81.7 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.598e-05/0.6345, allocations: 27.95 kB / 0.7288 GB, free: 81.67 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001941/0.6364, allocations: 1.035 MB / 0.7298 GB, free: 80.63 MB / 474.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.006281/0.6427, allocations: 3.797 MB / 0.7335 GB, free: 76.66 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006924/0.6497, allocations: 2.88 MB / 0.7363 GB, free: 73.68 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.93e-05/0.6498, allocations: 20.98 kB / 0.7363 GB, free: 73.66 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001463/0.6512, allocations: 0.8685 MB / 0.7372 GB, free: 72.78 MB / 474.7 MB Notification: Performance of pre-optimization done (n=95): time 5.35e-06/0.6513, allocations: 0 / 0.7372 GB, free: 72.78 MB / 474.7 MB Notification: Performance of matching and sorting (n=95): time 0.02697/0.6782, allocations: 8.548 MB / 0.7455 GB, free: 64.17 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.6783, allocations: 115.8 kB / 0.7456 GB, free: 64.03 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001716/0.6801, allocations: 0.9214 MB / 0.7465 GB, free: 63.1 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001763/0.6803, allocations: 41.7 kB / 0.7466 GB, free: 63.05 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003024/0.6806, allocations: 0.509 MB / 0.7471 GB, free: 62.54 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003679/0.6809, allocations: 343.1 kB / 0.7474 GB, free: 62.2 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.243e-05/0.681, allocations: 16 kB / 0.7474 GB, free: 62.18 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.959e-05/0.6811, allocations: 345.9 kB / 0.7478 GB, free: 61.84 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001187/0.6823, allocations: 0.6422 MB / 0.7484 GB, free: 61.19 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001244/0.6836, allocations: 0.779 MB / 0.7491 GB, free: 60.37 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001267/0.6848, allocations: 0.743 MB / 0.7499 GB, free: 59.62 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.6849, allocations: 0 / 0.7499 GB, free: 59.62 MB / 474.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.01216/0.697, allocations: 4.673 MB / 0.7544 GB, free: 54.92 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.921e-05/0.6971, allocations: 62.02 kB / 0.7545 GB, free: 54.85 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.6971, allocations: 4 kB / 0.7545 GB, free: 54.84 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00591/0.7031, allocations: 1.912 MB / 0.7564 GB, free: 52.93 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/0.7042, allocations: 183.7 kB / 0.7565 GB, free: 52.75 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01861/0.7228, allocations: 9.468 MB / 0.7658 GB, free: 43.14 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001926/0.7248, allocations: 199.1 kB / 0.766 GB, free: 42.95 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002675/0.7251, allocations: 39.98 kB / 0.766 GB, free: 42.91 MB / 474.7 MB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(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 (94): * Single equations (assignments): 91 * 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.0009807/0.7261, allocations: 287.2 kB / 0.7663 GB, free: 42.61 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004975/0.7266, allocations: 130.4 kB / 0.7664 GB, free: 42.48 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01291/0.7395, allocations: 4.725 MB / 0.771 GB, free: 37.73 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.875e-05/0.7396, allocations: 12 kB / 0.771 GB, free: 37.72 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.927e-05/0.7396, allocations: 4 kB / 0.771 GB, free: 37.71 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.2e-05/0.7397, allocations: 7.984 kB / 0.771 GB, free: 37.71 MB / 474.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.01491/0.7546, allocations: 6.285 MB / 0.7772 GB, free: 31.31 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/0.7546, allocations: 4 kB / 0.7772 GB, free: 31.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006196/0.7552, allocations: 95.89 kB / 0.7773 GB, free: 31.21 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005141/0.7604, allocations: 1.88 MB / 0.7791 GB, free: 29.32 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001766/0.7606, allocations: 20 kB / 0.7791 GB, free: 29.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01821/0.7788, allocations: 10.14 MB / 0.789 GB, free: 18.88 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.7789, allocations: 0 / 0.789 GB, free: 18.88 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01436/0.7932, allocations: 5.658 MB / 0.7946 GB, free: 13.18 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005784/0.7939, allocations: 227.2 kB / 0.7948 GB, free: 12.94 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004237/0.7943, allocations: 20 kB / 0.7948 GB, free: 12.92 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001528/0.7959, allocations: 143.9 kB / 0.7949 GB, free: 12.78 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006392/0.7965, allocations: 200.6 kB / 0.7951 GB, free: 12.58 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001153/0.7966, allocations: 23.98 kB / 0.7951 GB, free: 12.56 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001236/0.7979, allocations: 0.7276 MB / 0.7959 GB, free: 11.82 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7979, allocations: 0 / 0.7959 GB, free: 11.82 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001813/0.7997, allocations: 435.5 kB / 0.7963 GB, free: 11.4 MB / 474.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.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.0003561/0.8001, allocations: 147.1 kB / 0.7964 GB, free: 11.25 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005462/0.8056, allocations: 2.462 MB / 0.7988 GB, free: 8.746 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.8056, allocations: 4.062 kB / 0.7988 GB, free: 8.742 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004023/0.8096, allocations: 1.818 MB / 0.8006 GB, free: 6.887 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.8107, allocations: 104.5 kB / 0.8007 GB, free: 6.785 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004087/0.8148, allocations: 2.574 MB / 0.8032 GB, free: 4.184 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005838/0.8154, allocations: 1.143 MB / 0.8043 GB, free: 3.008 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004447/0.8158, allocations: 94.77 kB / 0.8044 GB, free: 2.91 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002578/0.8161, allocations: 67.42 kB / 0.8045 GB, free: 2.844 MB / 474.7 MB Notification: Performance of SimCode: time 6.51e-07/0.8161, allocations: 0 / 0.8045 GB, free: 2.844 MB / 474.7 MB Notification: Performance of Templates: time 0.03437/0.8505, allocations: 20.58 MB / 0.8246 GB, free: 14.3 MB / 0.4948 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)