Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.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.TwoMassesEquationsFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0111/0.0111, allocations: 172 kB / 15.11 MB, free: 5.969 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.635/1.635, allocations: 223.2 MB / 239 MB, free: 1.797 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.0008922/0.0008921, allocations: 103.4 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.002424/0.002424, allocations: 0.5648 MB / 341.9 MB, free: 10.26 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004304/0.0004301, allocations: 12.5 kB / 402.9 MB, free: 98.37 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1482, allocations: 50.57 MB / 453.5 MB, free: 59.25 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1146/0.2629, allocations: 75.26 MB / 0.5164 GB, free: 15.88 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002479/0.2631, allocations: 59.97 kB / 0.5164 GB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002173/0.2653, allocations: 0.6886 MB / 0.5171 GB, free: 15.13 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.118e-06/0.2654, allocations: 0 / 0.5171 GB, free: 15.13 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.423e-05/0.2654, allocations: 4 kB / 0.5171 GB, free: 15.13 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000446/0.2659, allocations: 323.4 kB / 0.5174 GB, free: 14.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.563e-05/0.2659, allocations: 8.031 kB / 0.5174 GB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.527e-05/0.266, allocations: 11.86 kB / 0.5174 GB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/0.2662, allocations: 167 kB / 0.5176 GB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.2662, allocations: 11.94 kB / 0.5176 GB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.898e-05/0.2662, allocations: 4 kB / 0.5176 GB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.2664, allocations: 41.69 kB / 0.5176 GB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.2664, allocations: 8 kB / 0.5176 GB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.2664, allocations: 0 / 0.5176 GB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.2664, allocations: 0 / 0.5176 GB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.993e-05/0.2665, allocations: 19.88 kB / 0.5177 GB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004408/0.267, allocations: 239.8 kB / 0.5179 GB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.2671, allocations: 58.62 kB / 0.518 GB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.516e-06/0.2671, allocations: 0 / 0.518 GB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.231e-05/0.2672, allocations: 34.55 kB / 0.518 GB, free: 14.06 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.784e-06/0.2672, allocations: 0 / 0.518 GB, free: 14.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009503/0.2681, allocations: 0.5059 MB / 0.5185 GB, free: 13.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.271e-05/0.2682, allocations: 59.34 kB / 0.5185 GB, free: 13.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.596e-05/0.2683, allocations: 89 kB / 0.5186 GB, free: 13.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.2683, allocations: 29.7 kB / 0.5186 GB, free: 13.26 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.284e-05/0.2684, allocations: 84.12 kB / 0.5187 GB, free: 13.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.924e-05/0.2685, allocations: 27.56 kB / 0.5188 GB, free: 13.15 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.665e-06/0.2685, allocations: 4 kB / 0.5188 GB, free: 13.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002151/0.2687, allocations: 314.8 kB / 0.5191 GB, free: 12.83 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.805e-05/0.2688, allocations: 16 kB / 0.5191 GB, free: 12.81 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.553e-05/0.2688, allocations: 33.7 kB / 0.5191 GB, free: 12.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003287/0.2692, allocations: 202.3 kB / 0.5193 GB, free: 12.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.2692, allocations: 0 / 0.5193 GB, free: 12.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001309/0.2693, allocations: 82.3 kB / 0.5194 GB, free: 12.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.2693, allocations: 4 kB / 0.5194 GB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.2694, allocations: 240 / 0.5194 GB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.2694, allocations: 4.234 kB / 0.5194 GB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.2695, allocations: 23.98 kB / 0.5194 GB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.2695, allocations: 3.984 kB / 0.5194 GB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.775e-05/0.2695, allocations: 8.062 kB / 0.5194 GB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.2695, allocations: 4 kB / 0.5194 GB, free: 12.41 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: $DER.v1 = 0.0 $DER.x1 = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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.0001673/0.2697, allocations: 125.7 kB / 0.5195 GB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.2698, allocations: 3.953 kB / 0.5195 GB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.869e-05/0.2698, allocations: 11.95 kB / 0.5196 GB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.456e-05/0.2698, allocations: 4 kB / 0.5196 GB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.2698, allocations: 4 kB / 0.5196 GB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.2698, allocations: 96 / 0.5196 GB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004781/0.2703, allocations: 377.7 kB / 0.5199 GB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2703, allocations: 0 / 0.5199 GB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.096e-05/0.2704, allocations: 8 kB / 0.5199 GB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00012/0.2705, allocations: 20.94 kB / 0.52 GB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.2705, allocations: 4 kB / 0.52 GB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001107/0.2717, allocations: 1.288 MB / 0.5212 GB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.2717, allocations: 4.062 kB / 0.5212 GB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002874/0.272, allocations: 263.9 kB / 0.5215 GB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.02e-05/0.272, allocations: 81.39 kB / 0.5215 GB, free: 9.941 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.669e-06/0.272, allocations: 4.031 kB / 0.5216 GB, free: 9.938 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.444e-05/0.2721, allocations: 0 / 0.5216 GB, free: 9.938 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.965e-05/0.2721, allocations: 11.92 kB / 0.5216 GB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.2722, allocations: 12.05 kB / 0.5216 GB, free: 9.914 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.931e-05/0.2722, allocations: 75.28 kB / 0.5216 GB, free: 9.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2722, allocations: 4 kB / 0.5217 GB, free: 9.836 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000225/0.2725, allocations: 12 kB / 0.5217 GB, free: 9.824 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (x2,v2) * 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 (6): * Single equations (assignments): 5 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001406/0.2726, allocations: 103.3 kB / 0.5218 GB, free: 9.715 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001204/0.2727, allocations: 43.92 kB / 0.5218 GB, free: 9.672 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2727, allocations: 0 / 0.5218 GB, free: 9.672 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002611/0.273, allocations: 146.5 kB / 0.5219 GB, free: 9.516 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001388/0.2732, allocations: 9.266 kB / 0.522 GB, free: 9.508 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003151/0.2735, allocations: 193.5 kB / 0.5221 GB, free: 9.285 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.2738, allocations: 0.6887 MB / 0.5228 GB, free: 8.57 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.342e-05/0.2739, allocations: 4.188 kB / 0.5228 GB, free: 8.562 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.886e-05/0.2739, allocations: 7.438 kB / 0.5228 GB, free: 8.555 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2739, allocations: 4 kB / 0.5228 GB, free: 8.551 MB / 362.7 MB Notification: Performance of Templates: time 0.002463/0.2764, allocations: 0.5272 MB / 0.5233 GB, free: 8.066 MB / 362.7 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe 2>&1)