Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.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.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent") translateModel(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007151/0.007151, allocations: 170.8 kB / 15.11 MB, free: 5.984 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.567/1.567, allocations: 223.2 MB / 239 MB, free: 64 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009851/0.0009851, allocations: 96.48 kB / 290.2 MB, free: 4.465 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.00263/0.00263, allocations: 0.5546 MB / 341.9 MB, free: 12.38 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003532/0.0003532, allocations: 11.98 kB / 402.9 MB, free: 15.29 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3378, allocations: 50.56 MB / 453.5 MB, free: 80.09 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09456/0.4324, allocations: 76.56 MB / 0.5176 GB, free: 3.434 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002872/0.4328, allocations: 71.95 kB / 0.5177 GB, free: 3.363 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007113/0.4399, allocations: 2.959 MB / 0.5206 GB, free: 396 kB / 346.7 MB Notification: Performance of FrontEnd: time 3.566e-06/0.44, allocations: 0 / 0.5206 GB, free: 396 kB / 346.7 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.44, allocations: 0 / 0.5206 GB, free: 396 kB / 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.0005113/0.4405, allocations: 379.2 kB / 0.521 GB, free: 15.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.255e-05/0.4406, allocations: 15.95 kB / 0.521 GB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.787e-05/0.4406, allocations: 15.86 kB / 0.521 GB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.4409, allocations: 167 kB / 0.5211 GB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.4409, allocations: 12.19 kB / 0.5212 GB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.55e-05/0.4409, allocations: 8 kB / 0.5212 GB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002338/0.4412, allocations: 94.09 kB / 0.5213 GB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.4412, allocations: 3.906 kB / 0.5213 GB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.4412, allocations: 8 kB / 0.5213 GB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.4413, allocations: 0 / 0.5213 GB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.4414, allocations: 60.48 kB / 0.5213 GB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007176/0.4421, allocations: 389.5 kB / 0.5217 GB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/0.4423, allocations: 102.5 kB / 0.5218 GB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.4424, allocations: 4 kB / 0.5218 GB, free: 15 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.66e-05/0.4424, allocations: 30.56 kB / 0.5218 GB, free: 14.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.4424, allocations: 0 / 0.5218 GB, free: 14.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.001605/0.444, allocations: 0.6759 MB / 0.5225 GB, free: 14.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.074e-05/0.4441, allocations: 67.28 kB / 0.5225 GB, free: 14.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.4442, allocations: 110.1 kB / 0.5227 GB, free: 14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.4443, allocations: 25.7 kB / 0.5227 GB, free: 13.97 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.787e-05/0.4443, allocations: 100.3 kB / 0.5228 GB, free: 13.87 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.414e-05/0.4444, allocations: 63.19 kB / 0.5228 GB, free: 13.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.826e-06/0.4444, allocations: 0 / 0.5228 GB, free: 13.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.4446, allocations: 320.1 kB / 0.5231 GB, free: 13.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.187e-05/0.4447, allocations: 32.17 kB / 0.5232 GB, free: 13.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.24e-05/0.4448, allocations: 65.52 kB / 0.5232 GB, free: 13.38 MB / 362.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.0006882/0.4455, allocations: 319.4 kB / 0.5235 GB, free: 13.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.4455, allocations: 0 / 0.5235 GB, free: 13.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003237/0.4458, allocations: 165 kB / 0.5237 GB, free: 12.87 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.4459, allocations: 4 kB / 0.5237 GB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.4459, allocations: 4.031 kB / 0.5237 GB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000132/0.446, allocations: 28.84 kB / 0.5237 GB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.4461, allocations: 27.98 kB / 0.5238 GB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001378/0.4475, allocations: 1.452 MB / 0.5252 GB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.977e-05/0.4476, allocations: 4 kB / 0.5252 GB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.4476, allocations: 4 kB / 0.5252 GB, free: 11.2 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 () * Number of clocked 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.0001327/0.4478, allocations: 133.7 kB / 0.5253 GB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.292e-05/0.4478, allocations: 11.81 kB / 0.5253 GB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.944e-05/0.4478, allocations: 24.91 kB / 0.5253 GB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.4478, allocations: 0 / 0.5253 GB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.4479, allocations: 0 / 0.5253 GB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/0.4479, allocations: 7.984 kB / 0.5254 GB, free: 11.02 MB / 362.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006745/0.4485, allocations: 0.594 MB / 0.5259 GB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.4486, allocations: 4 kB / 0.5259 GB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.4487, allocations: 27.88 kB / 0.526 GB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.681e-05/0.4488, allocations: 24.8 kB / 0.526 GB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.4488, allocations: 8 kB / 0.526 GB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009023/0.4497, allocations: 1.276 MB / 0.5272 GB, free: 8.852 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.4497, allocations: 0 / 0.5272 GB, free: 8.852 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003718/0.4501, allocations: 339.6 kB / 0.5276 GB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.103e-05/0.4502, allocations: 81.02 kB / 0.5276 GB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/0.4502, allocations: 12 kB / 0.5277 GB, free: 8.367 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.398e-05/0.4503, allocations: 0 / 0.5277 GB, free: 8.367 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.342e-05/0.4503, allocations: 24 kB / 0.5277 GB, free: 8.344 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.4503, allocations: 4 kB / 0.5277 GB, free: 8.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.719e-05/0.4504, allocations: 95.64 kB / 0.5278 GB, free: 8.246 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4504, allocations: 0 / 0.5278 GB, free: 8.246 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002957/0.4507, allocations: 39.94 kB / 0.5278 GB, free: 8.207 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 () * Number of clocked 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.0001401/0.4508, allocations: 107.2 kB / 0.5279 GB, free: 8.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004312/0.4513, allocations: 222.7 kB / 0.5281 GB, free: 7.859 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.4513, allocations: 0 / 0.5281 GB, free: 7.859 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001878/0.4515, allocations: 173 kB / 0.5283 GB, free: 7.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.4518, allocations: 15.98 kB / 0.5283 GB, free: 7.664 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007162/0.4525, allocations: 475.2 kB / 0.5288 GB, free: 7.164 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.4528, allocations: 0.7087 MB / 0.5294 GB, free: 6.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.114e-05/0.4529, allocations: 12.64 kB / 0.5295 GB, free: 6.418 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.975e-05/0.4529, allocations: 11.44 kB / 0.5295 GB, free: 6.406 MB / 362.7 MB Notification: Performance of SimCode: time 6.82e-07/0.4529, allocations: 11.88 kB / 0.5295 GB, free: 6.395 MB / 362.7 MB Notification: Performance of Templates: time 0.0041/0.457, allocations: 1.269 MB / 0.5307 GB, free: 5.172 MB / 362.7 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe 2>&1)