Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.Order5test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order5test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order5test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.003534/0.003534, allocations: 188.6 kB / 7.456 MB, free: 2.52 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.23/1.23, allocations: 221.4 MB / 229.3 MB, free: 3.023 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.0009666/0.0009665, allocations: 105.2 kB / 280.1 MB, free: 1.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4212/0.4212, allocations: 78.06 MB / 409 MB, free: 15.56 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.23e-06/5.26e-06, allocations: 0 / 484.3 MB, free: 4.453 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.2385, allocations: 69.35 MB / 0.5407 GB, free: 21.57 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.108/0.3465, allocations: 96.8 MB / 0.6352 GB, free: 8.043 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001945/0.3468, allocations: 79.95 kB / 0.6353 GB, free: 7.965 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.06593/0.4127, allocations: 23.33 MB / 0.6581 GB, free: 468 kB / 474.7 MB Notification: Performance of Transformations before backend: time 5.199e-05/0.4128, allocations: 23.94 kB / 0.6581 GB, free: 444 kB / 474.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.004947/0.4178, allocations: 1.675 MB / 0.6598 GB, free: 14.71 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.4178, allocations: 8.031 kB / 0.6598 GB, free: 14.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003798/0.4216, allocations: 0.5643 MB / 0.6603 GB, free: 14.13 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001512/0.4231, allocations: 0.6798 MB / 0.661 GB, free: 13.41 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002935/0.4235, allocations: 244.1 kB / 0.6612 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001779/0.4236, allocations: 40 kB / 0.6613 GB, free: 13.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001582/0.4252, allocations: 0.7577 MB / 0.662 GB, free: 12.34 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/0.4267, allocations: 0.6985 MB / 0.6627 GB, free: 11.64 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.4267, allocations: 0 / 0.6627 GB, free: 11.64 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.394e-05/0.4268, allocations: 3.938 kB / 0.6627 GB, free: 11.63 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.833e-05/0.4268, allocations: 19.98 kB / 0.6627 GB, free: 11.61 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006266/0.4331, allocations: 3.182 MB / 0.6658 GB, free: 8.289 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.4341, allocations: 0.5188 MB / 0.6663 GB, free: 7.762 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008452/0.435, allocations: 0.5159 MB / 0.6668 GB, free: 7.242 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001185/0.4351, allocations: 16.75 kB / 0.6668 GB, free: 7.227 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.4352, allocations: 43.34 kB / 0.6669 GB, free: 7.176 MB / 490.7 MB Notification: Performance of pre-optimization done (n=84): time 2.414e-06/0.4352, allocations: 3.938 kB / 0.6669 GB, free: 7.172 MB / 490.7 MB Notification: Performance of matching and sorting (n=84): time 0.01384/0.449, allocations: 4.19 MB / 0.671 GB, free: 2.969 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.98e-05/0.4491, allocations: 64.17 kB / 0.671 GB, free: 2.895 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/0.4503, allocations: 0.6144 MB / 0.6716 GB, free: 2.277 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001496/0.4505, allocations: 25.7 kB / 0.6717 GB, free: 2.246 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/0.4507, allocations: 284.3 kB / 0.6719 GB, free: 1.961 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000502/0.4512, allocations: 287.6 kB / 0.6722 GB, free: 1.676 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.945e-05/0.4513, allocations: 0 / 0.6722 GB, free: 1.676 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.4515, allocations: 345.9 kB / 0.6725 GB, free: 1.332 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008574/0.4523, allocations: 410 kB / 0.6729 GB, free: 0.9336 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008516/0.4532, allocations: 0.5012 MB / 0.6734 GB, free: 404 kB / 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.1471/0.6003, allocations: 0.538 MB / 0.6739 GB, free: 143.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.6003, allocations: 3.281 kB / 0.6739 GB, free: 143.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.01323/0.6136, allocations: 4.398 MB / 0.6782 GB, free: 143.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.6136, allocations: 10.06 kB / 0.6782 GB, free: 143.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.6136, allocations: 0 / 0.6782 GB, free: 143.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006246/0.6199, allocations: 1.826 MB / 0.68 GB, free: 143.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005501/0.6204, allocations: 120.6 kB / 0.6801 GB, free: 143.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01421/0.6347, allocations: 6.614 MB / 0.6866 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.6359, allocations: 182.4 kB / 0.6868 GB, free: 142.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.13e-05/0.636, allocations: 30.09 kB / 0.6868 GB, free: 142.2 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.0001924/0.6362, allocations: 116.9 kB / 0.6869 GB, free: 142.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00016/0.6363, allocations: 105 kB / 0.687 GB, free: 142.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01213/0.6485, allocations: 4.282 MB / 0.6912 GB, free: 141.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.6485, allocations: 7.781 kB / 0.6912 GB, free: 141.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.6485, allocations: 4 kB / 0.6912 GB, free: 141.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.946e-06/0.6485, allocations: 3.844 kB / 0.6912 GB, free: 141.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01425/0.6628, allocations: 5.548 MB / 0.6966 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.6628, allocations: 5 kB / 0.6966 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006779/0.6635, allocations: 99.17 kB / 0.6967 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005646/0.6692, allocations: 1.726 MB / 0.6984 GB, free: 140.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000105/0.6693, allocations: 7.969 kB / 0.6984 GB, free: 140.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01279/0.6821, allocations: 5.648 MB / 0.7039 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.6821, allocations: 1.031 kB / 0.7039 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01369/0.6958, allocations: 5.01 MB / 0.7088 GB, free: 138.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002536/0.6961, allocations: 187.9 kB / 0.709 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001818/0.6963, allocations: 2.875 kB / 0.709 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/0.6973, allocations: 130.2 kB / 0.7091 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003757/0.6977, allocations: 116.1 kB / 0.7093 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.327e-05/0.6978, allocations: 24.22 kB / 0.7093 GB, free: 138.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0005212/0.6983, allocations: 485.8 kB / 0.7097 GB, free: 138.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001048/0.6994, allocations: 365.2 kB / 0.7101 GB, free: 138.6 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.0002574/0.6997, allocations: 128.5 kB / 0.7102 GB, free: 138.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005106/0.7048, allocations: 1.899 MB / 0.7121 GB, free: 138.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.7048, allocations: 0 / 0.7121 GB, free: 138.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004183/0.709, allocations: 1.401 MB / 0.7134 GB, free: 137.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004287/0.7094, allocations: 57.59 kB / 0.7135 GB, free: 137.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002944/0.7124, allocations: 1.376 MB / 0.7148 GB, free: 137 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000569/0.713, allocations: 1.093 MB / 0.7159 GB, free: 136.3 MB / 490.7 MB Notification: Performance of SimCode: time 3.71e-07/0.713, allocations: 7.656 kB / 0.7159 GB, free: 136.3 MB / 490.7 MB Notification: Performance of Templates: time 0.02615/0.7391, allocations: 17.97 MB / 0.7335 GB, free: 132.9 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order5test2.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order5test2.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order5test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe 2>&1)