Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.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.TwoMassesFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 173.9 kB / 7.648 MB, free: 1.422 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.442/1.442, allocations: 221.5 MB / 229.6 MB, free: 3.172 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.0008966/0.0008966, allocations: 98.05 kB / 280.5 MB, free: 1.145 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.002399/0.002399, allocations: 0.5622 MB / 331.8 MB, free: 13.77 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.323e-05/2.312e-05, allocations: 0 / 388.6 MB, free: 76.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1245, allocations: 50.57 MB / 439.2 MB, free: 25.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4039/0.5284, allocations: 75.84 MB / 0.5029 GB, free: 4.398 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002067/0.5287, allocations: 62.5 kB / 0.503 GB, free: 4.367 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006351/0.5351, allocations: 2.951 MB / 0.5059 GB, free: 1.934 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5351, allocations: 7.594 kB / 0.5059 GB, free: 1.93 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.313e-06/0.5351, allocations: 4 kB / 0.5059 GB, free: 1.926 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.0003114/0.5354, allocations: 374 kB / 0.5062 GB, free: 1.52 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.5355, allocations: 8.031 kB / 0.5062 GB, free: 1.512 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.005e-05/0.5355, allocations: 15.86 kB / 0.5063 GB, free: 1.496 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.5356, allocations: 178.8 kB / 0.5064 GB, free: 1.281 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.5356, allocations: 4 kB / 0.5064 GB, free: 1.277 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.99e-05/0.5357, allocations: 11.98 kB / 0.5064 GB, free: 1.266 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001222/0.5358, allocations: 57.11 kB / 0.5065 GB, free: 1.227 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.5359, allocations: 70 kB / 0.5066 GB, free: 1.168 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.5359, allocations: 3.984 kB / 0.5066 GB, free: 1.164 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.536, allocations: 3.953 kB / 0.5066 GB, free: 1.16 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.536, allocations: 4 kB / 0.5066 GB, free: 1.156 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004316/0.5364, allocations: 350.8 kB / 0.5069 GB, free: 0.8164 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.5365, allocations: 91.73 kB / 0.507 GB, free: 0.7422 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.293e-05/0.5366, allocations: 31.8 kB / 0.507 GB, free: 0.7148 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.5366, allocations: 3.719 kB / 0.507 GB, free: 0.7148 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/0.5366, allocations: 34.5 kB / 0.5071 GB, free: 0.6719 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 1.934e-06/0.5367, allocations: 4 kB / 0.5071 GB, free: 0.668 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.000788/0.5374, allocations: 0.6084 MB / 0.5077 GB, free: 32 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.578e-05/0.5375, allocations: 59.36 kB / 0.5077 GB, free: 15.96 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.711e-05/0.5376, allocations: 100.9 kB / 0.5078 GB, free: 15.86 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.5376, allocations: 25.7 kB / 0.5078 GB, free: 15.83 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.694e-05/0.5377, allocations: 110.8 kB / 0.5079 GB, free: 15.72 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.589e-05/0.5378, allocations: 54.45 kB / 0.508 GB, free: 15.68 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.601e-06/0.5378, allocations: 0 / 0.508 GB, free: 15.68 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.5379, allocations: 322 kB / 0.5083 GB, free: 15.36 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.372e-05/0.538, allocations: 31 kB / 0.5083 GB, free: 15.34 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.941e-05/0.538, allocations: 49.02 kB / 0.5084 GB, free: 15.29 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.a = $START.mass1.a ($START.mass2.a = $START.mass1.a) Notification: Performance of analyzeInitialSystem (initialization): time 0.0004176/0.5385, allocations: 278.6 kB / 0.5086 GB, free: 15.02 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.5385, allocations: 0 / 0.5086 GB, free: 15.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001867/0.5387, allocations: 126.9 kB / 0.5088 GB, free: 14.91 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.5387, allocations: 4 kB / 0.5088 GB, free: 14.9 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.964e-06/0.5387, allocations: 4 kB / 0.5088 GB, free: 14.9 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.5387, allocations: 0 / 0.5088 GB, free: 14.9 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.5389, allocations: 36.02 kB / 0.5088 GB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.908e-06/0.5389, allocations: 8.328 kB / 0.5088 GB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.317e-05/0.539, allocations: 0 / 0.5088 GB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.539, allocations: 7.5 kB / 0.5088 GB, free: 14.85 MB / 330.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: mass2.v = $START.mass2.v mass1.a = $START.mass1.a. 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 9.714e-05/0.5391, allocations: 122 kB / 0.5089 GB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.089e-05/0.5391, allocations: 7.906 kB / 0.5089 GB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.219e-05/0.5392, allocations: 11.62 kB / 0.509 GB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.5392, allocations: 4 kB / 0.509 GB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/0.5392, allocations: 256 / 0.509 GB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.5392, allocations: 11.94 kB / 0.509 GB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006243/0.5398, allocations: 0.5517 MB / 0.5095 GB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.5399, allocations: 0 / 0.5095 GB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.54, allocations: 28.03 kB / 0.5095 GB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001014/0.5401, allocations: 24.34 kB / 0.5096 GB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.5401, allocations: 0 / 0.5096 GB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009199/0.541, allocations: 1.229 MB / 0.5108 GB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.5411, allocations: 0 / 0.5108 GB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003205/0.5414, allocations: 317.3 kB / 0.5111 GB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.234e-05/0.5414, allocations: 85.02 kB / 0.5111 GB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.5415, allocations: 0 / 0.5111 GB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.894e-05/0.5415, allocations: 0 / 0.5111 GB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.125e-05/0.5416, allocations: 22.81 kB / 0.5112 GB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.5416, allocations: 4 kB / 0.5112 GB, free: 12.33 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.407e-05/0.5416, allocations: 89.22 kB / 0.5113 GB, free: 12.25 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5416, allocations: 0 / 0.5113 GB, free: 12.25 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002541/0.5419, allocations: 24 kB / 0.5113 GB, free: 12.23 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 0.0001353/0.5421, allocations: 103.2 kB / 0.5114 GB, free: 12.11 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002044/0.5423, allocations: 83.19 kB / 0.5115 GB, free: 12.05 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5423, allocations: 3.938 kB / 0.5115 GB, free: 12.05 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002284/0.5425, allocations: 156.2 kB / 0.5116 GB, free: 11.9 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.5428, allocations: 20.97 kB / 0.5116 GB, free: 11.89 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005218/0.5433, allocations: 285.7 kB / 0.5119 GB, free: 11.59 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.5436, allocations: 0.7123 MB / 0.5126 GB, free: 10.85 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.75e-05/0.5437, allocations: 12.77 kB / 0.5126 GB, free: 10.84 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.062e-05/0.5437, allocations: 15.72 kB / 0.5126 GB, free: 10.82 MB / 330.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5437, allocations: 0 / 0.5126 GB, free: 10.82 MB / 330.7 MB Notification: Performance of Templates: time 0.003484/0.5472, allocations: 1.167 MB / 0.5138 GB, free: 9.711 MB / 330.7 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe 2>&1)