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.001138/0.001138, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 221.4 MB / 234.6 MB, free: 14.4 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 102.7 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.004065/0.004065, allocations: 0.553 MB / 337 MB, free: 9.5 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.574e-05/3.576e-05, allocations: 4 kB / 395.5 MB, free: 70.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1231, allocations: 50.57 MB / 446 MB, free: 19.99 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4348/0.558, allocations: 76.51 MB / 0.5103 GB, free: 11.34 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/0.5583, allocations: 64.78 kB / 0.5104 GB, free: 11.31 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007646/0.566, allocations: 2.99 MB / 0.5133 GB, free: 8.797 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.566, allocations: 0 / 0.5133 GB, free: 8.797 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.566, allocations: 4 kB / 0.5133 GB, free: 8.793 MB / 330.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.000368/0.5664, allocations: 366.3 kB / 0.5136 GB, free: 8.391 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.5664, allocations: 8.031 kB / 0.5136 GB, free: 8.383 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/0.5665, allocations: 11.86 kB / 0.5136 GB, free: 8.371 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.5666, allocations: 190.5 kB / 0.5138 GB, free: 8.148 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.5666, allocations: 192 / 0.5138 GB, free: 8.148 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.003e-05/0.5667, allocations: 11.81 kB / 0.5138 GB, free: 8.141 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.5668, allocations: 95.67 kB / 0.5139 GB, free: 8.066 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.5669, allocations: 0 / 0.5139 GB, free: 8.066 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.5669, allocations: 3.375 kB / 0.5139 GB, free: 8.066 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.5669, allocations: 4 kB / 0.5139 GB, free: 8.062 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.567, allocations: 56.38 kB / 0.514 GB, free: 8.023 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005078/0.5675, allocations: 390.6 kB / 0.5144 GB, free: 7.641 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.5677, allocations: 98.25 kB / 0.5145 GB, free: 7.559 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.474e-05/0.5677, allocations: 35.5 kB / 0.5145 GB, free: 7.535 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.5678, allocations: 4 kB / 0.5145 GB, free: 7.531 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.5678, allocations: 30.56 kB / 0.5145 GB, free: 7.492 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 1.143e-06/0.5678, allocations: 0 / 0.5145 GB, free: 7.492 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.00097/0.5688, allocations: 0.6538 MB / 0.5152 GB, free: 6.824 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/0.5688, allocations: 51.41 kB / 0.5152 GB, free: 6.762 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.504e-05/0.5689, allocations: 116.4 kB / 0.5153 GB, free: 6.648 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.5689, allocations: 25.7 kB / 0.5154 GB, free: 6.617 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.167e-05/0.569, allocations: 106.4 kB / 0.5155 GB, free: 6.512 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.935e-05/0.569, allocations: 57.39 kB / 0.5155 GB, free: 6.465 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/0.569, allocations: 4 kB / 0.5155 GB, free: 6.461 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.5692, allocations: 326.4 kB / 0.5158 GB, free: 6.141 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.594e-05/0.5692, allocations: 33.31 kB / 0.5159 GB, free: 6.117 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.717e-05/0.5693, allocations: 56.8 kB / 0.5159 GB, free: 6.07 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.000402/0.5697, allocations: 285.9 kB / 0.5162 GB, free: 5.785 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.5697, allocations: 0 / 0.5162 GB, free: 5.785 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001861/0.5699, allocations: 136.5 kB / 0.5163 GB, free: 5.672 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.5699, allocations: 4 kB / 0.5163 GB, free: 5.668 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.5699, allocations: 0 / 0.5163 GB, free: 5.668 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.57, allocations: 7.953 kB / 0.5163 GB, free: 5.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.5701, allocations: 39.34 kB / 0.5164 GB, free: 5.625 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.5702, allocations: 8.016 kB / 0.5164 GB, free: 5.617 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.747e-05/0.5702, allocations: 7.375 kB / 0.5164 GB, free: 5.613 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.5702, allocations: 4.25 kB / 0.5164 GB, free: 5.609 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 7.615e-05/0.5703, allocations: 116 kB / 0.5165 GB, free: 5.492 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.121e-05/0.5703, allocations: 10.72 kB / 0.5165 GB, free: 5.484 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.116e-05/0.5704, allocations: 16.92 kB / 0.5165 GB, free: 5.48 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.5704, allocations: 4 kB / 0.5165 GB, free: 5.477 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.5704, allocations: 3.953 kB / 0.5165 GB, free: 5.473 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.5704, allocations: 0 / 0.5165 GB, free: 5.473 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006093/0.571, allocations: 0.5963 MB / 0.5171 GB, free: 4.848 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.571, allocations: 0 / 0.5171 GB, free: 4.848 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/0.5712, allocations: 27.92 kB / 0.5171 GB, free: 4.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.454e-05/0.5713, allocations: 24.77 kB / 0.5172 GB, free: 4.797 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.5713, allocations: 0 / 0.5172 GB, free: 4.797 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008861/0.5722, allocations: 1.275 MB / 0.5184 GB, free: 3.434 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.5722, allocations: 4.031 kB / 0.5184 GB, free: 3.43 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003295/0.5725, allocations: 334.6 kB / 0.5187 GB, free: 3.109 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.913e-05/0.5726, allocations: 84.97 kB / 0.5188 GB, free: 3.008 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.5726, allocations: 4 kB / 0.5188 GB, free: 3.004 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.426e-05/0.5727, allocations: 2.562 kB / 0.5188 GB, free: 3.004 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.202e-05/0.5727, allocations: 15.42 kB / 0.5188 GB, free: 2.992 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.5728, allocations: 11.92 kB / 0.5188 GB, free: 2.98 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.93e-05/0.5728, allocations: 97.45 kB / 0.5189 GB, free: 2.891 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5728, allocations: 4.062 kB / 0.5189 GB, free: 2.887 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002629/0.5731, allocations: 27.25 kB / 0.519 GB, free: 2.863 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.0001236/0.5732, allocations: 106.5 kB / 0.5191 GB, free: 2.75 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001847/0.5734, allocations: 90.36 kB / 0.5191 GB, free: 2.684 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.5734, allocations: 0 / 0.5191 GB, free: 2.684 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002266/0.5737, allocations: 175 kB / 0.5193 GB, free: 2.516 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.5739, allocations: 15.42 kB / 0.5193 GB, free: 2.504 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004687/0.5744, allocations: 305.2 kB / 0.5196 GB, free: 2.195 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.5746, allocations: 0.7048 MB / 0.5203 GB, free: 1.465 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.625e-05/0.5747, allocations: 16.77 kB / 0.5203 GB, free: 1.445 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.741e-05/0.5747, allocations: 11.44 kB / 0.5203 GB, free: 1.438 MB / 330.7 MB Notification: Performance of SimCode: time 3.31e-07/0.5747, allocations: 0 / 0.5203 GB, free: 1.438 MB / 330.7 MB Notification: Performance of Templates: time 0.003346/0.5781, allocations: 1.238 MB / 0.5215 GB, free: 260 kB / 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)