Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.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.TwoMassesFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007386/0.007385, allocations: 169.5 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.543/1.543, allocations: 223.2 MB / 239 MB, free: 1.793 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.001075/0.001075, allocations: 85.78 kB / 290.2 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.003675/0.003675, allocations: 0.5492 MB / 341.9 MB, free: 10.29 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004109/0.0004108, allocations: 5.062 kB / 402.9 MB, free: 98.11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1399, allocations: 50.57 MB / 453.5 MB, free: 59.23 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1122/0.2521, allocations: 76.57 MB / 0.5176 GB, free: 14.55 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/0.2524, allocations: 67.97 kB / 0.5177 GB, free: 14.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008317/0.2607, allocations: 2.977 MB / 0.5206 GB, free: 11.49 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2608, allocations: 4 kB / 0.5206 GB, free: 11.49 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.315e-05/0.2608, allocations: 4 kB / 0.5206 GB, free: 11.48 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.0005589/0.2614, allocations: 367.3 kB / 0.521 GB, free: 11.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.539e-05/0.2614, allocations: 16.02 kB / 0.521 GB, free: 11.06 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.56e-05/0.2615, allocations: 11.86 kB / 0.521 GB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.2617, allocations: 174.9 kB / 0.5212 GB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.2617, allocations: 8.188 kB / 0.5212 GB, free: 10.83 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.192e-05/0.2617, allocations: 12 kB / 0.5212 GB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002088/0.262, allocations: 93.97 kB / 0.5213 GB, free: 10.72 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.262, allocations: 3.906 kB / 0.5213 GB, free: 10.72 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.262, allocations: 7.938 kB / 0.5213 GB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.262, allocations: 4 kB / 0.5213 GB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.2621, allocations: 56.48 kB / 0.5213 GB, free: 10.65 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007187/0.2629, allocations: 385.5 kB / 0.5217 GB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.2631, allocations: 98.55 kB / 0.5218 GB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.2631, allocations: 0 / 0.5218 GB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.2631, allocations: 30.56 kB / 0.5218 GB, free: 10.08 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.082e-06/0.2632, allocations: 224 / 0.5218 GB, free: 10.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.00144/0.2646, allocations: 0.6896 MB / 0.5225 GB, free: 9.297 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.956e-05/0.2647, allocations: 59.34 kB / 0.5226 GB, free: 9.227 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.2648, allocations: 112.9 kB / 0.5227 GB, free: 9.109 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.2649, allocations: 29.7 kB / 0.5227 GB, free: 9.074 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.576e-05/0.265, allocations: 104.2 kB / 0.5228 GB, free: 8.965 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.876e-05/0.265, allocations: 55.19 kB / 0.5229 GB, free: 8.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.466e-06/0.265, allocations: 4 kB / 0.5229 GB, free: 8.906 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.2652, allocations: 318.8 kB / 0.5232 GB, free: 8.586 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.73e-05/0.2653, allocations: 40.11 kB / 0.5232 GB, free: 8.547 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.397e-05/0.2654, allocations: 59.11 kB / 0.5233 GB, free: 8.48 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.a = $START.mass1.a ($START.mass2.a = $START.mass1.a) Notification: Performance of analyzeInitialSystem (initialization): time 0.0006238/0.2661, allocations: 279.5 kB / 0.5235 GB, free: 8.172 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2661, allocations: 3.938 kB / 0.5235 GB, free: 8.168 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002796/0.2664, allocations: 133.5 kB / 0.5237 GB, free: 8.031 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/0.2664, allocations: 8 kB / 0.5237 GB, free: 8.023 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.2664, allocations: 0 / 0.5237 GB, free: 8.023 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.2664, allocations: 0 / 0.5237 GB, free: 8.023 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/0.2666, allocations: 39.88 kB / 0.5237 GB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.2667, allocations: 4 kB / 0.5237 GB, free: 7.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.257e-05/0.2667, allocations: 8.031 kB / 0.5237 GB, free: 7.973 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.2667, allocations: 4 kB / 0.5237 GB, free: 7.969 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.a = $START.mass1.a. 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 (19): * Single equations (assignments): 19 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001779/0.2669, allocations: 129.1 kB / 0.5238 GB, free: 7.836 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.269e-05/0.267, allocations: 11.81 kB / 0.5239 GB, free: 7.824 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.135e-05/0.267, allocations: 21.09 kB / 0.5239 GB, free: 7.801 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.2671, allocations: 0 / 0.5239 GB, free: 7.801 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.527e-05/0.2671, allocations: 11.89 kB / 0.5239 GB, free: 7.789 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.2671, allocations: 4 kB / 0.5239 GB, free: 7.785 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.0008928/0.268, allocations: 0.5902 MB / 0.5245 GB, free: 7.102 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.268, allocations: 7.984 kB / 0.5245 GB, free: 7.094 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001371/0.2682, allocations: 20 kB / 0.5245 GB, free: 7.074 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001258/0.2683, allocations: 24.94 kB / 0.5245 GB, free: 7.047 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.2683, allocations: 11.94 kB / 0.5245 GB, free: 7.035 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001271/0.2696, allocations: 1.268 MB / 0.5258 GB, free: 5.629 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.706e-06/0.2696, allocations: 7.969 kB / 0.5258 GB, free: 5.621 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004907/0.2701, allocations: 338.1 kB / 0.5261 GB, free: 5.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.055e-05/0.2702, allocations: 85.05 kB / 0.5262 GB, free: 5.148 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.2702, allocations: 11.95 kB / 0.5262 GB, free: 5.137 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.61e-05/0.2703, allocations: 0 / 0.5262 GB, free: 5.137 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.948e-05/0.2704, allocations: 19.92 kB / 0.5262 GB, free: 5.117 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.2704, allocations: 4 kB / 0.5262 GB, free: 5.113 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.507e-05/0.2705, allocations: 95.2 kB / 0.5263 GB, free: 5.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2705, allocations: 64 / 0.5263 GB, free: 5.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002963/0.2708, allocations: 40 kB / 0.5263 GB, free: 4.98 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.0001499/0.2709, allocations: 99.22 kB / 0.5264 GB, free: 4.875 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002381/0.2712, allocations: 103.8 kB / 0.5265 GB, free: 4.773 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.2712, allocations: 3.938 kB / 0.5265 GB, free: 4.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003188/0.2715, allocations: 170.9 kB / 0.5267 GB, free: 4.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/0.2718, allocations: 19.97 kB / 0.5267 GB, free: 4.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008362/0.2726, allocations: 462.7 kB / 0.5272 GB, free: 4.082 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003955/0.2731, allocations: 0.7048 MB / 0.5278 GB, free: 3.348 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.547e-05/0.2731, allocations: 16.64 kB / 0.5279 GB, free: 3.332 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.346e-05/0.2732, allocations: 19.38 kB / 0.5279 GB, free: 3.312 MB / 362.7 MB Notification: Performance of SimCode: time 8.62e-07/0.2732, allocations: 0 / 0.5279 GB, free: 3.312 MB / 362.7 MB Notification: Performance of Templates: time 0.006577/0.2798, allocations: 1.227 MB / 0.5291 GB, free: 2.133 MB / 362.7 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe 2>&1)