Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_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.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009582/0.0009582, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.257/1.257, allocations: 221.5 MB / 229.6 MB, free: 3.176 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.0008152/0.0008151, allocations: 96.61 kB / 280.5 MB, free: 1.145 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4498/0.4498, allocations: 78.93 MB / 410.2 MB, free: 14.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.157e-05/2.184e-05, allocations: 4 kB / 485.9 MB, free: 3.254 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3393, allocations: 69.51 MB / 0.5424 GB, free: 21.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1268/0.4662, allocations: 98.81 MB / 0.6389 GB, free: 4.973 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002039/0.4665, allocations: 83.95 kB / 0.639 GB, free: 4.891 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0998/0.5663, allocations: 36.61 MB / 0.6748 GB, free: 24 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5663, allocations: 0 / 0.6748 GB, free: 24 kB / 490.7 MB Notification: Performance of Transformations before backend: time 0.2933/0.8596, allocations: 27.67 kB / 0.6748 GB, free: 105.8 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.005758/0.8654, allocations: 1.688 MB / 0.6764 GB, free: 105.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/0.8655, allocations: 8.406 kB / 0.6764 GB, free: 105.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004003/0.8695, allocations: 0.5582 MB / 0.677 GB, free: 105.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001943/0.8714, allocations: 0.7803 MB / 0.6777 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002972/0.8718, allocations: 234 kB / 0.678 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001797/0.8719, allocations: 53.98 kB / 0.678 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001781/0.8737, allocations: 0.7973 MB / 0.6788 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001792/0.8755, allocations: 0.8297 MB / 0.6796 GB, free: 104.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.8756, allocations: 0.8125 kB / 0.6796 GB, free: 104.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-05/0.8757, allocations: 4.719 kB / 0.6796 GB, free: 104.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.477e-05/0.8757, allocations: 21.8 kB / 0.6796 GB, free: 104.7 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.007649/0.8834, allocations: 3.694 MB / 0.6832 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007498/0.8909, allocations: 2.615 MB / 0.6858 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/0.892, allocations: 0.5103 MB / 0.6863 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001138/0.8921, allocations: 21.75 kB / 0.6863 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001028/0.8931, allocations: 0.6413 MB / 0.6869 GB, free: 103.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 2.956e-06/0.8931, allocations: 1.75 kB / 0.6869 GB, free: 103.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=96): time 0.01207/0.9052, allocations: 3.928 MB / 0.6908 GB, free: 102.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.9053, allocations: 116.8 kB / 0.6909 GB, free: 102.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001329/0.9066, allocations: 0.8135 MB / 0.6917 GB, free: 102.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002319/0.9069, allocations: 25.7 kB / 0.6917 GB, free: 102.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002966/0.9072, allocations: 0.5085 MB / 0.6922 GB, free: 102.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003282/0.9075, allocations: 334 kB / 0.6925 GB, free: 102.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.897e-05/0.9076, allocations: 0 / 0.6925 GB, free: 102.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.933e-05/0.9077, allocations: 345.5 kB / 0.6929 GB, free: 101.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006311/0.9083, allocations: 439.7 kB / 0.6933 GB, free: 101.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006469/0.909, allocations: 0.5623 MB / 0.6938 GB, free: 101.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006703/0.9096, allocations: 489.6 kB / 0.6943 GB, free: 101.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.9096, allocations: 5.094 kB / 0.6943 GB, free: 101.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01168/0.9213, allocations: 3.949 MB / 0.6982 GB, free: 100.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.74e-05/0.9215, allocations: 61.72 kB / 0.6982 GB, free: 100.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.9215, allocations: 5.656 kB / 0.6982 GB, free: 100.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00538/0.9269, allocations: 1.5 MB / 0.6997 GB, free: 99.99 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001116/0.928, allocations: 189 kB / 0.6999 GB, free: 99.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0121/0.9401, allocations: 6.564 MB / 0.7063 GB, free: 96.44 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001902/0.9421, allocations: 180.7 kB / 0.7064 GB, free: 96.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/0.9422, allocations: 42.69 kB / 0.7065 GB, free: 96.38 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order4.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 order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" ) "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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 93 * 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.0003552/0.9426, allocations: 150.8 kB / 0.7066 GB, free: 96.24 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002326/0.9428, allocations: 133.5 kB / 0.7068 GB, free: 96.17 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01102/0.9538, allocations: 4.029 MB / 0.7107 GB, free: 94.37 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-05/0.9539, allocations: 12 kB / 0.7107 GB, free: 94.36 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.9539, allocations: 8 kB / 0.7107 GB, free: 94.35 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.822e-05/0.954, allocations: 11.22 kB / 0.7107 GB, free: 94.35 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.01328/0.9672, allocations: 5.505 MB / 0.7161 GB, free: 90.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-05/0.9673, allocations: 0 / 0.7161 GB, free: 90.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007162/0.968, allocations: 103 kB / 0.7162 GB, free: 89.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004442/0.9725, allocations: 1.474 MB / 0.7176 GB, free: 88.79 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001948/0.9727, allocations: 8 kB / 0.7176 GB, free: 88.78 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0118/0.9845, allocations: 7.537 MB / 0.725 GB, free: 81.73 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-06/0.9846, allocations: 4 kB / 0.725 GB, free: 81.72 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01268/0.9973, allocations: 4.779 MB / 0.7297 GB, free: 77.09 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006757/0.998, allocations: 227.3 kB / 0.7299 GB, free: 76.85 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000216/0.9982, allocations: 4 kB / 0.7299 GB, free: 76.85 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001223/0.9995, allocations: 127.9 kB / 0.73 GB, free: 76.72 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005562/1, allocations: 196.9 kB / 0.7302 GB, free: 76.53 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.162e-05/1, allocations: 28 kB / 0.7302 GB, free: 76.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007454/1.001, allocations: 0.6097 MB / 0.7308 GB, free: 75.89 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.41e-07/1.001, allocations: 4 kB / 0.7308 GB, free: 75.88 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001445/1.002, allocations: 394.7 kB / 0.7312 GB, free: 75.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,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 (64): * Single equations (assignments): 61 * 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 {(19,24.4%) 13} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003045/1.003, allocations: 133.8 kB / 0.7313 GB, free: 75.36 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004569/1.007, allocations: 1.99 MB / 0.7333 GB, free: 73.35 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/1.007, allocations: 0 / 0.7333 GB, free: 73.35 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003554/1.011, allocations: 1.548 MB / 0.7348 GB, free: 71.79 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/1.012, allocations: 90.7 kB / 0.7349 GB, free: 71.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002966/1.015, allocations: 1.689 MB / 0.7365 GB, free: 70 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004754/1.015, allocations: 1.147 MB / 0.7376 GB, free: 68.83 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004219/1.016, allocations: 94.17 kB / 0.7377 GB, free: 68.73 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002056/1.016, allocations: 67.42 kB / 0.7378 GB, free: 68.67 MB / 490.7 MB Notification: Performance of SimCode: time 8.72e-07/1.016, allocations: 3.938 kB / 0.7378 GB, free: 68.66 MB / 490.7 MB Notification: Performance of Templates: time 0.02599/1.042, allocations: 18.86 MB / 0.7562 GB, free: 49.95 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1)