Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.Tests.Machines.PSAT.Order3test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004606/0.004606, allocations: 168.9 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.165/1.165, allocations: 223.2 MB / 239 MB, free: 1.75 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.0008496/0.0008491, allocations: 85 kB / 290.2 MB, free: 13.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3984/0.3984, allocations: 78.53 MB / 419.8 MB, free: 44.05 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003208/0.0003208, allocations: 12 kB / 499.7 MB, free: 2.738 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2858, allocations: 69.35 MB / 0.5557 GB, free: 38.78 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1062/0.392, allocations: 99.39 MB / 0.6528 GB, free: 6.973 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002242/0.3923, allocations: 83.94 kB / 0.6529 GB, free: 6.891 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06278/0.4551, allocations: 25.7 MB / 0.678 GB, free: 13.07 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4551, allocations: 4 kB / 0.678 GB, free: 13.06 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.876e-05/0.4552, allocations: 20 kB / 0.678 GB, free: 13.04 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.004417/0.4596, allocations: 1.94 MB / 0.6799 GB, free: 11.05 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.4596, allocations: 8.031 kB / 0.6799 GB, free: 11.04 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002992/0.4626, allocations: 0.5603 MB / 0.6804 GB, free: 10.48 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001362/0.464, allocations: 0.7827 MB / 0.6812 GB, free: 9.641 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002328/0.4642, allocations: 268.4 kB / 0.6814 GB, free: 9.34 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/0.4644, allocations: 72 kB / 0.6815 GB, free: 9.27 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002063/0.4664, allocations: 1.196 MB / 0.6827 GB, free: 8.062 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.4665, allocations: 0 / 0.6827 GB, free: 8.062 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.042e-05/0.4666, allocations: 32 kB / 0.6827 GB, free: 8.031 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.4666, allocations: 16 kB / 0.6827 GB, free: 8.016 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002119/0.4687, allocations: 1.163 MB / 0.6839 GB, free: 6.848 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005283/0.474, allocations: 3.51 MB / 0.6873 GB, free: 3.188 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002026/0.476, allocations: 1.506 MB / 0.6888 GB, free: 1.562 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.859e-05/0.4761, allocations: 16.97 kB / 0.6888 GB, free: 1.547 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.4762, allocations: 43.56 kB / 0.6888 GB, free: 1.496 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 2.144e-06/0.4762, allocations: 0 / 0.6888 GB, free: 1.496 MB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.02597/0.5022, allocations: 8.251 MB / 0.6969 GB, free: 9.207 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.5022, allocations: 86.11 kB / 0.697 GB, free: 9.105 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/0.5033, allocations: 0.804 MB / 0.6977 GB, free: 8.281 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.965e-05/0.5034, allocations: 41.7 kB / 0.6978 GB, free: 8.234 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003152/0.5038, allocations: 488.7 kB / 0.6983 GB, free: 7.75 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002611/0.504, allocations: 319.4 kB / 0.6986 GB, free: 7.434 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.308e-05/0.5041, allocations: 16 kB / 0.6986 GB, free: 7.418 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.705e-05/0.5042, allocations: 333.9 kB / 0.6989 GB, free: 7.086 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0013/0.5055, allocations: 0.6735 MB / 0.6995 GB, free: 6.414 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001364/0.5069, allocations: 0.7882 MB / 0.7003 GB, free: 5.594 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001333/0.5082, allocations: 0.7087 MB / 0.701 GB, free: 4.887 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.5082, allocations: 0 / 0.701 GB, free: 4.887 MB / 0.4948 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.01293/0.5212, allocations: 4.813 MB / 0.7057 GB, free: 60 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002523/0.5215, allocations: 0.8017 MB / 0.7065 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.5215, allocations: 4 kB / 0.7065 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006178/0.5277, allocations: 2.099 MB / 0.7085 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006334/0.5283, allocations: 143.8 kB / 0.7087 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02004/0.5484, allocations: 9.993 MB / 0.7184 GB, free: 2.828 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/0.5496, allocations: 199 kB / 0.7186 GB, free: 2.633 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-05/0.5497, allocations: 31.98 kB / 0.7187 GB, free: 2.602 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.248e-06/0.5497, allocations: 7.938 kB / 0.7187 GB, free: 2.594 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01288/0.5626, allocations: 4.656 MB / 0.7232 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.788e-05/0.5627, allocations: 4 kB / 0.7232 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006253/0.5689, allocations: 2.101 MB / 0.7253 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006672/0.5696, allocations: 139.8 kB / 0.7254 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02002/0.5896, allocations: 9.962 MB / 0.7351 GB, free: 1.586 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/0.591, allocations: 187.2 kB / 0.7353 GB, free: 1.402 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/0.5911, allocations: 24 kB / 0.7353 GB, free: 1.379 MB / 0.5261 GB Warning: Assuming fixed start value for the following 3 variables: TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] 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 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.0006002/0.5917, allocations: 329.7 kB / 0.7357 GB, free: 1.047 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002538/0.592, allocations: 114.6 kB / 0.7358 GB, free: 0.9336 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01303/0.605, allocations: 4.846 MB / 0.7405 GB, free: 12.08 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/0.6051, allocations: 8 kB / 0.7405 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.6051, allocations: 4 kB / 0.7405 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.042e-05/0.6051, allocations: 7.984 kB / 0.7405 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01559/0.6207, allocations: 6.453 MB / 0.7468 GB, free: 5.469 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/0.6207, allocations: 0 / 0.7468 GB, free: 5.469 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006594/0.6214, allocations: 107.8 kB / 0.7469 GB, free: 5.363 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006141/0.6276, allocations: 2.062 MB / 0.7489 GB, free: 3.297 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001753/0.6278, allocations: 16 kB / 0.7489 GB, free: 3.281 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01836/0.6461, allocations: 8.651 MB / 0.7574 GB, free: 10.48 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.6462, allocations: 3.938 kB / 0.7574 GB, free: 10.48 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01523/0.6614, allocations: 5.833 MB / 0.7631 GB, free: 4.621 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004106/0.6619, allocations: 207.5 kB / 0.7633 GB, free: 4.398 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003101/0.6622, allocations: 16 kB / 0.7633 GB, free: 4.383 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001223/0.6634, allocations: 159.8 kB / 0.7635 GB, free: 4.227 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005999/0.664, allocations: 196.6 kB / 0.7636 GB, free: 4.035 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.066e-05/0.6641, allocations: 24 kB / 0.7637 GB, free: 4.012 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0009979/0.6651, allocations: 0.6393 MB / 0.7643 GB, free: 3.363 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6651, allocations: 0 / 0.7643 GB, free: 3.363 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001839/0.667, allocations: 0.6592 MB / 0.7649 GB, free: 2.703 MB / 0.5573 GB 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.0002766/0.6673, allocations: 147.1 kB / 0.7651 GB, free: 2.547 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.1937/0.861, allocations: 4.26 MB / 0.7692 GB, free: 149.1 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.8611, allocations: 0 / 0.7692 GB, free: 149.1 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0047/0.8658, allocations: 1.739 MB / 0.7709 GB, free: 148.9 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007628/0.8666, allocations: 88.25 kB / 0.771 GB, free: 148.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003654/0.8702, allocations: 2.47 MB / 0.7734 GB, free: 147.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005888/0.8708, allocations: 1.127 MB / 0.7745 GB, free: 147.1 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000437/0.8713, allocations: 95.72 kB / 0.7746 GB, free: 147.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001848/0.8715, allocations: 54.89 kB / 0.7747 GB, free: 147.1 MB / 0.5573 GB Notification: Performance of SimCode: time 6.91e-07/0.8715, allocations: 0 / 0.7747 GB, free: 147.1 MB / 0.5573 GB Notification: Performance of Templates: time 0.03533/0.9068, allocations: 26.84 MB / 0.8009 GB, free: 145.8 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe 2>&1)