Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL.Tests.Machines.PSAT.Order5test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order5test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.002992/0.002992, allocations: 187.6 kB / 7.46 MB, free: 2.516 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.041/1.041, allocations: 221.4 MB / 229.3 MB, free: 3.043 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.0008395/0.0008395, allocations: 97.33 kB / 280.1 MB, free: 1.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3542/0.3542, allocations: 78.1 MB / 409 MB, free: 15.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.27e-06/5.38e-06, allocations: 0 / 484.4 MB, free: 4.543 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.2284, allocations: 69.34 MB / 0.5407 GB, free: 21.61 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09849/0.3269, allocations: 96.79 MB / 0.6353 GB, free: 8.203 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002054/0.3272, allocations: 83.95 kB / 0.6353 GB, free: 8.121 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.05787/0.385, allocations: 23.32 MB / 0.6581 GB, free: 0.6211 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.517e-05/0.3851, allocations: 20 kB / 0.6581 GB, free: 0.6016 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.0042/0.3893, allocations: 1.679 MB / 0.6598 GB, free: 14.87 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3894, allocations: 8.031 kB / 0.6598 GB, free: 14.86 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003247/0.3926, allocations: 0.5604 MB / 0.6603 GB, free: 14.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001243/0.3939, allocations: 0.6837 MB / 0.661 GB, free: 13.58 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002475/0.3941, allocations: 240.1 kB / 0.6612 GB, free: 13.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/0.3943, allocations: 40 kB / 0.6613 GB, free: 13.27 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001335/0.3956, allocations: 0.7577 MB / 0.662 GB, free: 12.51 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/0.3969, allocations: 0.7024 MB / 0.6627 GB, free: 11.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.3969, allocations: 0 / 0.6627 GB, free: 11.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.225e-05/0.397, allocations: 3.938 kB / 0.6627 GB, free: 11.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.397, allocations: 16 kB / 0.6627 GB, free: 11.78 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005247/0.4022, allocations: 3.186 MB / 0.6658 GB, free: 8.445 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008809/0.4031, allocations: 0.5188 MB / 0.6663 GB, free: 7.918 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000714/0.4039, allocations: 0.517 MB / 0.6668 GB, free: 7.398 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000102/0.404, allocations: 20.73 kB / 0.6669 GB, free: 7.379 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.404, allocations: 43.34 kB / 0.6669 GB, free: 7.328 MB / 490.7 MB Notification: Performance of pre-optimization done (n=84): time 1.983e-06/0.404, allocations: 3.938 kB / 0.6669 GB, free: 7.324 MB / 490.7 MB Notification: Performance of matching and sorting (n=84): time 0.01189/0.4159, allocations: 4.186 MB / 0.671 GB, free: 3.125 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.416, allocations: 60.19 kB / 0.6711 GB, free: 3.055 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008164/0.4168, allocations: 0.6183 MB / 0.6717 GB, free: 2.434 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.828e-05/0.4169, allocations: 25.7 kB / 0.6717 GB, free: 2.402 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/0.417, allocations: 284.3 kB / 0.672 GB, free: 2.117 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002724/0.4173, allocations: 291.6 kB / 0.6722 GB, free: 1.828 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.042e-05/0.4174, allocations: 0 / 0.6722 GB, free: 1.828 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.4175, allocations: 338 kB / 0.6726 GB, free: 1.492 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006518/0.4182, allocations: 417.9 kB / 0.6729 GB, free: 1.086 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007217/0.4189, allocations: 0.5012 MB / 0.6734 GB, free: 0.5469 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.1306/0.5495, allocations: 0.536 MB / 0.674 GB, free: 144 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.857e-06/0.5495, allocations: 0 / 0.674 GB, free: 144 MB / 490.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.01196/0.5615, allocations: 4.398 MB / 0.6783 GB, free: 144 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.5615, allocations: 6.344 kB / 0.6783 GB, free: 144 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.5615, allocations: 3.562 kB / 0.6783 GB, free: 144 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005741/0.5673, allocations: 1.825 MB / 0.68 GB, free: 143.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005604/0.5679, allocations: 126.5 kB / 0.6802 GB, free: 143.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0128/0.5807, allocations: 6.615 MB / 0.6866 GB, free: 142.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/0.5819, allocations: 174.5 kB / 0.6868 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.542e-05/0.582, allocations: 29.86 kB / 0.6868 GB, free: 142.4 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.0001946/0.5822, allocations: 112.7 kB / 0.6869 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001476/0.5823, allocations: 105.9 kB / 0.687 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01083/0.5932, allocations: 4.286 MB / 0.6912 GB, free: 141.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.5932, allocations: 14.69 kB / 0.6912 GB, free: 141.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.5932, allocations: 0 / 0.6912 GB, free: 141.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.5932, allocations: 3.891 kB / 0.6912 GB, free: 141.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01266/0.6059, allocations: 5.551 MB / 0.6967 GB, free: 141.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.6059, allocations: 0 / 0.6967 GB, free: 141.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005851/0.6065, allocations: 101 kB / 0.6968 GB, free: 141.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005005/0.6115, allocations: 1.729 MB / 0.6984 GB, free: 141 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.629e-05/0.6116, allocations: 6.312 kB / 0.6984 GB, free: 141 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01101/0.6226, allocations: 5.648 MB / 0.704 GB, free: 139.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.6226, allocations: 0 / 0.704 GB, free: 139.6 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0117/0.6344, allocations: 5.013 MB / 0.7089 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002065/0.6346, allocations: 189.5 kB / 0.709 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001612/0.6347, allocations: 0 / 0.709 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009317/0.6357, allocations: 130.7 kB / 0.7092 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002636/0.636, allocations: 124.8 kB / 0.7093 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.478e-05/0.636, allocations: 20.75 kB / 0.7093 GB, free: 138.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0004524/0.6365, allocations: 484 kB / 0.7098 GB, free: 138.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008846/0.6374, allocations: 361.1 kB / 0.7101 GB, free: 138.8 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.0002064/0.6376, allocations: 132 kB / 0.7102 GB, free: 138.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004394/0.642, allocations: 1.895 MB / 0.7121 GB, free: 138.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.642, allocations: 0 / 0.7121 GB, free: 138.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003509/0.6455, allocations: 1.403 MB / 0.7135 GB, free: 137.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.6459, allocations: 58.72 kB / 0.7135 GB, free: 137.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002567/0.6485, allocations: 1.377 MB / 0.7149 GB, free: 137.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005118/0.649, allocations: 1.099 MB / 0.7159 GB, free: 136.4 MB / 490.7 MB Notification: Performance of SimCode: time 2.61e-07/0.649, allocations: 0 / 0.7159 GB, free: 136.4 MB / 490.7 MB Notification: Performance of Templates: time 0.02132/0.6704, allocations: 17.97 MB / 0.7335 GB, free: 133.2 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order5test2.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order5test2.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order5test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe 2>&1)