Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.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.TwoMassesFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial") [: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.001699/0.001699, allocations: 180.7 kB / 7.459 MB, free: 2.496 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.044/1.044, allocations: 221.4 MB / 229.3 MB, free: 2.988 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.0008728/0.0008729, allocations: 101.5 kB / 280.1 MB, free: 1.152 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.002015/0.002015, allocations: 0.5452 MB / 331.4 MB, free: 13.8 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.978e-06/4.008e-06, allocations: 0 / 388 MB, free: 76.26 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06297/0.06299, allocations: 50.56 MB / 438.6 MB, free: 25.87 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1949/0.2579, allocations: 75.71 MB / 0.5023 GB, free: 4.371 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001661/0.2581, allocations: 62.97 kB / 0.5023 GB, free: 4.34 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.006138/0.2643, allocations: 2.618 MB / 0.5049 GB, free: 2.312 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.2643, allocations: 0 / 0.5049 GB, free: 2.312 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.0002543/0.2645, allocations: 380.6 kB / 0.5052 GB, free: 1.898 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.845e-05/0.2646, allocations: 10.88 kB / 0.5052 GB, free: 1.891 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.336e-05/0.2646, allocations: 11.91 kB / 0.5053 GB, free: 1.879 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.396e-05/0.2647, allocations: 178.8 kB / 0.5054 GB, free: 1.664 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.2647, allocations: 0.875 kB / 0.5054 GB, free: 1.664 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.2647, allocations: 8 kB / 0.5054 GB, free: 1.656 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001078/0.2649, allocations: 53.45 kB / 0.5055 GB, free: 1.621 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.265, allocations: 77.48 kB / 0.5056 GB, free: 1.555 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.265, allocations: 4 kB / 0.5056 GB, free: 1.551 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.265, allocations: 0 / 0.5056 GB, free: 1.551 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.265, allocations: 4 kB / 0.5056 GB, free: 1.547 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003752/0.2654, allocations: 350.2 kB / 0.5059 GB, free: 1.211 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.2655, allocations: 78.2 kB / 0.506 GB, free: 1.148 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.471e-05/0.2656, allocations: 38.86 kB / 0.506 GB, free: 1.117 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.2656, allocations: 0 / 0.506 GB, free: 1.117 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.333e-05/0.2656, allocations: 34.16 kB / 0.5061 GB, free: 1.078 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 1.934e-06/0.2656, allocations: 0 / 0.5061 GB, free: 1.078 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007227/0.2663, allocations: 0.622 MB / 0.5067 GB, free: 440 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.66e-05/0.2663, allocations: 51.41 kB / 0.5067 GB, free: 376 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.512e-05/0.2664, allocations: 108.1 kB / 0.5068 GB, free: 268 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.556e-06/0.2664, allocations: 25.7 kB / 0.5068 GB, free: 236 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.241e-05/0.2664, allocations: 95.83 kB / 0.5069 GB, free: 140 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.2665, allocations: 54.94 kB / 0.507 GB, free: 88 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/0.2665, allocations: 0 / 0.507 GB, free: 88 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.814e-05/0.2666, allocations: 326.3 kB / 0.5073 GB, free: 15.76 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.386e-05/0.2666, allocations: 28.25 kB / 0.5073 GB, free: 15.74 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.068e-05/0.2667, allocations: 60.02 kB / 0.5074 GB, free: 15.69 MB / 330.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: mass2.v = $START.mass2.v ($START.mass1.v = $START.mass2.v) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass1.s = $START.mass1.s ($START.mass2.s + -0.5 * (mass2.L + mass1.L) = $START.mass1.s) Notification: Performance of analyzeInitialSystem (initialization): time 0.000544/0.2672, allocations: 314.4 kB / 0.5077 GB, free: 15.38 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.2672, allocations: 384 / 0.5077 GB, free: 15.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002138/0.2675, allocations: 141.8 kB / 0.5078 GB, free: 15.26 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.2675, allocations: 6.5 kB / 0.5078 GB, free: 15.26 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.2675, allocations: 0 / 0.5078 GB, free: 15.26 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001124/0.2676, allocations: 32.66 kB / 0.5078 GB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.978e-05/0.2677, allocations: 31.86 kB / 0.5079 GB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009196/0.2686, allocations: 1.373 MB / 0.5092 GB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.384e-05/0.2687, allocations: 0 / 0.5092 GB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.2687, allocations: 4 kB / 0.5092 GB, free: 13.77 MB / 330.7 MB Warning: Assuming redundant initial conditions for the following 2 initial equations: mass2.v = $START.mass2.v mass1.s = $START.mass1.s 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 7.325e-05/0.2688, allocations: 117.9 kB / 0.5093 GB, free: 13.65 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.296e-05/0.2688, allocations: 11.81 kB / 0.5093 GB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.751e-05/0.2689, allocations: 14.59 kB / 0.5094 GB, free: 13.63 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.2689, allocations: 4 kB / 0.5094 GB, free: 13.63 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2689, allocations: 0 / 0.5094 GB, free: 13.63 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.2689, allocations: 0 / 0.5094 GB, free: 13.63 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005072/0.2694, allocations: 0.5458 MB / 0.5099 GB, free: 13.06 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.2694, allocations: 4 kB / 0.5099 GB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001257/0.2696, allocations: 24.12 kB / 0.5099 GB, free: 13.03 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.874e-05/0.2696, allocations: 24.23 kB / 0.5099 GB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.2696, allocations: 3.984 kB / 0.5099 GB, free: 13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000653/0.2703, allocations: 1.217 MB / 0.5111 GB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.2703, allocations: 4.031 kB / 0.5111 GB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002743/0.2706, allocations: 320.5 kB / 0.5114 GB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.299e-05/0.2706, allocations: 92.98 kB / 0.5115 GB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.2707, allocations: 0 / 0.5115 GB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.567e-05/0.2707, allocations: 0 / 0.5115 GB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.871e-05/0.2708, allocations: 11.23 kB / 0.5115 GB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-06/0.2708, allocations: 4 kB / 0.5116 GB, free: 11.27 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.682e-05/0.2708, allocations: 90.89 kB / 0.5116 GB, free: 11.18 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002768/0.2711, allocations: 24 kB / 0.5117 GB, free: 11.16 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass2.s,mass2.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.412e-05/0.2712, allocations: 105.3 kB / 0.5118 GB, free: 11.05 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002996/0.2715, allocations: 198.1 kB / 0.512 GB, free: 10.87 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.2715, allocations: 0 / 0.512 GB, free: 10.87 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001824/0.2717, allocations: 152.5 kB / 0.5121 GB, free: 10.72 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.2719, allocations: 24.62 kB / 0.5121 GB, free: 10.7 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004297/0.2724, allocations: 273.7 kB / 0.5124 GB, free: 10.42 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002368/0.2726, allocations: 0.7348 MB / 0.5131 GB, free: 9.664 MB / 330.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2726, allocations: 0 / 0.5131 GB, free: 9.664 MB / 330.7 MB Notification: Performance of Templates: time 0.003052/0.2757, allocations: 1.353 MB / 0.5144 GB, free: 8.359 MB / 330.7 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe 2>&1)