Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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_OpenIPSL.Examples.Machines.PSAT.Order3test2_TG") translateModel(OpenIPSL.Examples.Machines.PSAT.Order3test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.001083/0.001083, allocations: 172.1 kB / 16.12 MB, free: 5.668 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.296/1.296, allocations: 205.4 MB / 222.3 MB, free: 9.027 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.000716/0.000716, allocations: 92.91 kB / 270.6 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.2846/0.2846, allocations: 42.29 MB / 361.2 MB, free: 49.43 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007233/0.0007233, allocations: 15.94 kB / 429.4 MB, free: 7.812 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1104, allocations: 57.56 MB / 487 MB, free: 14.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2776/0.3881, allocations: 94.38 MB / 0.5677 GB, free: 13.39 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/0.3884, allocations: 87.89 kB / 0.5678 GB, free: 13.3 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06955/0.4579, allocations: 24.79 MB / 0.592 GB, free: 4.395 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.458, allocations: 0 / 0.592 GB, free: 4.395 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.846e-05/0.4581, allocations: 25.22 kB / 0.5921 GB, free: 4.371 MB / 410.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.005953/0.4641, allocations: 1.935 MB / 0.5939 GB, free: 2.387 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.4641, allocations: 12.03 kB / 0.594 GB, free: 2.375 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003533/0.4677, allocations: 0.5603 MB / 0.5945 GB, free: 1.812 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001942/0.4696, allocations: 0.8296 MB / 0.5953 GB, free: 0.9258 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003352/0.47, allocations: 268.1 kB / 0.5956 GB, free: 0.6289 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003273/0.4703, allocations: 68 kB / 0.5956 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002753/0.4731, allocations: 1.196 MB / 0.5968 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.4731, allocations: 0 / 0.5968 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001082/0.4732, allocations: 28 kB / 0.5968 GB, free: 15.33 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.784e-05/0.4733, allocations: 24 kB / 0.5968 GB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002659/0.476, allocations: 1.16 MB / 0.598 GB, free: 14.14 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007302/0.4833, allocations: 3.518 MB / 0.6014 GB, free: 10.47 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002523/0.4858, allocations: 1.505 MB / 0.6029 GB, free: 8.844 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001626/0.4875, allocations: 0.817 MB / 0.6037 GB, free: 8.023 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001197/0.4876, allocations: 20.98 kB / 0.6037 GB, free: 8.004 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.816e-05/0.4877, allocations: 39.56 kB / 0.6037 GB, free: 7.957 MB / 426.7 MB Notification: Performance of pre-optimization done (n=89): time 3.707e-06/0.4877, allocations: 0 / 0.6037 GB, free: 7.957 MB / 426.7 MB Notification: Performance of matching and sorting (n=89): time 0.02807/0.5158, allocations: 8.281 MB / 0.6118 GB, free: 15.64 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.512e-05/0.5159, allocations: 94.05 kB / 0.6119 GB, free: 15.53 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001568/0.5175, allocations: 0.9264 MB / 0.6128 GB, free: 14.59 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002209/0.5177, allocations: 45.69 kB / 0.6129 GB, free: 14.54 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003616/0.5181, allocations: 488.8 kB / 0.6133 GB, free: 14.05 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004897/0.5186, allocations: 311.4 kB / 0.6136 GB, free: 13.74 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.399e-05/0.5187, allocations: 16 kB / 0.6136 GB, free: 13.73 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.5188, allocations: 334 kB / 0.614 GB, free: 13.39 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001497/0.5203, allocations: 0.6696 MB / 0.6146 GB, free: 12.73 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001539/0.5219, allocations: 0.7844 MB / 0.6154 GB, free: 11.91 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01416/0.536, allocations: 4.449 MB / 0.6197 GB, free: 7.434 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.979e-06/0.5361, allocations: 0 / 0.6197 GB, free: 7.434 MB / 442.7 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.01437/0.5505, allocations: 4.833 MB / 0.6244 GB, free: 2.582 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000115/0.5506, allocations: 152.3 kB / 0.6246 GB, free: 2.406 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.5507, allocations: 4 kB / 0.6246 GB, free: 2.402 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006492/0.5572, allocations: 2.102 MB / 0.6267 GB, free: 304 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008118/0.558, allocations: 147.8 kB / 0.6268 GB, free: 156 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02189/0.5799, allocations: 9.521 MB / 0.6361 GB, free: 6.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/0.5814, allocations: 203.1 kB / 0.6363 GB, free: 6.301 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001739/0.5816, allocations: 31.98 kB / 0.6363 GB, free: 6.27 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.808e-06/0.5816, allocations: 4 kB / 0.6363 GB, free: 6.266 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0139/0.5955, allocations: 4.664 MB / 0.6409 GB, free: 1.59 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.5956, allocations: 0 / 0.6409 GB, free: 1.59 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006484/0.6021, allocations: 2.105 MB / 0.6429 GB, free: 15.48 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008289/0.6029, allocations: 135.8 kB / 0.6431 GB, free: 15.35 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02145/0.6244, allocations: 9.533 MB / 0.6524 GB, free: 5.684 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/0.626, allocations: 191.2 kB / 0.6525 GB, free: 5.496 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002564/0.6262, allocations: 31.98 kB / 0.6526 GB, free: 5.465 MB / 474.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.0006698/0.6269, allocations: 317.8 kB / 0.6529 GB, free: 5.145 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002815/0.6272, allocations: 118.5 kB / 0.653 GB, free: 5.027 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01385/0.6411, allocations: 4.846 MB / 0.6577 GB, free: 160 kB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.64e-05/0.6411, allocations: 8 kB / 0.6577 GB, free: 152 kB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.6411, allocations: 0 / 0.6577 GB, free: 152 kB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.232e-05/0.6412, allocations: 7.984 kB / 0.6577 GB, free: 144 kB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01672/0.6579, allocations: 6.456 MB / 0.664 GB, free: 9.547 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/0.6579, allocations: 0 / 0.664 GB, free: 9.547 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000675/0.6586, allocations: 111.8 kB / 0.6642 GB, free: 9.438 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006411/0.665, allocations: 2.058 MB / 0.6662 GB, free: 7.375 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001654/0.6652, allocations: 19.98 kB / 0.6662 GB, free: 7.355 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2243/0.8896, allocations: 8.205 MB / 0.6742 GB, free: 125.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.8896, allocations: 1.344 kB / 0.6742 GB, free: 125.1 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01667/0.9063, allocations: 5.838 MB / 0.6799 GB, free: 125 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000498/0.9068, allocations: 208.1 kB / 0.6801 GB, free: 124.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003671/0.9072, allocations: 18.38 kB / 0.6801 GB, free: 124.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001299/0.9085, allocations: 155.6 kB / 0.6803 GB, free: 124.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006523/0.9092, allocations: 201.2 kB / 0.6805 GB, free: 124.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/0.9093, allocations: 21.56 kB / 0.6805 GB, free: 124.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00117/0.9105, allocations: 0.6362 MB / 0.6811 GB, free: 124.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.9105, allocations: 0 / 0.6811 GB, free: 124.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002243/0.9127, allocations: 0.6639 MB / 0.6817 GB, free: 124.8 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.0003419/0.9131, allocations: 144.2 kB / 0.6819 GB, free: 124.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01057/0.9237, allocations: 4.251 MB / 0.686 GB, free: 124.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.9237, allocations: 0 / 0.686 GB, free: 124.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004413/0.9282, allocations: 1.739 MB / 0.6877 GB, free: 124.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.9292, allocations: 104.8 kB / 0.6878 GB, free: 124 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003802/0.933, allocations: 2.43 MB / 0.6902 GB, free: 123 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005441/0.9336, allocations: 1.112 MB / 0.6913 GB, free: 122.2 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004562/0.9341, allocations: 86.22 kB / 0.6914 GB, free: 122.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002379/0.9343, allocations: 51.75 kB / 0.6914 GB, free: 122.2 MB / 490.7 MB Notification: Performance of SimCode: time 1.583e-06/0.9343, allocations: 0 / 0.6914 GB, free: 122.2 MB / 490.7 MB Notification: Performance of Templates: time 0.04235/0.9767, allocations: 26.87 MB / 0.7177 GB, free: 120.8 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order3test2_TG.makefile (rm -f OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order3test2_TG.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order3test2_TG.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order3test2_TG.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order3test2_TG.sim & ./OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order3test2_TG -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order3test2_TG.pipe 2>&1)