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.007951/0.007951, allocations: 169.4 kB / 15.11 MB, free: 5.973 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.637/1.637, allocations: 223.2 MB / 239 MB, free: 1.77 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.001131/0.001131, allocations: 89.92 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.003664/0.003664, allocations: 0.5507 MB / 341.9 MB, free: 10.27 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004098/0.0004102, allocations: 11.84 kB / 402.9 MB, free: 98.3 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1423, allocations: 50.57 MB / 453.5 MB, free: 59.21 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1298/0.2722, allocations: 76.53 MB / 0.5176 GB, free: 14.58 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003475/0.2726, allocations: 63.97 kB / 0.5177 GB, free: 14.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01418/0.2868, allocations: 2.94 MB / 0.5205 GB, free: 11.56 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.228e-06/0.2869, allocations: 3.938 kB / 0.5205 GB, free: 11.55 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.509e-05/0.287, allocations: 0 / 0.5205 GB, free: 11.55 MB / 362.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.0007482/0.2877, allocations: 383.3 kB / 0.5209 GB, free: 11.13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.638e-05/0.2878, allocations: 12.03 kB / 0.5209 GB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.757e-05/0.2879, allocations: 19.8 kB / 0.5209 GB, free: 11.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.2881, allocations: 171 kB / 0.5211 GB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.09e-05/0.2882, allocations: 8.188 kB / 0.5211 GB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.102e-05/0.2883, allocations: 8 kB / 0.5211 GB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003287/0.2886, allocations: 90.16 kB / 0.5212 GB, free: 10.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/0.2886, allocations: 7.906 kB / 0.5212 GB, free: 10.78 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.804e-05/0.2887, allocations: 4 kB / 0.5212 GB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.2887, allocations: 7.938 kB / 0.5212 GB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002182/0.2889, allocations: 60.47 kB / 0.5213 GB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/0.29, allocations: 381.5 kB / 0.5216 GB, free: 10.29 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003381/0.2904, allocations: 98.48 kB / 0.5217 GB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.2904, allocations: 4 kB / 0.5217 GB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.885e-05/0.2905, allocations: 38.56 kB / 0.5218 GB, free: 10.13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 2.966e-06/0.2905, allocations: 0 / 0.5218 GB, free: 10.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.00215/0.2927, allocations: 0.6814 MB / 0.5224 GB, free: 9.352 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.537e-05/0.2928, allocations: 55.36 kB / 0.5225 GB, free: 9.285 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.293, allocations: 108.9 kB / 0.5226 GB, free: 9.172 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.855e-05/0.293, allocations: 37.7 kB / 0.5226 GB, free: 9.129 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.2931, allocations: 96.22 kB / 0.5227 GB, free: 9.027 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.542e-05/0.2932, allocations: 59.19 kB / 0.5228 GB, free: 8.969 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.272e-05/0.2933, allocations: 4 kB / 0.5228 GB, free: 8.965 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002062/0.2935, allocations: 322.8 kB / 0.5231 GB, free: 8.641 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.2936, allocations: 32.19 kB / 0.5231 GB, free: 8.609 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001552/0.2938, allocations: 59.11 kB / 0.5232 GB, free: 8.543 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.001111/0.2949, allocations: 315.4 kB / 0.5235 GB, free: 8.199 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/0.2949, allocations: 0 / 0.5235 GB, free: 8.199 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005227/0.2955, allocations: 170.2 kB / 0.5236 GB, free: 8.023 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.047e-05/0.2955, allocations: 4 kB / 0.5236 GB, free: 8.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.2956, allocations: 4 kB / 0.5236 GB, free: 8.016 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002514/0.2958, allocations: 24.84 kB / 0.5237 GB, free: 7.988 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002052/0.296, allocations: 23.98 kB / 0.5237 GB, free: 7.965 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002247/0.2983, allocations: 1.452 MB / 0.5251 GB, free: 6.371 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.967e-05/0.2984, allocations: 4 kB / 0.5251 GB, free: 6.367 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.2985, allocations: 4.031 kB / 0.5251 GB, free: 6.363 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.0002376/0.2987, allocations: 141.2 kB / 0.5253 GB, free: 6.219 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.436e-05/0.2988, allocations: 15.81 kB / 0.5253 GB, free: 6.203 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.51e-05/0.2989, allocations: 13.12 kB / 0.5253 GB, free: 6.191 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.2989, allocations: 3.938 kB / 0.5253 GB, free: 6.188 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-05/0.2989, allocations: 7.984 kB / 0.5253 GB, free: 6.18 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.2989, allocations: 3.984 kB / 0.5253 GB, free: 6.176 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.001243/0.3002, allocations: 0.598 MB / 0.5259 GB, free: 5.484 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.3002, allocations: 0 / 0.5259 GB, free: 5.484 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002469/0.3005, allocations: 23.94 kB / 0.5259 GB, free: 5.461 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001263/0.3006, allocations: 28.8 kB / 0.5259 GB, free: 5.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.3007, allocations: 0 / 0.5259 GB, free: 5.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001481/0.3021, allocations: 1.276 MB / 0.5272 GB, free: 4.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.3022, allocations: 0 / 0.5272 GB, free: 4.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006936/0.3029, allocations: 351.4 kB / 0.5275 GB, free: 3.629 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.222e-05/0.303, allocations: 85.05 kB / 0.5276 GB, free: 3.527 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.977e-05/0.303, allocations: 8.062 kB / 0.5276 GB, free: 3.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.3032, allocations: 4 kB / 0.5276 GB, free: 3.516 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.433e-05/0.3033, allocations: 15.94 kB / 0.5276 GB, free: 3.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-05/0.3033, allocations: 8 kB / 0.5276 GB, free: 3.492 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001092/0.3034, allocations: 92.8 kB / 0.5277 GB, free: 3.402 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.3034, allocations: 4 kB / 0.5277 GB, free: 3.398 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005855/0.304, allocations: 28 kB / 0.5277 GB, free: 3.371 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.0002855/0.3043, allocations: 115.1 kB / 0.5279 GB, free: 3.246 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008303/0.3052, allocations: 221.1 kB / 0.5281 GB, free: 3.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/0.3052, allocations: 4 kB / 0.5281 GB, free: 3.016 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003398/0.3056, allocations: 162.6 kB / 0.5282 GB, free: 2.844 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004798/0.3061, allocations: 29.66 kB / 0.5283 GB, free: 2.816 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.3076, allocations: 459.4 kB / 0.5287 GB, free: 2.332 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000722/0.3083, allocations: 0.7087 MB / 0.5294 GB, free: 1.598 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001066/0.3085, allocations: 16.64 kB / 0.5294 GB, free: 1.582 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.983e-05/0.3085, allocations: 11.44 kB / 0.5294 GB, free: 1.57 MB / 362.7 MB Notification: Performance of SimCode: time 9.02e-07/0.3085, allocations: 0 / 0.5294 GB, free: 1.57 MB / 362.7 MB Notification: Performance of Templates: time 0.007085/0.3156, allocations: 1.281 MB / 0.5307 GB, free: 336 kB / 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)