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+maint.om/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/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.001718/0.001718, allocations: 171.7 kB / 16.12 MB, free: 5.551 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.278/1.278, allocations: 223.3 MB / 240.1 MB, free: 9.98 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.0007769/0.000777, allocations: 102.2 kB / 291.3 MB, free: 10.55 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.002637/0.002637, allocations: 0.5606 MB / 343 MB, free: 6.883 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003467/0.0003468, allocations: 14.34 kB / 404.2 MB, free: 65.71 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07499/0.07535, allocations: 50.57 MB / 454.8 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2772/0.3526, allocations: 76.55 MB / 0.5189 GB, free: 5.508 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001801/0.3528, allocations: 61.59 kB / 0.5189 GB, free: 5.477 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007434/0.3603, allocations: 2.939 MB / 0.5218 GB, free: 2.996 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.664e-06/0.3603, allocations: 3.938 kB / 0.5218 GB, free: 2.992 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.403e-06/0.3603, allocations: 8 kB / 0.5218 GB, free: 2.984 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.0003819/0.3607, allocations: 382.5 kB / 0.5222 GB, free: 2.566 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.3607, allocations: 12.03 kB / 0.5222 GB, free: 2.555 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.701e-05/0.3608, allocations: 8.844 kB / 0.5222 GB, free: 2.547 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.3609, allocations: 180.2 kB / 0.5224 GB, free: 2.332 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.3609, allocations: 8 kB / 0.5224 GB, free: 2.328 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.742e-05/0.361, allocations: 12.23 kB / 0.5224 GB, free: 2.32 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.3611, allocations: 93.55 kB / 0.5225 GB, free: 2.242 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.3611, allocations: 0 / 0.5225 GB, free: 2.242 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.3612, allocations: 6.547 kB / 0.5225 GB, free: 2.238 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.3612, allocations: 4 kB / 0.5225 GB, free: 2.234 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.3613, allocations: 55.16 kB / 0.5225 GB, free: 2.199 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005092/0.3618, allocations: 394.2 kB / 0.5229 GB, free: 1.809 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.362, allocations: 106.8 kB / 0.523 GB, free: 1.723 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.382e-05/0.3621, allocations: 32.36 kB / 0.523 GB, free: 1.699 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.3621, allocations: 0 / 0.523 GB, free: 1.699 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.3621, allocations: 38.55 kB / 0.5231 GB, free: 1.652 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.3622, allocations: 0 / 0.5231 GB, free: 1.652 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009916/0.3631, allocations: 0.6816 MB / 0.5237 GB, free: 0.9766 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.3632, allocations: 59.34 kB / 0.5238 GB, free: 0.9062 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.664e-05/0.3633, allocations: 112.8 kB / 0.5239 GB, free: 0.793 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.3633, allocations: 32.52 kB / 0.5239 GB, free: 0.7578 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.629e-05/0.3634, allocations: 95.86 kB / 0.524 GB, free: 0.6641 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.881e-05/0.3634, allocations: 57.55 kB / 0.5241 GB, free: 0.6133 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.521e-06/0.3634, allocations: 6.812 kB / 0.5241 GB, free: 0.6094 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.3635, allocations: 322.5 kB / 0.5244 GB, free: 296 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.034e-05/0.3636, allocations: 39.58 kB / 0.5244 GB, free: 272 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.524e-05/0.3637, allocations: 56.2 kB / 0.5245 GB, free: 220 kB / 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: mass2.s = $START.mass2.s ($START.mass1.s + 0.5 * (mass1.L + mass2.L) = $START.mass2.s) Notification: Performance of analyzeInitialSystem (initialization): time 0.0006954/0.3644, allocations: 413.5 kB / 0.5249 GB, free: 15.84 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3644, allocations: 0 / 0.5249 GB, free: 15.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00025/0.3647, allocations: 162.9 kB / 0.525 GB, free: 15.71 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.3647, allocations: 12.03 kB / 0.5251 GB, free: 15.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.3647, allocations: 0 / 0.5251 GB, free: 15.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001172/0.3648, allocations: 26.34 kB / 0.5251 GB, free: 15.67 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.738e-05/0.3649, allocations: 23.98 kB / 0.5251 GB, free: 15.65 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001077/0.366, allocations: 1.452 MB / 0.5265 GB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.621e-05/0.3661, allocations: 7.469 kB / 0.5265 GB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.3661, allocations: 11.88 kB / 0.5265 GB, free: 14.13 MB / 346.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 mass2.s = $START.mass2.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 9.889e-05/0.3662, allocations: 131.2 kB / 0.5267 GB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.213e-05/0.3663, allocations: 15.91 kB / 0.5267 GB, free: 13.99 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.067e-05/0.3663, allocations: 15.09 kB / 0.5267 GB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.3663, allocations: 4 kB / 0.5267 GB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3663, allocations: 0 / 0.5267 GB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3663, allocations: 0 / 0.5267 GB, free: 13.98 MB / 346.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.0005899/0.3669, allocations: 0.5961 MB / 0.5273 GB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.3669, allocations: 0 / 0.5273 GB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.3671, allocations: 35.11 kB / 0.5273 GB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.166e-05/0.3671, allocations: 16.84 kB / 0.5273 GB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.3672, allocations: 3.25 kB / 0.5273 GB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007724/0.3679, allocations: 1.278 MB / 0.5286 GB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.155e-06/0.368, allocations: 4.031 kB / 0.5286 GB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000304/0.3683, allocations: 302.7 kB / 0.5289 GB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.83e-05/0.3683, allocations: 85.05 kB / 0.5289 GB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.3683, allocations: 7.5 kB / 0.529 GB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.213e-05/0.3684, allocations: 0 / 0.529 GB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.586e-05/0.3684, allocations: 15.61 kB / 0.529 GB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/0.3685, allocations: 4 kB / 0.529 GB, free: 11.54 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.263e-05/0.3685, allocations: 97.77 kB / 0.5291 GB, free: 11.45 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3685, allocations: 0 / 0.5291 GB, free: 11.45 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002961/0.3688, allocations: 35.31 kB / 0.5291 GB, free: 11.42 MB / 346.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.0001127/0.3689, allocations: 106.5 kB / 0.5292 GB, free: 11.31 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003654/0.3693, allocations: 230.5 kB / 0.5294 GB, free: 11.11 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3693, allocations: 4.062 kB / 0.5294 GB, free: 11.1 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001828/0.3695, allocations: 170.7 kB / 0.5296 GB, free: 10.94 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.3699, allocations: 22.78 kB / 0.5296 GB, free: 10.92 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006917/0.3706, allocations: 475 kB / 0.5301 GB, free: 10.45 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.3708, allocations: 0.7087 MB / 0.5308 GB, free: 9.715 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.623e-05/0.3709, allocations: 4.656 kB / 0.5308 GB, free: 9.711 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.882e-05/0.3709, allocations: 15.44 kB / 0.5308 GB, free: 9.699 MB / 346.7 MB Notification: Performance of SimCode: time 3.5e-07/0.3709, allocations: 0 / 0.5308 GB, free: 9.699 MB / 346.7 MB Notification: Performance of Templates: time 0.003598/0.3745, allocations: 1.333 MB / 0.5321 GB, free: 8.414 MB / 346.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)