Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.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.Discretization.FourthOrder_AVRII_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.006557/0.006557, allocations: 169.6 kB / 15.11 MB, free: 5.988 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.323/1.323, allocations: 205.4 MB / 221.2 MB, free: 13.84 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.0009642/0.0009641, allocations: 90.81 kB / 269.6 MB, free: 13.36 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.06636/0.06636, allocations: 12.6 MB / 330.4 MB, free: 10.3 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.397/0.397, allocations: 78.53 MB / 460 MB, free: 3.477 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004876/0.0004876, allocations: 21.91 kB / 0.5285 GB, free: 35.24 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1323, allocations: 69.34 MB / 0.5962 GB, free: 3.812 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3572/0.4896, allocations: 100.5 MB / 0.6944 GB, free: 98.43 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/0.4899, allocations: 82.95 kB / 0.6944 GB, free: 98.43 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08957/0.5794, allocations: 35.6 MB / 0.7292 GB, free: 81.39 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.5795, allocations: 0 / 0.7292 GB, free: 81.39 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001155/0.5796, allocations: 24 kB / 0.7292 GB, free: 81.37 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.005503/0.5851, allocations: 2.002 MB / 0.7312 GB, free: 79.3 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.5852, allocations: 11.98 kB / 0.7312 GB, free: 79.29 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003528/0.5887, allocations: 0.5757 MB / 0.7318 GB, free: 78.71 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001663/0.5904, allocations: 0.8112 MB / 0.7325 GB, free: 77.84 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002095/0.5906, allocations: 260.2 kB / 0.7328 GB, free: 77.55 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.5908, allocations: 76 kB / 0.7329 GB, free: 77.48 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00185/0.5926, allocations: 1.141 MB / 0.734 GB, free: 76.32 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.5926, allocations: 0 / 0.734 GB, free: 76.32 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.825e-05/0.5927, allocations: 32 kB / 0.734 GB, free: 76.29 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.5928, allocations: 19.95 kB / 0.734 GB, free: 76.27 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001685/0.5944, allocations: 1.046 MB / 0.7351 GB, free: 75.22 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.005572/0.6, allocations: 3.804 MB / 0.7388 GB, free: 71.24 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006877/0.6069, allocations: 2.879 MB / 0.7416 GB, free: 68.27 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001046/0.6071, allocations: 20.97 kB / 0.7416 GB, free: 68.25 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00143/0.6085, allocations: 0.8763 MB / 0.7425 GB, free: 67.36 MB / 474.7 MB Notification: Performance of pre-optimization done (n=96): time 3.216e-06/0.6085, allocations: 0 / 0.7425 GB, free: 67.36 MB / 474.7 MB Notification: Performance of matching and sorting (n=96): time 0.02824/0.6368, allocations: 8.708 MB / 0.751 GB, free: 58.59 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.6369, allocations: 111.8 kB / 0.7511 GB, free: 58.45 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001605/0.6385, allocations: 0.9133 MB / 0.752 GB, free: 57.53 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001765/0.6387, allocations: 41.7 kB / 0.752 GB, free: 57.48 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000287/0.639, allocations: 0.5052 MB / 0.7525 GB, free: 56.97 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004123/0.6394, allocations: 343 kB / 0.7528 GB, free: 56.63 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.623e-05/0.6395, allocations: 20 kB / 0.7528 GB, free: 56.61 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.579e-05/0.6396, allocations: 349.9 kB / 0.7532 GB, free: 56.26 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001205/0.6408, allocations: 0.6426 MB / 0.7538 GB, free: 55.62 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001216/0.642, allocations: 0.7809 MB / 0.7546 GB, free: 54.8 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/0.6433, allocations: 0.751 MB / 0.7553 GB, free: 54.04 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.6433, allocations: 0 / 0.7553 GB, free: 54.04 MB / 474.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01225/0.6555, allocations: 4.677 MB / 0.7599 GB, free: 49.33 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.903e-05/0.6556, allocations: 59.41 kB / 0.7599 GB, free: 49.26 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.6557, allocations: 7.953 kB / 0.7599 GB, free: 49.25 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005835/0.6615, allocations: 1.901 MB / 0.7618 GB, free: 47.35 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/0.6625, allocations: 195.7 kB / 0.762 GB, free: 47.16 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01881/0.6814, allocations: 9.438 MB / 0.7712 GB, free: 37.57 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001914/0.6833, allocations: 203.1 kB / 0.7714 GB, free: 37.38 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002222/0.6836, allocations: 35.98 kB / 0.7714 GB, free: 37.34 MB / 474.7 MB Warning: Assuming fixed start value for the following 4 variables: order4.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 order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.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 (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.0007664/0.6843, allocations: 287.4 kB / 0.7717 GB, free: 37.05 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003588/0.6847, allocations: 130.4 kB / 0.7718 GB, free: 36.92 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01202/0.6967, allocations: 4.728 MB / 0.7764 GB, free: 32.16 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.584e-05/0.6968, allocations: 12 kB / 0.7764 GB, free: 32.15 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.445e-05/0.6968, allocations: 8 kB / 0.7764 GB, free: 32.14 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.26e-05/0.6968, allocations: 3.984 kB / 0.7765 GB, free: 32.14 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.0141/0.711, allocations: 6.277 MB / 0.7826 GB, free: 25.75 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/0.711, allocations: 0 / 0.7826 GB, free: 25.75 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006494/0.7117, allocations: 103.8 kB / 0.7827 GB, free: 25.65 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005149/0.7168, allocations: 1.868 MB / 0.7845 GB, free: 23.77 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001686/0.717, allocations: 16 kB / 0.7845 GB, free: 23.76 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01805/0.7351, allocations: 10.14 MB / 0.7944 GB, free: 13.34 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.7351, allocations: 256 / 0.7944 GB, free: 13.34 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.014/0.7491, allocations: 5.65 MB / 0.7999 GB, free: 7.652 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005346/0.7497, allocations: 227.2 kB / 0.8002 GB, free: 7.41 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000411/0.7502, allocations: 23.95 kB / 0.8002 GB, free: 7.387 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001464/0.7516, allocations: 151.9 kB / 0.8003 GB, free: 7.238 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006589/0.7523, allocations: 192.7 kB / 0.8005 GB, free: 7.051 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001181/0.7525, allocations: 27.98 kB / 0.8005 GB, free: 7.023 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001253/0.7537, allocations: 0.7196 MB / 0.8012 GB, free: 6.297 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7537, allocations: 0 / 0.8012 GB, free: 6.297 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001756/0.7555, allocations: 439.5 kB / 0.8017 GB, free: 5.867 MB / 474.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 () * Number of clocked 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 {(18,25.9%) 14} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.000333/0.7558, allocations: 155 kB / 0.8018 GB, free: 5.711 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005372/0.7612, allocations: 2.48 MB / 0.8042 GB, free: 3.188 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.7612, allocations: 0 / 0.8042 GB, free: 3.188 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003892/0.7651, allocations: 1.786 MB / 0.806 GB, free: 1.359 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009246/0.7661, allocations: 100.6 kB / 0.8061 GB, free: 1.258 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004429/0.7705, allocations: 2.662 MB / 0.8087 GB, free: 14.57 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009126/0.7714, allocations: 1.147 MB / 0.8098 GB, free: 13.39 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004525/0.7719, allocations: 90.78 kB / 0.8099 GB, free: 13.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000259/0.7722, allocations: 63.42 kB / 0.8099 GB, free: 13.23 MB / 490.7 MB Notification: Performance of SimCode: time 2.114e-06/0.7722, allocations: 0 / 0.8099 GB, free: 13.23 MB / 490.7 MB Notification: Performance of Templates: time 0.03313/0.8053, allocations: 20.51 MB / 0.83 GB, free: 8.766 MB / 0.4949 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1)