Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order3test2_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/OpenIPSL 2.0.0-master/package.mo", uses=false) Using package OpenIPSL with version 2.0.0-beta.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.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.Machines.PSAT.Order3test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order3test2_TG") translateModel(OpenIPSL.Examples.Machines.PSAT.Order3test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order3test2_TG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009922/0.0009922, allocations: 176.9 kB / 16.12 MB, free: 5.57 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.423/1.423, allocations: 205.4 MB / 222.3 MB, free: 13.73 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.0009023/0.000902, allocations: 94.22 kB / 270.6 MB, free: 13.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.1794/0.1794, allocations: 42.32 MB / 361.2 MB, free: 12.42 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003998/0.0003998, allocations: 13.38 kB / 429.4 MB, free: 21.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09277/0.09319, allocations: 57.56 MB / 487 MB, free: 11.74 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3144/0.4076, allocations: 94.38 MB / 0.5677 GB, free: 9.688 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/0.408, allocations: 80.16 kB / 0.5678 GB, free: 9.645 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06789/0.4759, allocations: 24.81 MB / 0.592 GB, free: 4.68 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.498e-06/0.4759, allocations: 4 kB / 0.592 GB, free: 4.676 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.205e-05/0.476, allocations: 27.94 kB / 0.5921 GB, free: 4.648 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.005496/0.4815, allocations: 1.93 MB / 0.5939 GB, free: 2.797 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.4816, allocations: 12.03 kB / 0.594 GB, free: 2.785 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003358/0.4849, allocations: 0.5551 MB / 0.5945 GB, free: 2.27 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001798/0.4868, allocations: 0.8353 MB / 0.5953 GB, free: 1.531 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002995/0.4871, allocations: 263.8 kB / 0.5956 GB, free: 1.266 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002239/0.4873, allocations: 71.69 kB / 0.5956 GB, free: 1.219 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00243/0.4897, allocations: 1.193 MB / 0.5968 GB, free: 364 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.4898, allocations: 0 / 0.5968 GB, free: 364 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.948e-05/0.4899, allocations: 32.62 kB / 0.5968 GB, free: 356 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.4899, allocations: 20 kB / 0.5968 GB, free: 336 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002372/0.4923, allocations: 1.162 MB / 0.598 GB, free: 15.49 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006361/0.4987, allocations: 3.515 MB / 0.6014 GB, free: 12.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002196/0.5009, allocations: 1.508 MB / 0.6029 GB, free: 11.46 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00147/0.5024, allocations: 0.8152 MB / 0.6037 GB, free: 10.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.881e-05/0.5025, allocations: 17 kB / 0.6037 GB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.5025, allocations: 42.56 kB / 0.6037 GB, free: 10.85 MB / 410.7 MB Notification: Performance of pre-optimization done (n=89): time 2.946e-06/0.5025, allocations: 0 / 0.6037 GB, free: 10.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=89): time 0.02619/0.5287, allocations: 8.287 MB / 0.6118 GB, free: 3.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.441e-05/0.5289, allocations: 89.42 kB / 0.6119 GB, free: 3.219 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001574/0.5304, allocations: 0.926 MB / 0.6128 GB, free: 2.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002713/0.5307, allocations: 43.64 kB / 0.6129 GB, free: 2.465 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003496/0.5311, allocations: 489.3 kB / 0.6133 GB, free: 2.191 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004811/0.5316, allocations: 311.8 kB / 0.6136 GB, free: 1.922 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.715e-05/0.5317, allocations: 18.38 kB / 0.6136 GB, free: 1.918 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.5318, allocations: 336.3 kB / 0.614 GB, free: 1.598 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001423/0.5333, allocations: 0.6678 MB / 0.6146 GB, free: 1.125 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001487/0.5348, allocations: 0.7837 MB / 0.6154 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01335/0.5481, allocations: 4.45 MB / 0.6197 GB, free: 12.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/0.5482, allocations: 3.984 kB / 0.6197 GB, free: 12.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.01399/0.5622, allocations: 4.823 MB / 0.6244 GB, free: 8.617 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001056/0.5623, allocations: 152.3 kB / 0.6246 GB, free: 8.441 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.5623, allocations: 4 kB / 0.6246 GB, free: 8.438 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006212/0.5685, allocations: 2.105 MB / 0.6266 GB, free: 6.328 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007607/0.5693, allocations: 143.8 kB / 0.6268 GB, free: 6.188 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02098/0.5903, allocations: 9.529 MB / 0.6361 GB, free: 12.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/0.5918, allocations: 199.1 kB / 0.6363 GB, free: 12.33 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001728/0.592, allocations: 35.98 kB / 0.6363 GB, free: 12.29 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.308e-06/0.592, allocations: 3.938 kB / 0.6363 GB, free: 12.29 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01345/0.6055, allocations: 4.66 MB / 0.6409 GB, free: 7.613 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/0.6055, allocations: 4 kB / 0.6409 GB, free: 7.609 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006274/0.6118, allocations: 2.105 MB / 0.6429 GB, free: 5.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007352/0.6126, allocations: 135.8 kB / 0.6431 GB, free: 5.367 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02107/0.6336, allocations: 9.537 MB / 0.6524 GB, free: 11.69 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/0.635, allocations: 191.2 kB / 0.6526 GB, free: 11.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001574/0.6352, allocations: 32 kB / 0.6526 GB, free: 11.47 MB / 458.7 MB Warning: Assuming fixed start value for the following 3 variables: order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3_Inputs_Outputs1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" 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 (69): * Single equations (assignments): 68 * 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 {25 11} Notification: Performance of prepare postOptimizeDAE: time 0.000671/0.6359, allocations: 313.9 kB / 0.6529 GB, free: 11.16 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002983/0.6362, allocations: 118.5 kB / 0.653 GB, free: 11.04 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01343/0.6496, allocations: 4.846 MB / 0.6577 GB, free: 6.172 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.6497, allocations: 8 kB / 0.6577 GB, free: 6.164 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.6497, allocations: 0 / 0.6577 GB, free: 6.164 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.046e-05/0.6497, allocations: 7.922 kB / 0.6577 GB, free: 6.156 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01587/0.6656, allocations: 6.456 MB / 0.664 GB, free: 15.56 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.6657, allocations: 0 / 0.664 GB, free: 15.56 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006312/0.6663, allocations: 115.8 kB / 0.6642 GB, free: 15.45 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006049/0.6724, allocations: 2.058 MB / 0.6662 GB, free: 13.39 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001745/0.6726, allocations: 19.98 kB / 0.6662 GB, free: 13.37 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01798/0.6905, allocations: 8.203 MB / 0.6742 GB, free: 5.023 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.6906, allocations: 3.938 kB / 0.6742 GB, free: 5.02 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01549/0.7061, allocations: 5.841 MB / 0.6799 GB, free: 15.16 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004584/0.7066, allocations: 207.5 kB / 0.6801 GB, free: 14.93 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00029/0.7069, allocations: 16 kB / 0.6801 GB, free: 14.92 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/0.7081, allocations: 151.9 kB / 0.6803 GB, free: 14.77 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000683/0.7088, allocations: 208.6 kB / 0.6805 GB, free: 14.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.091e-05/0.7089, allocations: 20 kB / 0.6805 GB, free: 14.55 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001111/0.71, allocations: 0.6393 MB / 0.6811 GB, free: 13.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 3e-07/0.71, allocations: 0 / 0.6811 GB, free: 13.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002002/0.712, allocations: 0.6591 MB / 0.6818 GB, free: 13.24 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,TGTypeII1.transferFunction1.x_scaled[1]) * 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 (56): * Single equations (assignments): 55 * 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.000308/0.7123, allocations: 151.1 kB / 0.6819 GB, free: 13.08 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0117/0.724, allocations: 4.255 MB / 0.6861 GB, free: 8.801 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.7241, allocations: 0 / 0.6861 GB, free: 8.801 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004729/0.7288, allocations: 1.736 MB / 0.6877 GB, free: 7.055 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.7299, allocations: 104.3 kB / 0.6878 GB, free: 6.953 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004311/0.7342, allocations: 2.433 MB / 0.6902 GB, free: 4.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007285/0.735, allocations: 1.112 MB / 0.6913 GB, free: 3.355 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004629/0.7354, allocations: 93.7 kB / 0.6914 GB, free: 3.262 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001882/0.7356, allocations: 47.44 kB / 0.6914 GB, free: 3.215 MB / 490.7 MB Notification: Performance of SimCode: time 2.114e-06/0.7357, allocations: 0 / 0.6914 GB, free: 3.215 MB / 490.7 MB Notification: Performance of Templates: time 0.2331/0.9687, allocations: 26.87 MB / 0.7177 GB, free: 162.5 MB / 0.4948 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order3test2_TG.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order3test2_TG.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order3test2_TG.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order3test2_TG.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order3test2_TG.sim & ./OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order3test2_TG -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order3test2_TG.pipe 2>&1)