Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008933/0.0008933, allocations: 170.4 kB / 7.645 MB, free: 1.434 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.3/1.3, allocations: 221.5 MB / 229.6 MB, free: 7.582 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.0008723/0.0008723, allocations: 105.7 kB / 280.5 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4589/0.4589, allocations: 78.07 MB / 409.3 MB, free: 6.359 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.465e-05/1.469e-05, allocations: 0 / 484.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1298, allocations: 69.37 MB / 0.5413 GB, free: 6.863 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3858/0.5156, allocations: 96.31 MB / 0.6353 GB, free: 3.293 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002989/0.516, allocations: 75.95 kB / 0.6354 GB, free: 3.219 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0623/0.5783, allocations: 22.96 MB / 0.6578 GB, free: 12.3 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.5783, allocations: 0 / 0.6578 GB, free: 12.3 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.588e-05/0.5784, allocations: 17.31 kB / 0.6578 GB, free: 12.29 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.004873/0.5833, allocations: 1.593 MB / 0.6594 GB, free: 10.65 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.5833, allocations: 8.031 kB / 0.6594 GB, free: 10.64 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003504/0.5869, allocations: 0.5332 MB / 0.6599 GB, free: 10.11 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001704/0.5886, allocations: 0.6719 MB / 0.6606 GB, free: 9.395 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003226/0.5889, allocations: 232.2 kB / 0.6608 GB, free: 9.129 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002483/0.5892, allocations: 36 kB / 0.6608 GB, free: 9.094 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001557/0.5907, allocations: 0.7498 MB / 0.6616 GB, free: 8.344 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00141/0.5922, allocations: 0.6946 MB / 0.6623 GB, free: 7.645 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.5922, allocations: 3.984 kB / 0.6623 GB, free: 7.641 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.461e-05/0.5923, allocations: 0 / 0.6623 GB, free: 7.641 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.576e-05/0.5923, allocations: 16 kB / 0.6623 GB, free: 7.625 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005917/0.5982, allocations: 3.114 MB / 0.6653 GB, free: 4.371 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001342/0.5996, allocations: 1.102 MB / 0.6664 GB, free: 3.148 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000726/0.6003, allocations: 0.5127 MB / 0.6669 GB, free: 2.637 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001045/0.6004, allocations: 16.77 kB / 0.6669 GB, free: 2.617 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.6005, allocations: 39.34 kB / 0.6669 GB, free: 2.57 MB / 474.7 MB Notification: Performance of pre-optimization done (n=82): time 3.016e-06/0.6005, allocations: 0 / 0.6669 GB, free: 2.57 MB / 474.7 MB Notification: Performance of matching and sorting (n=82): time 0.0121/0.6126, allocations: 3.922 MB / 0.6708 GB, free: 14.64 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.499e-05/0.6127, allocations: 68.19 kB / 0.6708 GB, free: 14.55 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/0.614, allocations: 0.6066 MB / 0.6714 GB, free: 13.95 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002401/0.6143, allocations: 25.7 kB / 0.6715 GB, free: 13.91 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003898/0.6147, allocations: 444.2 kB / 0.6719 GB, free: 13.48 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004744/0.6152, allocations: 279.8 kB / 0.6721 GB, free: 13.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.188e-05/0.6153, allocations: 1.125 kB / 0.6721 GB, free: 13.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.6155, allocations: 337.9 kB / 0.6725 GB, free: 12.86 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008179/0.6163, allocations: 393.5 kB / 0.6728 GB, free: 12.48 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008018/0.6171, allocations: 491.5 kB / 0.6733 GB, free: 11.97 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007746/0.6179, allocations: 429.2 kB / 0.6737 GB, free: 11.55 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.6179, allocations: 0 / 0.6737 GB, free: 11.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.01245/0.6304, allocations: 3.973 MB / 0.6776 GB, free: 7.562 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/0.6304, allocations: 4 kB / 0.6776 GB, free: 7.559 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.6305, allocations: 4 kB / 0.6776 GB, free: 7.555 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00574/0.6362, allocations: 1.692 MB / 0.6793 GB, free: 5.859 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006759/0.6369, allocations: 119.9 kB / 0.6794 GB, free: 5.742 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0149/0.6518, allocations: 7.064 MB / 0.6863 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/0.6533, allocations: 161.9 kB / 0.6864 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001603/0.6535, allocations: 28 kB / 0.6865 GB, free: 14.36 MB / 0.4948 GB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order31.e1q:VARIABLE(start = order31.e1q0 unit = "1" ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 60 * 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.0003826/0.6539, allocations: 118 kB / 0.6866 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003457/0.6543, allocations: 102.7 kB / 0.6867 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01223/0.6665, allocations: 4.008 MB / 0.6906 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.667e-05/0.6665, allocations: 8 kB / 0.6906 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.6666, allocations: 0 / 0.6906 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.691e-05/0.6666, allocations: 3.984 kB / 0.6906 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01444/0.681, allocations: 5.426 MB / 0.6959 GB, free: 4.551 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/0.6811, allocations: 0 / 0.6959 GB, free: 4.551 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006135/0.6817, allocations: 99.83 kB / 0.696 GB, free: 4.453 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005367/0.6871, allocations: 1.668 MB / 0.6976 GB, free: 2.781 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001906/0.6873, allocations: 8.562 kB / 0.6976 GB, free: 2.773 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01289/0.7002, allocations: 6.188 MB / 0.7037 GB, free: 12.47 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.144e-06/0.7002, allocations: 3.984 kB / 0.7037 GB, free: 12.47 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01337/0.7136, allocations: 4.702 MB / 0.7083 GB, free: 7.746 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004189/0.7141, allocations: 187.6 kB / 0.7084 GB, free: 7.543 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002376/0.7143, allocations: 0 / 0.7084 GB, free: 7.543 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/0.7154, allocations: 121 kB / 0.7086 GB, free: 7.426 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006289/0.7161, allocations: 204.2 kB / 0.7087 GB, free: 7.227 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-05/0.7161, allocations: 20 kB / 0.7088 GB, free: 7.207 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000685/0.7168, allocations: 483.1 kB / 0.7092 GB, free: 6.742 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.31e-07/0.7168, allocations: 0 / 0.7092 GB, free: 6.742 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001326/0.7182, allocations: 363.5 kB / 0.7096 GB, free: 6.387 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.e1q) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * 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.000276/0.7185, allocations: 130.9 kB / 0.7097 GB, free: 6.25 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00491/0.7234, allocations: 1.845 MB / 0.7115 GB, free: 4.391 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.7234, allocations: 4 kB / 0.7115 GB, free: 4.387 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004124/0.7275, allocations: 1.396 MB / 0.7129 GB, free: 2.988 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005986/0.7282, allocations: 62.64 kB / 0.7129 GB, free: 2.926 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002462/0.7306, allocations: 1.206 MB / 0.7141 GB, free: 1.695 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006663/0.7313, allocations: 1.056 MB / 0.7151 GB, free: 0.6133 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003224/0.7316, allocations: 57.14 kB / 0.7152 GB, free: 0.5586 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/0.7318, allocations: 47.42 kB / 0.7152 GB, free: 0.5117 MB / 0.5105 GB Notification: Performance of SimCode: time 5.91e-07/0.7318, allocations: 0 / 0.7152 GB, free: 0.5117 MB / 0.5105 GB Notification: Performance of Templates: time 0.02914/0.761, allocations: 17.3 MB / 0.7321 GB, free: 15.36 MB / 0.5417 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)