Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2.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.Order5test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order5test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005515/0.005515, allocations: 173.9 kB / 7.45 MB, free: 2.324 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.293/1.293, allocations: 221.4 MB / 229.3 MB, free: 3.012 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.0009531/0.0009533, allocations: 96.48 kB / 280.1 MB, free: 1.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.446/0.446, allocations: 78.91 MB / 409.8 MB, free: 15.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.841e-06/6.021e-06, allocations: 0 / 485.4 MB, free: 3.719 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.295, allocations: 69.5 MB / 0.5419 GB, free: 20.85 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1149/0.4099, allocations: 97.38 MB / 0.637 GB, free: 6.598 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00021/0.4102, allocations: 71.97 kB / 0.637 GB, free: 6.527 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.06659/0.4768, allocations: 23.62 MB / 0.6601 GB, free: 14.73 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.266e-05/0.4769, allocations: 27.94 kB / 0.6601 GB, free: 14.7 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.004938/0.4818, allocations: 1.668 MB / 0.6617 GB, free: 12.98 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.4819, allocations: 8.031 kB / 0.6618 GB, free: 12.97 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003828/0.4857, allocations: 0.5604 MB / 0.6623 GB, free: 12.41 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001979/0.4877, allocations: 0.6875 MB / 0.663 GB, free: 11.68 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003202/0.4881, allocations: 240.1 kB / 0.6632 GB, free: 11.41 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002544/0.4883, allocations: 40 kB / 0.6632 GB, free: 11.37 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001658/0.49, allocations: 0.7538 MB / 0.664 GB, free: 10.62 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/0.4915, allocations: 0.7024 MB / 0.6647 GB, free: 9.91 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.4915, allocations: 0 / 0.6647 GB, free: 9.91 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.77e-05/0.4916, allocations: 0 / 0.6647 GB, free: 9.91 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.022e-05/0.4916, allocations: 20 kB / 0.6647 GB, free: 9.891 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006442/0.4981, allocations: 3.198 MB / 0.6678 GB, free: 6.551 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.4991, allocations: 0.5149 MB / 0.6683 GB, free: 6.027 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008117/0.4999, allocations: 0.5148 MB / 0.6688 GB, free: 5.508 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001135/0.5001, allocations: 16.75 kB / 0.6688 GB, free: 5.492 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.5001, allocations: 43.34 kB / 0.6689 GB, free: 5.441 MB / 490.7 MB Notification: Performance of pre-optimization done (n=84): time 2.304e-06/0.5001, allocations: 0 / 0.6689 GB, free: 5.441 MB / 490.7 MB Notification: Performance of matching and sorting (n=84): time 0.0133/0.5134, allocations: 4.186 MB / 0.673 GB, free: 1.242 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.5135, allocations: 60.19 kB / 0.673 GB, free: 1.172 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.5147, allocations: 0.6183 MB / 0.6736 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001955/0.5149, allocations: 25.7 kB / 0.6736 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002139/0.5151, allocations: 284.3 kB / 0.6739 GB, free: 240 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.1659/0.681, allocations: 291.6 kB / 0.6742 GB, free: 143.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.688e-05/0.6811, allocations: 0 / 0.6742 GB, free: 143.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.261e-05/0.6812, allocations: 339 kB / 0.6745 GB, free: 143 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006381/0.6819, allocations: 409.7 kB / 0.6749 GB, free: 143 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007089/0.6826, allocations: 0.5004 MB / 0.6754 GB, free: 142.9 MB / 490.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: $DER.order5Type1_Inputs_Outputs.delta = 0.0 (order5Type1_Inputs_Outputs.w_b * (-1.0 + $START.order5Type1_Inputs_Outputs.w) = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.0008914/0.6835, allocations: 0.537 MB / 0.6759 GB, free: 142.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.6835, allocations: 3.969 kB / 0.6759 GB, free: 142.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.01236/0.6959, allocations: 4.399 MB / 0.6802 GB, free: 142.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.6959, allocations: 6.594 kB / 0.6802 GB, free: 142.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.6959, allocations: 3.844 kB / 0.6802 GB, free: 142.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006153/0.7021, allocations: 1.832 MB / 0.682 GB, free: 142.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006333/0.7028, allocations: 119.5 kB / 0.6821 GB, free: 142.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01395/0.7167, allocations: 6.629 MB / 0.6886 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/0.718, allocations: 164.3 kB / 0.6888 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.081e-05/0.7181, allocations: 28.94 kB / 0.6888 GB, free: 141.3 MB / 490.7 MB Warning: Assuming redundant initial conditions for the following 1 initial equations: $DER.order5Type1_Inputs_Outputs.delta = 0.0 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 (62): * Single equations (assignments): 61 * 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 {24 15} Notification: Performance of prepare postOptimizeDAE: time 0.0002361/0.7184, allocations: 127.3 kB / 0.6889 GB, free: 141.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001756/0.7185, allocations: 100.5 kB / 0.689 GB, free: 141.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01162/0.7302, allocations: 4.277 MB / 0.6932 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/0.7302, allocations: 8.156 kB / 0.6932 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.7302, allocations: 3.938 kB / 0.6932 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.266e-05/0.7302, allocations: 3.844 kB / 0.6932 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01407/0.7443, allocations: 5.553 MB / 0.6986 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.224e-05/0.7444, allocations: 0 / 0.6986 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006977/0.7451, allocations: 104.9 kB / 0.6987 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005501/0.7506, allocations: 1.722 MB / 0.7004 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001796/0.7508, allocations: 13.7 kB / 0.7004 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01204/0.7628, allocations: 5.647 MB / 0.7059 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.7629, allocations: 0 / 0.7059 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01333/0.7762, allocations: 5.004 MB / 0.7108 GB, free: 137.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003665/0.7766, allocations: 191.9 kB / 0.711 GB, free: 137.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001988/0.7768, allocations: 0 / 0.711 GB, free: 137.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/0.7779, allocations: 135.8 kB / 0.7111 GB, free: 137.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002803/0.7782, allocations: 110.8 kB / 0.7112 GB, free: 137.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.906e-05/0.7783, allocations: 25.83 kB / 0.7113 GB, free: 137.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0005897/0.7789, allocations: 483.4 kB / 0.7117 GB, free: 137.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001035/0.7799, allocations: 362 kB / 0.7121 GB, free: 137.4 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order5Type1_Inputs_Outputs.delta,order5Type1_Inputs_Outputs.w,order5Type1_Inputs_Outputs.e1q,order5Type1_Inputs_Outputs.e1d,order5Type1_Inputs_Outputs.e2d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 50 * 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.0002267/0.7801, allocations: 130.6 kB / 0.7122 GB, free: 137.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005085/0.7852, allocations: 1.892 MB / 0.714 GB, free: 136.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.7853, allocations: 3.75 kB / 0.714 GB, free: 136.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004036/0.7893, allocations: 1.409 MB / 0.7154 GB, free: 136.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006391/0.79, allocations: 53.66 kB / 0.7155 GB, free: 136.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003138/0.7931, allocations: 1.387 MB / 0.7168 GB, free: 135.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005593/0.7937, allocations: 1.092 MB / 0.7179 GB, free: 134.8 MB / 490.7 MB Notification: Performance of SimCode: time 6.61e-07/0.7937, allocations: 0 / 0.7179 GB, free: 134.8 MB / 490.7 MB Notification: Performance of Templates: time 0.02632/0.82, allocations: 17.98 MB / 0.7354 GB, free: 130.9 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe 2>&1)