Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.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.Tests.Machines.PSAT.Order4test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.005686/0.005686, allocations: 169.8 kB / 15.11 MB, free: 5.969 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.533/1.533, allocations: 205.4 MB / 221.3 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.0009448/0.0009447, allocations: 90.89 kB / 269.6 MB, free: 13.35 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.06883/0.06883, allocations: 12.61 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.4401/0.4401, allocations: 78.5 MB / 460 MB, free: 3.457 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005495/0.0005495, allocations: 24.22 kB / 0.5285 GB, free: 35.14 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1635, allocations: 69.34 MB / 0.5962 GB, free: 3.805 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4234/0.5869, allocations: 101.3 MB / 0.6951 GB, free: 98.83 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002276/0.5872, allocations: 81.78 kB / 0.6952 GB, free: 98.83 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06575/0.653, allocations: 25.06 MB / 0.7197 GB, free: 90.72 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.906e-06/0.653, allocations: 3.938 kB / 0.7197 GB, free: 90.71 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.952e-05/0.6531, allocations: 23.19 kB / 0.7197 GB, free: 90.71 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.005309/0.6584, allocations: 1.951 MB / 0.7216 GB, free: 89.27 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.6585, allocations: 11.98 kB / 0.7216 GB, free: 89.26 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003473/0.6619, allocations: 0.5603 MB / 0.7221 GB, free: 88.7 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0019/0.6639, allocations: 0.8063 MB / 0.7229 GB, free: 87.83 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002193/0.6641, allocations: 264.2 kB / 0.7232 GB, free: 87.54 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.6642, allocations: 72 kB / 0.7233 GB, free: 87.47 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002183/0.6664, allocations: 1.192 MB / 0.7244 GB, free: 86.26 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.6665, allocations: 0 / 0.7244 GB, free: 86.26 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.6666, allocations: 28 kB / 0.7244 GB, free: 86.23 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.6666, allocations: 20 kB / 0.7245 GB, free: 86.21 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002395/0.669, allocations: 1.163 MB / 0.7256 GB, free: 85.05 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005958/0.675, allocations: 3.514 MB / 0.729 GB, free: 81.38 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001882/0.6769, allocations: 1.508 MB / 0.7305 GB, free: 79.75 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.599e-05/0.677, allocations: 17 kB / 0.7305 GB, free: 79.74 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.677, allocations: 51.44 kB / 0.7306 GB, free: 79.68 MB / 474.7 MB Notification: Performance of pre-optimization done (n=90): time 3.056e-06/0.677, allocations: 0 / 0.7306 GB, free: 79.68 MB / 474.7 MB Notification: Performance of matching and sorting (n=90): time 0.02248/0.6995, allocations: 7.76 MB / 0.7381 GB, free: 71.88 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.6996, allocations: 97.98 kB / 0.7382 GB, free: 71.77 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/0.7009, allocations: 0.8001 MB / 0.739 GB, free: 70.95 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002286/0.7012, allocations: 41.7 kB / 0.7391 GB, free: 70.91 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002846/0.7015, allocations: 496.7 kB / 0.7395 GB, free: 70.41 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002817/0.7017, allocations: 315.4 kB / 0.7398 GB, free: 70.1 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.036e-05/0.7018, allocations: 16 kB / 0.7398 GB, free: 70.09 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.144e-05/0.7019, allocations: 341.9 kB / 0.7402 GB, free: 69.75 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001219/0.7031, allocations: 0.6735 MB / 0.7408 GB, free: 69.07 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00124/0.7044, allocations: 0.7844 MB / 0.7416 GB, free: 68.26 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/0.7056, allocations: 0.7156 MB / 0.7423 GB, free: 67.55 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.7056, allocations: 4 kB / 0.7423 GB, free: 67.54 MB / 474.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01241/0.718, allocations: 4.88 MB / 0.7471 GB, free: 62.65 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001871/0.7183, allocations: 0.8017 MB / 0.7478 GB, free: 61.79 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.7183, allocations: 4 kB / 0.7479 GB, free: 61.79 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00582/0.7241, allocations: 2.092 MB / 0.7499 GB, free: 59.69 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008417/0.725, allocations: 135.8 kB / 0.75 GB, free: 59.55 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01995/0.7449, allocations: 9.977 MB / 0.7598 GB, free: 49.44 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001633/0.7466, allocations: 207 kB / 0.76 GB, free: 49.24 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002129/0.7468, allocations: 27.98 kB / 0.76 GB, free: 49.21 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.7469, allocations: 4 kB / 0.76 GB, free: 49.21 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01258/0.7594, allocations: 4.719 MB / 0.7646 GB, free: 44.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.898e-05/0.7595, allocations: 4 kB / 0.7646 GB, free: 44.48 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005961/0.7655, allocations: 2.092 MB / 0.7667 GB, free: 42.38 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006963/0.7662, allocations: 135.8 kB / 0.7668 GB, free: 42.25 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01919/0.7854, allocations: 9.957 MB / 0.7765 GB, free: 32.15 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/0.7871, allocations: 191.2 kB / 0.7767 GB, free: 31.96 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001825/0.7873, allocations: 31.98 kB / 0.7767 GB, free: 31.93 MB / 474.7 MB Warning: Assuming fixed start value for the following 2 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * 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 {24 13} Notification: Performance of prepare postOptimizeDAE: time 0.0007687/0.7881, allocations: 307.5 kB / 0.777 GB, free: 31.62 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003506/0.7884, allocations: 118.6 kB / 0.7771 GB, free: 31.51 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01252/0.801, allocations: 4.858 MB / 0.7819 GB, free: 26.63 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.428e-05/0.801, allocations: 12 kB / 0.7819 GB, free: 26.62 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.801, allocations: 0 / 0.7819 GB, free: 26.62 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.781e-05/0.8011, allocations: 3.984 kB / 0.7819 GB, free: 26.62 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01451/0.8156, allocations: 6.472 MB / 0.7882 GB, free: 20 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.528e-05/0.8156, allocations: 0 / 0.7882 GB, free: 20 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007408/0.8164, allocations: 123.8 kB / 0.7883 GB, free: 19.88 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005461/0.8219, allocations: 2.065 MB / 0.7903 GB, free: 17.81 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002093/0.8221, allocations: 16 kB / 0.7904 GB, free: 17.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01619/0.8383, allocations: 8.623 MB / 0.7988 GB, free: 9.035 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.8384, allocations: 0 / 0.7988 GB, free: 9.035 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01369/0.8521, allocations: 5.853 MB / 0.8045 GB, free: 3.16 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004967/0.8526, allocations: 207.5 kB / 0.8047 GB, free: 2.938 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002801/0.8529, allocations: 20 kB / 0.8047 GB, free: 2.918 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001185/0.8541, allocations: 151.9 kB / 0.8049 GB, free: 2.77 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006207/0.8547, allocations: 200.6 kB / 0.805 GB, free: 2.57 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-05/0.8548, allocations: 27.98 kB / 0.8051 GB, free: 2.543 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0009786/0.8558, allocations: 0.6314 MB / 0.8057 GB, free: 1.902 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.8558, allocations: 0 / 0.8057 GB, free: 1.902 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002121/0.8579, allocations: 0.6631 MB / 0.8063 GB, free: 1.238 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (TGTypeII1.transferFunction1.x_scaled[1],Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * 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 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003058/0.8583, allocations: 155 kB / 0.8065 GB, free: 1.074 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01141/0.8697, allocations: 4.268 MB / 0.8107 GB, free: 12.78 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.8697, allocations: 0 / 0.8107 GB, free: 12.78 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004925/0.8747, allocations: 1.736 MB / 0.8123 GB, free: 11.03 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/0.8759, allocations: 84.28 kB / 0.8124 GB, free: 10.95 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005262/0.8812, allocations: 2.538 MB / 0.8149 GB, free: 8.398 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009488/0.8822, allocations: 1.128 MB / 0.816 GB, free: 7.238 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005317/0.8828, allocations: 93.75 kB / 0.8161 GB, free: 7.145 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002509/0.883, allocations: 59.42 kB / 0.8162 GB, free: 7.086 MB / 490.7 MB Notification: Performance of SimCode: time 7.91e-07/0.883, allocations: 0 / 0.8162 GB, free: 7.086 MB / 490.7 MB Notification: Performance of Templates: time 0.04421/0.9273, allocations: 26.67 MB / 0.8422 GB, free: 12.42 MB / 0.5105 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe 2>&1)