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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009261/0.0009262, allocations: 172.5 kB / 7.647 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.605/1.605, allocations: 221.5 MB / 229.6 MB, free: 7.594 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.001518/0.001518, allocations: 96.03 kB / 280.5 MB, free: 5.348 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.003856/0.003856, allocations: 0.5583 MB / 331.8 MB, free: 14.58 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.261e-05/1.265e-05, allocations: 3.984 kB / 388.6 MB, free: 5.766 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.3459, allocations: 50.57 MB / 439.2 MB, free: 19.38 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1118/0.4578, allocations: 75.78 MB / 0.5029 GB, free: 7.492 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003058/0.4582, allocations: 71.91 kB / 0.5029 GB, free: 7.422 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008544/0.4667, allocations: 2.913 MB / 0.5058 GB, free: 4.488 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.4668, allocations: 0 / 0.5058 GB, free: 4.488 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.151e-05/0.4668, allocations: 4 kB / 0.5058 GB, free: 4.484 MB / 346.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.0004457/0.4673, allocations: 374.4 kB / 0.5061 GB, free: 4.07 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.4673, allocations: 8.031 kB / 0.5062 GB, free: 4.062 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.337e-05/0.4674, allocations: 19.86 kB / 0.5062 GB, free: 4.043 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.4675, allocations: 174.9 kB / 0.5063 GB, free: 3.832 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.4675, allocations: 4 kB / 0.5063 GB, free: 3.828 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.11e-05/0.4676, allocations: 4 kB / 0.5064 GB, free: 3.824 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001476/0.4677, allocations: 56.3 kB / 0.5064 GB, free: 3.77 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.4679, allocations: 70.98 kB / 0.5065 GB, free: 3.695 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.4679, allocations: 4 kB / 0.5065 GB, free: 3.691 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.4679, allocations: 3.984 kB / 0.5065 GB, free: 3.688 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.4679, allocations: 7.953 kB / 0.5065 GB, free: 3.68 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005345/0.4685, allocations: 349.7 kB / 0.5068 GB, free: 3.301 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.4686, allocations: 98.45 kB / 0.5069 GB, free: 3.195 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.313e-05/0.4687, allocations: 32.86 kB / 0.5069 GB, free: 3.16 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.4687, allocations: 0 / 0.5069 GB, free: 3.16 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.4688, allocations: 38.78 kB / 0.507 GB, free: 3.113 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.103e-06/0.4688, allocations: 3.938 kB / 0.507 GB, free: 3.109 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.001004/0.4698, allocations: 0.6015 MB / 0.5076 GB, free: 2.414 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.4698, allocations: 55.41 kB / 0.5076 GB, free: 2.348 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.94e-05/0.4699, allocations: 109.1 kB / 0.5077 GB, free: 2.234 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.47, allocations: 25.7 kB / 0.5078 GB, free: 2.203 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.742e-05/0.47, allocations: 99.89 kB / 0.5079 GB, free: 2.102 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.55e-05/0.4701, allocations: 59.19 kB / 0.5079 GB, free: 2.043 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-06/0.4701, allocations: 3.938 kB / 0.5079 GB, free: 2.039 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.4702, allocations: 318.8 kB / 0.5082 GB, free: 1.719 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.092e-05/0.4703, allocations: 28.19 kB / 0.5082 GB, free: 1.691 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.926e-05/0.4704, allocations: 54.75 kB / 0.5083 GB, free: 1.629 MB / 346.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.000571/0.4709, allocations: 309.1 kB / 0.5086 GB, free: 1.293 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.471, allocations: 3.938 kB / 0.5086 GB, free: 1.289 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002367/0.4712, allocations: 150.2 kB / 0.5087 GB, free: 1.133 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.4712, allocations: 4 kB / 0.5087 GB, free: 1.129 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.4712, allocations: 4 kB / 0.5087 GB, free: 1.125 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001172/0.4714, allocations: 24.84 kB / 0.5088 GB, free: 1.098 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.648e-05/0.4715, allocations: 27.92 kB / 0.5088 GB, free: 1.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001168/0.4726, allocations: 1.39 MB / 0.5102 GB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.813e-05/0.4727, allocations: 0 / 0.5102 GB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.4727, allocations: 4.031 kB / 0.5102 GB, free: 15.56 MB / 362.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.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 0.0001035/0.4728, allocations: 117 kB / 0.5103 GB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.427e-05/0.4729, allocations: 7.906 kB / 0.5103 GB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.738e-05/0.4729, allocations: 16.75 kB / 0.5103 GB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.4729, allocations: 0 / 0.5103 GB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.4729, allocations: 4 kB / 0.5103 GB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.4729, allocations: 256 / 0.5103 GB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006151/0.4736, allocations: 0.5482 MB / 0.5108 GB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/0.4736, allocations: 8 kB / 0.5108 GB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.4737, allocations: 23.94 kB / 0.5109 GB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.351e-05/0.4738, allocations: 20.84 kB / 0.5109 GB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.4738, allocations: 7.938 kB / 0.5109 GB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008632/0.4747, allocations: 1.221 MB / 0.5121 GB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/0.4747, allocations: 11.92 kB / 0.5121 GB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003516/0.4751, allocations: 311.9 kB / 0.5124 GB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.1e-05/0.4751, allocations: 96.94 kB / 0.5125 GB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.4751, allocations: 8.062 kB / 0.5125 GB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.943e-05/0.4752, allocations: 0 / 0.5125 GB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.154e-05/0.4753, allocations: 15.95 kB / 0.5125 GB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.4753, allocations: 4 kB / 0.5125 GB, free: 12.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.091e-05/0.4753, allocations: 87.28 kB / 0.5126 GB, free: 12.79 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4753, allocations: 0 / 0.5126 GB, free: 12.79 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003118/0.4757, allocations: 28 kB / 0.5126 GB, free: 12.77 MB / 362.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.0001202/0.4758, allocations: 103.2 kB / 0.5127 GB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003586/0.4761, allocations: 206.5 kB / 0.5129 GB, free: 12.45 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4762, allocations: 3.938 kB / 0.5129 GB, free: 12.44 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001817/0.4763, allocations: 153.7 kB / 0.5131 GB, free: 12.28 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/0.4766, allocations: 24.17 kB / 0.5131 GB, free: 12.26 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005006/0.4771, allocations: 284.1 kB / 0.5134 GB, free: 11.95 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.4774, allocations: 0.7084 MB / 0.514 GB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.549e-05/0.4775, allocations: 12.77 kB / 0.5141 GB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.716e-05/0.4775, allocations: 11.44 kB / 0.5141 GB, free: 11.19 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4775, allocations: 0 / 0.5141 GB, free: 11.19 MB / 362.7 MB Notification: Performance of Templates: time 0.00348/0.481, allocations: 1.203 MB / 0.5152 GB, free: 10.02 MB / 362.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)