Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.0009193/0.0009192, allocations: 177.1 kB / 15.78 MB, free: 6.352 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.288/1.288, allocations: 223.3 MB / 239.8 MB, free: 40 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008741/0.0008741, allocations: 98.64 kB / 290.9 MB, free: 4.523 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.476/0.476, allocations: 78.62 MB / 420.7 MB, free: 36.3 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003865/0.0003865, allocations: 15.94 kB / 0.4888 GB, free: 7.262 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1509, allocations: 69.36 MB / 0.5565 GB, free: 1.84 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG): time 0.006527/0.1575, allocations: 5.825 MB / 0.5622 GB, free: 11.98 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004425/0.1619, allocations: 1.873 MB / 0.564 GB, free: 10.11 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001473/0.1635, allocations: 12 kB / 0.5641 GB, free: 10.09 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008791/0.1644, allocations: 166.8 kB / 0.5642 GB, free: 9.93 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001917/0.1663, allocations: 0.5944 MB / 0.5648 GB, free: 9.332 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001398/0.1677, allocations: 0.5516 MB / 0.5653 GB, free: 8.789 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001616/0.1693, allocations: 1.308 MB / 0.5666 GB, free: 7.477 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004511/0.1698, allocations: 253.2 kB / 0.5669 GB, free: 7.223 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007279/0.1705, allocations: 0.5133 MB / 0.5674 GB, free: 6.707 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007302/0.1713, allocations: 0.6377 MB / 0.568 GB, free: 6.066 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001248/0.1714, allocations: 52 kB / 0.568 GB, free: 6.016 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004428/0.1719, allocations: 171.9 kB / 0.5682 GB, free: 5.848 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002425/0.1721, allocations: 218.9 kB / 0.5684 GB, free: 5.633 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000207/0.1723, allocations: 217 kB / 0.5686 GB, free: 5.414 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001124/0.1734, allocations: 1.134 MB / 0.5697 GB, free: 4.277 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1735, allocations: 7.938 kB / 0.5697 GB, free: 4.27 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1735, allocations: 0 / 0.5697 GB, free: 4.27 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.602e-05/0.1735, allocations: 0 / 0.5697 GB, free: 4.27 MB / 442.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.007823/0.1813, allocations: 2.381 MB / 0.572 GB, free: 1.832 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.1814, allocations: 8.031 kB / 0.5721 GB, free: 1.824 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005082/0.1865, allocations: 0.7827 MB / 0.5728 GB, free: 1.039 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001703/0.1882, allocations: 0.7691 MB / 0.5736 GB, free: 220 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.301/0.4892, allocations: 267.9 kB / 0.5738 GB, free: 44.22 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000433/0.4897, allocations: 74.28 kB / 0.5739 GB, free: 44.22 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002552/0.4923, allocations: 1.195 MB / 0.5751 GB, free: 44.14 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/0.4923, allocations: 0 / 0.5751 GB, free: 44.14 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-05/0.4924, allocations: 30.22 kB / 0.5751 GB, free: 44.14 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/0.4924, allocations: 18.22 kB / 0.5751 GB, free: 44.14 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002329/0.4948, allocations: 1.159 MB / 0.5762 GB, free: 44.14 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005646/0.5004, allocations: 3.525 MB / 0.5797 GB, free: 43.32 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002315/0.5027, allocations: 1.511 MB / 0.5812 GB, free: 42.72 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001623/0.5044, allocations: 0.8208 MB / 0.582 GB, free: 42.7 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.727e-05/0.5045, allocations: 17.88 kB / 0.582 GB, free: 42.7 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.5045, allocations: 45.75 kB / 0.582 GB, free: 42.66 MB / 442.7 MB Notification: Performance of pre-optimization done (n=89): time 3.998e-06/0.5045, allocations: 1.938 kB / 0.582 GB, free: 42.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=89): time 0.02974/0.5343, allocations: 8.454 MB / 0.5903 GB, free: 42.06 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.358e-05/0.5344, allocations: 88.44 kB / 0.5904 GB, free: 41.97 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001633/0.536, allocations: 0.9341 MB / 0.5913 GB, free: 41.82 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002718/0.5363, allocations: 42.92 kB / 0.5913 GB, free: 41.79 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004382/0.5368, allocations: 480.2 kB / 0.5918 GB, free: 41.63 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003404/0.5371, allocations: 322.6 kB / 0.5921 GB, free: 41.43 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.673e-05/0.5372, allocations: 20.38 kB / 0.5921 GB, free: 41.43 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.213e-05/0.5373, allocations: 353 kB / 0.5924 GB, free: 41.12 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001599/0.5389, allocations: 0.7625 MB / 0.5932 GB, free: 41.01 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001581/0.5405, allocations: 0.9037 MB / 0.5941 GB, free: 40.64 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001579/0.5421, allocations: 0.8203 MB / 0.5949 GB, free: 40.31 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.5421, allocations: 0 / 0.5949 GB, free: 40.31 MB / 442.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.01426/0.5564, allocations: 5.116 MB / 0.5999 GB, free: 39.19 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.037e-05/0.5565, allocations: 151.3 kB / 0.6 GB, free: 39.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.5565, allocations: 3.156 kB / 0.6 GB, free: 39.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006457/0.563, allocations: 2.111 MB / 0.6021 GB, free: 38.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/0.564, allocations: 209.4 kB / 0.6023 GB, free: 38.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02102/0.5851, allocations: 9.529 MB / 0.6116 GB, free: 34.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001832/0.587, allocations: 223.6 kB / 0.6118 GB, free: 34.47 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001302/0.5871, allocations: 36.66 kB / 0.6118 GB, free: 34.46 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.5871, allocations: 3.656 kB / 0.6118 GB, free: 34.46 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01505/0.6022, allocations: 4.957 MB / 0.6167 GB, free: 33.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/0.6022, allocations: 9.75 kB / 0.6167 GB, free: 33.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007005/0.6093, allocations: 2.108 MB / 0.6187 GB, free: 33.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/0.6104, allocations: 204.3 kB / 0.6189 GB, free: 33.06 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02261/0.633, allocations: 9.507 MB / 0.6282 GB, free: 28.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/0.6345, allocations: 205.3 kB / 0.6284 GB, free: 28.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.349e-05/0.6346, allocations: 38.38 kB / 0.6284 GB, free: 28.89 MB / 442.7 MB 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(flow=false 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 (106): * Single equations (assignments): 105 * 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.0005625/0.6352, allocations: 335.6 kB / 0.6288 GB, free: 28.61 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001971/0.6354, allocations: 118.2 kB / 0.6289 GB, free: 28.55 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01393/0.6493, allocations: 4.868 MB / 0.6336 GB, free: 25.43 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-05/0.6494, allocations: 8 kB / 0.6336 GB, free: 25.42 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.6494, allocations: 0 / 0.6336 GB, free: 25.42 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.022e-05/0.6494, allocations: 4.688 kB / 0.6336 GB, free: 25.42 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01494/0.6643, allocations: 6.456 MB / 0.64 GB, free: 18.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/0.6644, allocations: 0 / 0.64 GB, free: 18.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005863/0.665, allocations: 111.9 kB / 0.6401 GB, free: 18.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005791/0.6708, allocations: 2.051 MB / 0.6421 GB, free: 16.68 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000111/0.6709, allocations: 19.98 kB / 0.6421 GB, free: 16.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01636/0.6873, allocations: 8.206 MB / 0.6501 GB, free: 8.32 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.6873, allocations: 0 / 0.6501 GB, free: 8.32 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01506/0.7024, allocations: 5.829 MB / 0.6558 GB, free: 2.469 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006968/0.7032, allocations: 211.5 kB / 0.656 GB, free: 2.242 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000375/0.7036, allocations: 19.98 kB / 0.656 GB, free: 2.223 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001327/0.7049, allocations: 147.9 kB / 0.6561 GB, free: 2.078 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006782/0.7056, allocations: 204.6 kB / 0.6563 GB, free: 1.879 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.491e-05/0.7057, allocations: 16 kB / 0.6564 GB, free: 1.863 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009779/0.7067, allocations: 0.6354 MB / 0.657 GB, free: 1.219 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.303e-06/0.7067, allocations: 0 / 0.657 GB, free: 1.219 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002297/0.709, allocations: 0.7021 MB / 0.6577 GB, free: 0.5156 MB / 442.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.00027/0.7093, allocations: 134.5 kB / 0.6578 GB, free: 392 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01253/0.7218, allocations: 4.596 MB / 0.6623 GB, free: 11.79 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.7219, allocations: 7.938 kB / 0.6623 GB, free: 11.78 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004998/0.7269, allocations: 1.74 MB / 0.664 GB, free: 10.03 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001213/0.7281, allocations: 93.11 kB / 0.6641 GB, free: 9.934 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004525/0.7327, allocations: 2.48 MB / 0.6665 GB, free: 7.453 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007218/0.7334, allocations: 1.101 MB / 0.6676 GB, free: 6.324 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003243/0.7338, allocations: 79.36 kB / 0.6676 GB, free: 6.25 MB / 458.7 MB Notification: Performance of SimCode: time 1.232e-06/0.7338, allocations: 0 / 0.6676 GB, free: 6.25 MB / 458.7 MB Notification: Performance of Templates: time 0.0291/0.7629, allocations: 21.04 MB / 0.6882 GB, free: 1.32 MB / 474.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe 2>&1)