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+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.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.001287/0.001287, allocations: 173.3 kB / 16.12 MB, free: 5.668 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.275/1.275, allocations: 223.3 MB / 240.1 MB, free: 11.71 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.0007411/0.0007412, allocations: 95.59 kB / 291.3 MB, free: 10.8 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.002272/0.002272, allocations: 0.5584 MB / 343 MB, free: 7.117 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003407/0.0003408, allocations: 11.98 kB / 404.2 MB, free: 65.78 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07801/0.07837, allocations: 50.57 MB / 454.8 MB, free: 15.23 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2716/0.35, allocations: 76.58 MB / 0.5189 GB, free: 5.535 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000216/0.3503, allocations: 64.97 kB / 0.519 GB, free: 5.5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007599/0.3579, allocations: 2.95 MB / 0.5218 GB, free: 3.008 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3579, allocations: 0 / 0.5218 GB, free: 3.008 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.358, allocations: 7.938 kB / 0.5218 GB, free: 3 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.0003927/0.3584, allocations: 383 kB / 0.5222 GB, free: 2.582 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.3584, allocations: 12.03 kB / 0.5222 GB, free: 2.57 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.679e-05/0.3584, allocations: 8.844 kB / 0.5222 GB, free: 2.562 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.3586, allocations: 180.2 kB / 0.5224 GB, free: 2.348 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.3586, allocations: 11.75 kB / 0.5224 GB, free: 2.34 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.202e-05/0.3586, allocations: 11.44 kB / 0.5224 GB, free: 2.332 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.3588, allocations: 93.34 kB / 0.5225 GB, free: 2.258 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.3588, allocations: 0 / 0.5225 GB, free: 2.258 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.3589, allocations: 0 / 0.5225 GB, free: 2.258 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.3589, allocations: 4 kB / 0.5225 GB, free: 2.254 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.359, allocations: 53.16 kB / 0.5226 GB, free: 2.219 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005703/0.3596, allocations: 396.2 kB / 0.5229 GB, free: 1.828 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.3597, allocations: 106.2 kB / 0.5231 GB, free: 1.742 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.02e-05/0.3598, allocations: 39.97 kB / 0.5231 GB, free: 1.711 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.3598, allocations: 4 kB / 0.5231 GB, free: 1.707 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.3598, allocations: 34.56 kB / 0.5231 GB, free: 1.664 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 1.372e-06/0.3598, allocations: 0 / 0.5231 GB, free: 1.664 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.001025/0.3609, allocations: 0.674 MB / 0.5238 GB, free: 1 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.3609, allocations: 62.16 kB / 0.5238 GB, free: 0.9297 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.52e-05/0.361, allocations: 117.9 kB / 0.524 GB, free: 0.8125 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.3611, allocations: 33.45 kB / 0.524 GB, free: 0.7773 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.175e-05/0.3611, allocations: 96.3 kB / 0.5241 GB, free: 0.6797 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.207e-05/0.3612, allocations: 58.22 kB / 0.5241 GB, free: 0.6289 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.164e-06/0.3612, allocations: 7.812 kB / 0.5241 GB, free: 0.625 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.3613, allocations: 319.9 kB / 0.5244 GB, free: 316 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.458e-05/0.3614, allocations: 42.17 kB / 0.5245 GB, free: 288 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.086e-05/0.3615, allocations: 68.2 kB / 0.5246 GB, free: 228 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.0007294/0.3622, allocations: 412.9 kB / 0.5249 GB, free: 15.85 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3622, allocations: 4 kB / 0.525 GB, free: 15.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002489/0.3625, allocations: 155.3 kB / 0.5251 GB, free: 15.72 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.3625, allocations: 11.98 kB / 0.5251 GB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.3625, allocations: 0 / 0.5251 GB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001234/0.3626, allocations: 31.66 kB / 0.5251 GB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.34e-05/0.3627, allocations: 23.94 kB / 0.5252 GB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001174/0.3639, allocations: 1.441 MB / 0.5266 GB, free: 14.17 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.786e-05/0.364, allocations: 4 kB / 0.5266 GB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.364, allocations: 7.688 kB / 0.5266 GB, free: 14.16 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 0.0001054/0.3641, allocations: 133.5 kB / 0.5267 GB, free: 14.03 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.368e-05/0.3642, allocations: 11.84 kB / 0.5267 GB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.2e-05/0.3642, allocations: 19.41 kB / 0.5267 GB, free: 14 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.3642, allocations: 4 kB / 0.5267 GB, free: 14 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3642, allocations: 4 kB / 0.5267 GB, free: 14 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.3642, allocations: 3.984 kB / 0.5267 GB, free: 13.99 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.0006153/0.3648, allocations: 0.5993 MB / 0.5273 GB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3649, allocations: 0 / 0.5273 GB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.365, allocations: 24.14 kB / 0.5274 GB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.069e-05/0.3651, allocations: 19.78 kB / 0.5274 GB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.3651, allocations: 11.3 kB / 0.5274 GB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008471/0.3659, allocations: 1.276 MB / 0.5286 GB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3659, allocations: 160 / 0.5286 GB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003129/0.3663, allocations: 302.1 kB / 0.5289 GB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.589e-05/0.3663, allocations: 85.05 kB / 0.529 GB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.3663, allocations: 6.875 kB / 0.529 GB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.432e-05/0.3664, allocations: 7.062 kB / 0.529 GB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.3665, allocations: 11.98 kB / 0.529 GB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.3665, allocations: 6.812 kB / 0.529 GB, free: 11.55 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.705e-05/0.3665, allocations: 90.58 kB / 0.5291 GB, free: 11.47 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3665, allocations: 3.938 kB / 0.5291 GB, free: 11.46 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002956/0.3668, allocations: 37.62 kB / 0.5292 GB, free: 11.43 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.0001052/0.3669, allocations: 106.1 kB / 0.5293 GB, free: 11.32 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003586/0.3673, allocations: 226.7 kB / 0.5295 GB, free: 11.12 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3673, allocations: 0 / 0.5295 GB, free: 11.12 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001746/0.3675, allocations: 168.8 kB / 0.5296 GB, free: 10.96 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.3678, allocations: 17.67 kB / 0.5297 GB, free: 10.95 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006124/0.3684, allocations: 484.9 kB / 0.5301 GB, free: 10.46 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/0.3687, allocations: 0.7048 MB / 0.5308 GB, free: 9.727 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.194e-05/0.3687, allocations: 12.62 kB / 0.5308 GB, free: 9.715 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.634e-05/0.3688, allocations: 19.44 kB / 0.5308 GB, free: 9.699 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3688, allocations: 0 / 0.5308 GB, free: 9.699 MB / 346.7 MB Notification: Performance of Templates: time 0.003644/0.3724, allocations: 1.323 MB / 0.5321 GB, free: 8.434 MB / 346.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)