Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.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.TwoMassesReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState") [: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.002014/0.002014, allocations: 175.5 kB / 7.451 MB, free: 2.004 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.033/1.033, allocations: 221.4 MB / 229.3 MB, free: 3.066 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.0008477/0.0008478, allocations: 97.08 kB / 280.1 MB, free: 1.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.002165/0.002164, allocations: 0.5566 MB / 331.4 MB, free: 13.89 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.478e-06/4.509e-06, allocations: 0 / 388 MB, free: 76.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06824/0.06826, allocations: 50.56 MB / 438.6 MB, free: 26.02 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1977/0.266, allocations: 75.72 MB / 0.5023 GB, free: 4.602 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001708/0.2662, allocations: 63.89 kB / 0.5023 GB, free: 4.566 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.004937/0.2712, allocations: 2.119 MB / 0.5044 GB, free: 2.93 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.2712, allocations: 0 / 0.5044 GB, free: 2.93 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.000279/0.2715, allocations: 372.1 kB / 0.5047 GB, free: 2.523 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.2715, allocations: 8.031 kB / 0.5048 GB, free: 2.516 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.952e-05/0.2716, allocations: 14.64 kB / 0.5048 GB, free: 2.504 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.099e-05/0.2717, allocations: 178.8 kB / 0.5049 GB, free: 2.289 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.2717, allocations: 6.234 kB / 0.5049 GB, free: 2.285 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.2717, allocations: 12 kB / 0.505 GB, free: 2.273 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001082/0.2718, allocations: 52.2 kB / 0.505 GB, free: 2.238 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.2719, allocations: 79.36 kB / 0.5051 GB, free: 2.172 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.2719, allocations: 0 / 0.5051 GB, free: 2.172 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.272, allocations: 3.984 kB / 0.5051 GB, free: 2.168 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.272, allocations: 4 kB / 0.5051 GB, free: 2.164 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003744/0.2723, allocations: 353.2 kB / 0.5054 GB, free: 1.824 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.2725, allocations: 78.17 kB / 0.5055 GB, free: 1.766 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.611e-05/0.2725, allocations: 31.73 kB / 0.5055 GB, free: 1.738 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.2725, allocations: 3.938 kB / 0.5055 GB, free: 1.734 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.265e-05/0.2725, allocations: 34.66 kB / 0.5056 GB, free: 1.695 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 1.794e-06/0.2725, allocations: 4 kB / 0.5056 GB, free: 1.691 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.000727/0.2733, allocations: 0.6018 MB / 0.5062 GB, free: 1.055 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.567e-05/0.2733, allocations: 54.28 kB / 0.5062 GB, free: 0.9922 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.416e-05/0.2734, allocations: 103.9 kB / 0.5063 GB, free: 0.8867 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.288e-06/0.2734, allocations: 25.7 kB / 0.5063 GB, free: 0.8555 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.805e-05/0.2734, allocations: 107.2 kB / 0.5064 GB, free: 0.75 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/0.2734, allocations: 49.7 kB / 0.5065 GB, free: 0.707 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-06/0.2735, allocations: 0 / 0.5065 GB, free: 0.707 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.445e-05/0.2735, allocations: 329.3 kB / 0.5068 GB, free: 392 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.957e-05/0.2735, allocations: 27.38 kB / 0.5068 GB, free: 376 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.982e-05/0.2736, allocations: 49.91 kB / 0.5069 GB, free: 328 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.265e-05/0.2737, allocations: 42.86 kB / 0.5069 GB, free: 300 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.2737, allocations: 4 kB / 0.5069 GB, free: 296 kB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001355/0.2738, allocations: 116.5 kB / 0.507 GB, free: 196 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/0.2738, allocations: 8.938 kB / 0.507 GB, free: 188 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.2738, allocations: 0 / 0.507 GB, free: 188 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.2738, allocations: 384 / 0.507 GB, free: 188 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.274, allocations: 43.91 kB / 0.5071 GB, free: 144 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.274, allocations: 4.812 kB / 0.5071 GB, free: 140 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.182e-05/0.2741, allocations: 0 / 0.5071 GB, free: 140 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-06/0.2741, allocations: 11.69 kB / 0.5071 GB, free: 132 kB / 314.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 (19): * Single equations (assignments): 19 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.215e-05/0.2741, allocations: 116.9 kB / 0.5072 GB, free: 8 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/0.2742, allocations: 7.906 kB / 0.5072 GB, free: 0 / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.609e-05/0.2742, allocations: 12.38 kB / 0.5072 GB, free: 15.99 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.2742, allocations: 4 kB / 0.5072 GB, free: 15.99 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2742, allocations: 0 / 0.5072 GB, free: 15.99 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2743, allocations: 0 / 0.5072 GB, free: 15.99 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004613/0.2747, allocations: 458.9 kB / 0.5077 GB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2747, allocations: 0 / 0.5077 GB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.2749, allocations: 23.98 kB / 0.5077 GB, free: 15.51 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.453e-05/0.275, allocations: 28.38 kB / 0.5077 GB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.876e-06/0.275, allocations: 0 / 0.5077 GB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007893/0.2758, allocations: 1.224 MB / 0.5089 GB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.2758, allocations: 4.031 kB / 0.5089 GB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002754/0.2761, allocations: 319.2 kB / 0.5092 GB, free: 13.87 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.457e-05/0.2761, allocations: 85.08 kB / 0.5093 GB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.2761, allocations: 7.984 kB / 0.5093 GB, free: 13.76 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.7e-05/0.2762, allocations: 0 / 0.5093 GB, free: 13.76 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.181e-05/0.2762, allocations: 7.938 kB / 0.5093 GB, free: 13.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.2763, allocations: 11.23 kB / 0.5093 GB, free: 13.74 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.239e-05/0.2763, allocations: 87.16 kB / 0.5094 GB, free: 13.66 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002308/0.2765, allocations: 24 kB / 0.5094 GB, free: 13.64 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 9.699e-05/0.2766, allocations: 95.25 kB / 0.5095 GB, free: 13.54 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001406/0.2768, allocations: 87.19 kB / 0.5096 GB, free: 13.47 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2768, allocations: 0 / 0.5096 GB, free: 13.47 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001827/0.277, allocations: 144.8 kB / 0.5097 GB, free: 13.33 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.2772, allocations: 20.27 kB / 0.5098 GB, free: 13.32 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004208/0.2776, allocations: 283.5 kB / 0.51 GB, free: 13.03 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002259/0.2779, allocations: 0.7309 MB / 0.5107 GB, free: 12.27 MB / 330.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2779, allocations: 288 / 0.5107 GB, free: 12.27 MB / 330.7 MB Notification: Performance of Templates: time 0.002908/0.2808, allocations: 1.201 MB / 0.5119 GB, free: 11.14 MB / 330.7 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe 2>&1)