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.000949/0.000949, allocations: 176.2 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.248/1.248, allocations: 221.5 MB / 229.6 MB, free: 7.57 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.0008772/0.0008772, allocations: 87.61 kB / 280.5 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.457/0.457, allocations: 78.06 MB / 409.3 MB, free: 6.297 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.322e-05/1.331e-05, allocations: 0 / 484.9 MB, free: 12.24 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1198, allocations: 69.36 MB / 0.5413 GB, free: 6.809 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3972/0.5171, allocations: 98.66 MB / 0.6376 GB, free: 0.9023 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/0.5174, allocations: 77.38 kB / 0.6377 GB, free: 0.8281 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06621/0.5836, allocations: 25.28 MB / 0.6624 GB, free: 7.609 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.5836, allocations: 4 kB / 0.6624 GB, free: 7.605 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.826e-05/0.5837, allocations: 27.94 kB / 0.6624 GB, free: 7.578 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.004524/0.5882, allocations: 1.707 MB / 0.6641 GB, free: 5.828 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.5883, allocations: 8.031 kB / 0.6641 GB, free: 5.82 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003206/0.5915, allocations: 0.5487 MB / 0.6646 GB, free: 5.27 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001431/0.5929, allocations: 0.7649 MB / 0.6654 GB, free: 4.449 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002547/0.5932, allocations: 232.5 kB / 0.6656 GB, free: 4.188 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.5933, allocations: 47.95 kB / 0.6656 GB, free: 4.141 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001454/0.5948, allocations: 0.8279 MB / 0.6664 GB, free: 3.312 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.5962, allocations: 0.8329 MB / 0.6673 GB, free: 2.469 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.5963, allocations: 0 / 0.6673 GB, free: 2.469 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.984e-05/0.5963, allocations: 0 / 0.6673 GB, free: 2.469 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.549e-05/0.5964, allocations: 20 kB / 0.6673 GB, free: 2.449 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00568/0.602, allocations: 3.377 MB / 0.6706 GB, free: 14.93 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001352/0.6034, allocations: 1.197 MB / 0.6717 GB, free: 13.61 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007522/0.6042, allocations: 0.5466 MB / 0.6723 GB, free: 13.06 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001073/0.6043, allocations: 16.77 kB / 0.6723 GB, free: 13.04 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.6043, allocations: 41.84 kB / 0.6723 GB, free: 13 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 2.485e-06/0.6043, allocations: 4 kB / 0.6723 GB, free: 12.99 MB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.01159/0.6159, allocations: 3.976 MB / 0.6762 GB, free: 9.004 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/0.616, allocations: 93.89 kB / 0.6763 GB, free: 8.891 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009228/0.6169, allocations: 0.7014 MB / 0.677 GB, free: 8.172 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.499e-05/0.617, allocations: 25.7 kB / 0.677 GB, free: 8.141 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003601/0.6174, allocations: 0.4894 MB / 0.6775 GB, free: 7.645 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002956/0.6177, allocations: 299.5 kB / 0.6778 GB, free: 7.348 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.637e-05/0.6178, allocations: 4 kB / 0.6778 GB, free: 7.344 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.618, allocations: 333.9 kB / 0.6781 GB, free: 7.012 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006404/0.6186, allocations: 418.6 kB / 0.6785 GB, free: 6.602 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007129/0.6193, allocations: 0.5193 MB / 0.679 GB, free: 6.051 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006562/0.62, allocations: 464.5 kB / 0.6795 GB, free: 5.602 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.62, allocations: 4 kB / 0.6795 GB, free: 5.598 MB / 490.7 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.01165/0.6317, allocations: 4.054 MB / 0.6834 GB, free: 1.527 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002668/0.632, allocations: 0.796 MB / 0.6842 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.632, allocations: 4 kB / 0.6842 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005458/0.6374, allocations: 1.677 MB / 0.6858 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000762/0.6382, allocations: 143.8 kB / 0.686 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01375/0.652, allocations: 7.054 MB / 0.6929 GB, free: 7.672 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/0.6534, allocations: 179.2 kB / 0.693 GB, free: 7.496 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.665e-05/0.6535, allocations: 36.78 kB / 0.6931 GB, free: 7.461 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.414e-06/0.6535, allocations: 4 kB / 0.6931 GB, free: 7.457 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01141/0.6649, allocations: 3.905 MB / 0.6969 GB, free: 3.551 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.006e-05/0.665, allocations: 4 kB / 0.6969 GB, free: 3.547 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005331/0.6703, allocations: 1.691 MB / 0.6985 GB, free: 1.852 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007326/0.6711, allocations: 135.8 kB / 0.6987 GB, free: 1.719 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01404/0.6851, allocations: 7.07 MB / 0.7056 GB, free: 10.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001571/0.6868, allocations: 169.6 kB / 0.7057 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.875e-05/0.6869, allocations: 28 kB / 0.7058 GB, free: 10.34 MB / 0.5105 GB Warning: Assuming fixed start value for the following 3 variables: TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [1] order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_Inputs_Outputs1.w:VARIABLE(start = 1.0 ) "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 () * 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.000374/0.6873, allocations: 124.9 kB / 0.7059 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002288/0.6875, allocations: 118.6 kB / 0.706 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01203/0.6996, allocations: 4.083 MB / 0.71 GB, free: 5.988 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.815e-05/0.6996, allocations: 8 kB / 0.71 GB, free: 5.98 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.6996, allocations: 0 / 0.71 GB, free: 5.98 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.238e-05/0.6997, allocations: 7.938 kB / 0.71 GB, free: 5.973 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01472/0.7144, allocations: 5.595 MB / 0.7155 GB, free: 260 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.7145, allocations: 4 kB / 0.7155 GB, free: 256 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006216/0.7151, allocations: 111.9 kB / 0.7156 GB, free: 144 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005114/0.7202, allocations: 1.664 MB / 0.7172 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/0.7203, allocations: 4 kB / 0.7172 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01247/0.7328, allocations: 6.213 MB / 0.7233 GB, free: 8.133 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.7329, allocations: 3.953 kB / 0.7233 GB, free: 8.129 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01359/0.7464, allocations: 4.819 MB / 0.728 GB, free: 3.285 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005053/0.747, allocations: 207.5 kB / 0.7282 GB, free: 3.062 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001865/0.7472, allocations: 4 kB / 0.7282 GB, free: 3.059 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001128/0.7483, allocations: 139.8 kB / 0.7283 GB, free: 2.922 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005914/0.7489, allocations: 200.4 kB / 0.7285 GB, free: 2.727 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.533e-05/0.749, allocations: 22.31 kB / 0.7285 GB, free: 2.707 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007511/0.7498, allocations: 0.545 MB / 0.7291 GB, free: 2.152 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.183e-06/0.7498, allocations: 0 / 0.7291 GB, free: 2.152 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001761/0.7516, allocations: 0.5966 MB / 0.7296 GB, free: 1.555 MB / 0.5261 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 () * 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.0002853/0.7519, allocations: 140.6 kB / 0.7298 GB, free: 1.406 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009114/0.761, allocations: 3.417 MB / 0.7331 GB, free: 13.97 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.761, allocations: 0 / 0.7331 GB, free: 13.97 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004101/0.7651, allocations: 1.43 MB / 0.7345 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008114/0.766, allocations: 80.23 kB / 0.7346 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003178/0.7692, allocations: 1.533 MB / 0.7361 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006685/0.7699, allocations: 1.13 MB / 0.7372 GB, free: 9.742 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0006644/0.7705, allocations: 152.6 kB / 0.7373 GB, free: 9.59 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001535/0.7707, allocations: 47.42 kB / 0.7374 GB, free: 9.543 MB / 0.5417 GB Notification: Performance of SimCode: time 5.51e-07/0.7707, allocations: 0 / 0.7374 GB, free: 9.543 MB / 0.5417 GB Notification: Performance of Templates: time 0.2838/1.055, allocations: 26.51 MB / 0.7633 GB, free: 150 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)