Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.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/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.Order3test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.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.001656/0.001656, allocations: 174.6 kB / 12.73 MB, free: 2.59 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.347/1.347, allocations: 205.2 MB / 218.5 MB, free: 9.215 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.0008293/0.0008294, allocations: 84.39 kB / 266.6 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06709/0.06709, allocations: 12.59 MB / 327.3 MB, free: 12.48 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2903/0.2903, allocations: 78.03 MB / 456.1 MB, free: 14.9 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.752e-05/2.754e-05, allocations: 4 kB / 0.5218 GB, free: 23.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09619/0.09623, allocations: 69.34 MB / 0.5895 GB, free: 2.469 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3566/0.4529, allocations: 100.9 MB / 0.688 GB, free: 14.49 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001962/0.4531, allocations: 81.58 kB / 0.6881 GB, free: 14.45 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06613/0.5192, allocations: 24.87 MB / 0.7124 GB, free: 9.43 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5193, allocations: 0 / 0.7124 GB, free: 9.43 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.377e-05/0.5193, allocations: 24 kB / 0.7124 GB, free: 9.406 MB / 458.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.004443/0.5238, allocations: 1.707 MB / 0.7141 GB, free: 7.766 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.5238, allocations: 15.97 kB / 0.7141 GB, free: 7.75 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003302/0.5272, allocations: 0.554 MB / 0.7146 GB, free: 7.238 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/0.5286, allocations: 0.7574 MB / 0.7154 GB, free: 6.582 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002734/0.5289, allocations: 266.5 kB / 0.7156 GB, free: 6.312 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/0.529, allocations: 69.19 kB / 0.7157 GB, free: 6.266 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001559/0.5306, allocations: 0.947 MB / 0.7166 GB, free: 5.648 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.5306, allocations: 3.984 kB / 0.7166 GB, free: 5.645 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/0.5308, allocations: 29.56 kB / 0.7167 GB, free: 5.637 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/0.5308, allocations: 16 kB / 0.7167 GB, free: 5.621 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001547/0.5323, allocations: 0.8581 MB / 0.7175 GB, free: 5.086 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006005/0.5384, allocations: 3.51 MB / 0.7209 GB, free: 2.375 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001503/0.5399, allocations: 1.225 MB / 0.7221 GB, free: 1.348 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008358/0.5408, allocations: 0.571 MB / 0.7227 GB, free: 1.039 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001154/0.5409, allocations: 8.781 kB / 0.7227 GB, free: 1.031 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.5409, allocations: 46.64 kB / 0.7227 GB, free: 0.9844 MB / 458.7 MB Notification: Performance of pre-optimization done (n=89): time 4.859e-06/0.5409, allocations: 3.984 kB / 0.7227 GB, free: 0.9805 MB / 458.7 MB Notification: Performance of matching and sorting (n=89): time 0.01283/0.5538, allocations: 4.044 MB / 0.7267 GB, free: 13.48 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.749e-05/0.5539, allocations: 89.89 kB / 0.7268 GB, free: 13.37 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/0.5549, allocations: 0.7721 MB / 0.7275 GB, free: 12.77 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001419/0.5551, allocations: 40.08 kB / 0.7276 GB, free: 12.74 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003073/0.5554, allocations: 493.4 kB / 0.728 GB, free: 12.46 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003049/0.5557, allocations: 312.2 kB / 0.7283 GB, free: 12.2 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.355e-05/0.5558, allocations: 14.62 kB / 0.7284 GB, free: 12.19 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.5559, allocations: 339.4 kB / 0.7287 GB, free: 11.87 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000728/0.5566, allocations: 435.5 kB / 0.7291 GB, free: 11.64 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007915/0.5574, allocations: 0.534 MB / 0.7296 GB, free: 11.29 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007724/0.5582, allocations: 478.1 kB / 0.7301 GB, free: 11.02 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.5582, allocations: 0 / 0.7301 GB, free: 11.02 MB / 474.7 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.01278/0.571, allocations: 4.14 MB / 0.7341 GB, free: 7.434 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002662/0.5713, allocations: 0.7953 MB / 0.7349 GB, free: 6.594 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.5713, allocations: 4 kB / 0.7349 GB, free: 6.59 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005893/0.5772, allocations: 1.719 MB / 0.7366 GB, free: 5.09 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007228/0.5779, allocations: 149.9 kB / 0.7367 GB, free: 4.949 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01508/0.593, allocations: 7.259 MB / 0.7438 GB, free: 15.53 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0015/0.5946, allocations: 203.1 kB / 0.744 GB, free: 15.33 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/0.5947, allocations: 24 kB / 0.744 GB, free: 15.31 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.5947, allocations: 7.938 kB / 0.744 GB, free: 15.3 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01282/0.6076, allocations: 4.007 MB / 0.7479 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.6076, allocations: 3.984 kB / 0.7479 GB, free: 11.28 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005783/0.6134, allocations: 1.719 MB / 0.7496 GB, free: 9.559 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007304/0.6141, allocations: 139.8 kB / 0.7498 GB, free: 9.422 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0148/0.629, allocations: 7.263 MB / 0.7568 GB, free: 2.027 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/0.6304, allocations: 183.2 kB / 0.757 GB, free: 1.848 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-05/0.6305, allocations: 28 kB / 0.7571 GB, free: 1.82 MB / 490.7 MB 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.0002722/0.6308, allocations: 164.1 kB / 0.7572 GB, free: 1.656 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002079/0.631, allocations: 114.6 kB / 0.7573 GB, free: 1.543 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01269/0.6437, allocations: 4.177 MB / 0.7614 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/0.6437, allocations: 8 kB / 0.7614 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.6437, allocations: 0 / 0.7614 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.845e-05/0.6437, allocations: 3.984 kB / 0.7614 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01458/0.6583, allocations: 5.767 MB / 0.767 GB, free: 7.434 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.6584, allocations: 0 / 0.767 GB, free: 7.434 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000615/0.659, allocations: 115.8 kB / 0.7671 GB, free: 7.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005389/0.6644, allocations: 1.683 MB / 0.7688 GB, free: 5.633 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001294/0.6645, allocations: 20 kB / 0.7688 GB, free: 5.613 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01315/0.6777, allocations: 6.321 MB / 0.775 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.6777, allocations: 3.984 kB / 0.775 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01395/0.6917, allocations: 4.909 MB / 0.7798 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003596/0.6921, allocations: 207.4 kB / 0.78 GB, free: 9.988 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001673/0.6923, allocations: 23.98 kB / 0.78 GB, free: 9.965 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/0.6934, allocations: 147.9 kB / 0.7801 GB, free: 9.82 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005822/0.694, allocations: 204.4 kB / 0.7803 GB, free: 9.621 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.146e-05/0.6941, allocations: 16 kB / 0.7804 GB, free: 9.605 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008008/0.6949, allocations: 0.6128 MB / 0.781 GB, free: 8.98 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6949, allocations: 0 / 0.781 GB, free: 8.98 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001653/0.6966, allocations: 0.6592 MB / 0.7816 GB, free: 8.32 MB / 0.5105 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.0002558/0.6968, allocations: 143.1 kB / 0.7817 GB, free: 8.172 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009511/0.7064, allocations: 3.541 MB / 0.7852 GB, free: 4.609 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.7064, allocations: 0 / 0.7852 GB, free: 4.609 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004234/0.7106, allocations: 1.48 MB / 0.7866 GB, free: 3.117 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005894/0.7112, allocations: 84.34 kB / 0.7867 GB, free: 3.031 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003211/0.7144, allocations: 1.574 MB / 0.7883 GB, free: 1.43 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006234/0.7151, allocations: 1.134 MB / 0.7894 GB, free: 272 kB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007061/0.7158, allocations: 164.7 kB / 0.7895 GB, free: 104 kB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001616/0.716, allocations: 51.36 kB / 0.7896 GB, free: 56 kB / 0.5105 GB Notification: Performance of SimCode: time 9.32e-07/0.716, allocations: 0 / 0.7896 GB, free: 56 kB / 0.5105 GB Notification: Performance of Templates: time 0.04267/0.7587, allocations: 28.65 MB / 0.8175 GB, free: 3.383 MB / 0.5417 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe 2>&1)