Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.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/ModelicaTestOverdetermined 4.0.0-master/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.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(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial") [: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.002309/0.002309, allocations: 179.2 kB / 7.463 MB, free: 2.484 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.04/1.04, allocations: 221.4 MB / 229.3 MB, free: 3.07 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.0007895/0.0007897, allocations: 92.95 kB / 280.1 MB, free: 1.316 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.002078/0.002078, allocations: 0.5511 MB / 331.4 MB, free: 13.95 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.42e-06/5.44e-06, allocations: 4 kB / 388 MB, free: 76.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0666/0.06661, allocations: 50.56 MB / 438.6 MB, free: 26.02 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1982/0.2648, allocations: 75.69 MB / 0.5022 GB, free: 4.637 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001512/0.265, allocations: 67.95 kB / 0.5023 GB, free: 4.602 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.004998/0.27, allocations: 2.106 MB / 0.5044 GB, free: 2.973 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.363e-06/0.2701, allocations: 4 kB / 0.5044 GB, free: 2.969 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0002647/0.2703, allocations: 364.6 kB / 0.5047 GB, free: 2.57 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.2704, allocations: 8.031 kB / 0.5047 GB, free: 2.562 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.625e-05/0.2704, allocations: 15.16 kB / 0.5047 GB, free: 2.551 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.2706, allocations: 181.6 kB / 0.5049 GB, free: 2.336 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.2706, allocations: 4 kB / 0.5049 GB, free: 2.332 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/0.2706, allocations: 4 kB / 0.5049 GB, free: 2.328 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001119/0.2707, allocations: 51.45 kB / 0.505 GB, free: 2.293 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.2708, allocations: 80.67 kB / 0.505 GB, free: 2.223 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.2709, allocations: 0 / 0.505 GB, free: 2.223 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.2709, allocations: 0 / 0.505 GB, free: 2.223 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.2709, allocations: 4 kB / 0.505 GB, free: 2.219 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003763/0.2713, allocations: 356.8 kB / 0.5054 GB, free: 1.879 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.656e-05/0.2714, allocations: 74.14 kB / 0.5055 GB, free: 1.82 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.54e-05/0.2714, allocations: 35.61 kB / 0.5055 GB, free: 1.793 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.2714, allocations: 3.938 kB / 0.5055 GB, free: 1.789 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.014e-05/0.2715, allocations: 30.56 kB / 0.5055 GB, free: 1.75 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.2715, allocations: 224 / 0.5055 GB, free: 1.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007291/0.2722, allocations: 0.6155 MB / 0.5061 GB, free: 1.105 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.436e-05/0.2722, allocations: 51.41 kB / 0.5062 GB, free: 1.043 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.28e-05/0.2723, allocations: 105.4 kB / 0.5063 GB, free: 0.9375 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.025e-06/0.2723, allocations: 25.7 kB / 0.5063 GB, free: 0.9062 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.462e-05/0.2723, allocations: 103.2 kB / 0.5064 GB, free: 0.8047 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.167e-05/0.2723, allocations: 50.39 kB / 0.5064 GB, free: 0.7617 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-06/0.2724, allocations: 4 kB / 0.5064 GB, free: 0.7578 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.628e-05/0.2724, allocations: 322.8 kB / 0.5068 GB, free: 448 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.958e-05/0.2724, allocations: 26.94 kB / 0.5068 GB, free: 432 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.813e-05/0.2725, allocations: 56.72 kB / 0.5068 GB, free: 380 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.24e-05/0.2726, allocations: 48.02 kB / 0.5069 GB, free: 348 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.2726, allocations: 0 / 0.5069 GB, free: 348 kB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000182/0.2727, allocations: 147.2 kB / 0.507 GB, free: 216 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.848e-06/0.2728, allocations: 4.625 kB / 0.507 GB, free: 212 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.2728, allocations: 0 / 0.507 GB, free: 212 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001018/0.2729, allocations: 31.97 kB / 0.5071 GB, free: 184 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.273, allocations: 27.98 kB / 0.5071 GB, free: 156 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009271/0.2739, allocations: 1.371 MB / 0.5084 GB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.448e-05/0.274, allocations: 3.938 kB / 0.5084 GB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.274, allocations: 7.375 kB / 0.5084 GB, free: 14.72 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.423e-05/0.2741, allocations: 109 kB / 0.5085 GB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.356e-05/0.2741, allocations: 15.84 kB / 0.5085 GB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.578e-05/0.2741, allocations: 11.31 kB / 0.5086 GB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.2742, allocations: 4.141 kB / 0.5086 GB, free: 14.58 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.2742, allocations: 0 / 0.5086 GB, free: 14.58 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.2742, allocations: 3.984 kB / 0.5086 GB, free: 14.58 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005046/0.2747, allocations: 0.4988 MB / 0.5091 GB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2747, allocations: 0 / 0.5091 GB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.2748, allocations: 31.73 kB / 0.5091 GB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.298e-05/0.2749, allocations: 20.84 kB / 0.5091 GB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.2749, allocations: 0 / 0.5091 GB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006554/0.2756, allocations: 1.215 MB / 0.5103 GB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.2756, allocations: 4.031 kB / 0.5103 GB, free: 12.72 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000278/0.2759, allocations: 325.5 kB / 0.5106 GB, free: 12.41 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.289e-05/0.2759, allocations: 84.92 kB / 0.5107 GB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.2759, allocations: 8.062 kB / 0.5107 GB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.562e-05/0.276, allocations: 0 / 0.5107 GB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.238e-05/0.276, allocations: 7.984 kB / 0.5107 GB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.2761, allocations: 7.562 kB / 0.5107 GB, free: 12.29 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.268e-05/0.2761, allocations: 90.33 kB / 0.5108 GB, free: 12.2 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002725/0.2764, allocations: 24 kB / 0.5108 GB, free: 12.18 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass1.s,mass1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.787e-05/0.2765, allocations: 99.19 kB / 0.5109 GB, free: 12.07 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002972/0.2768, allocations: 193.6 kB / 0.5111 GB, free: 11.89 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2768, allocations: 0 / 0.5111 GB, free: 11.89 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.2769, allocations: 150.7 kB / 0.5112 GB, free: 11.75 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.2772, allocations: 19.84 kB / 0.5113 GB, free: 11.73 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004824/0.2777, allocations: 289 kB / 0.5115 GB, free: 11.44 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000284/0.278, allocations: 0.731 MB / 0.5122 GB, free: 10.68 MB / 330.7 MB Notification: Performance of SimCode: time 2.6e-07/0.278, allocations: 0 / 0.5122 GB, free: 10.68 MB / 330.7 MB Notification: Performance of Templates: time 0.003255/0.2812, allocations: 1.337 MB / 0.5136 GB, free: 9.414 MB / 330.7 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe 2>&1)