Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.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.TwoMassesReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 179.2 kB / 16.12 MB, free: 5.695 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.256/1.256, 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.0007285/0.0007285, allocations: 107.1 kB / 291.3 MB, free: 10.79 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.002937/0.002937, allocations: 0.5508 MB / 343 MB, free: 7.117 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003392/0.0003397, allocations: 15.98 kB / 404.2 MB, free: 65.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07718/0.07754, allocations: 50.56 MB / 454.8 MB, free: 15.24 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2753/0.3529, allocations: 76.55 MB / 0.5189 GB, free: 5.578 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002273/0.3531, allocations: 66.22 kB / 0.5189 GB, free: 5.543 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006444/0.3596, allocations: 2.445 MB / 0.5213 GB, free: 3.473 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3596, allocations: 0 / 0.5213 GB, free: 3.473 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.3597, allocations: 4 kB / 0.5213 GB, free: 3.469 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.000435/0.3601, allocations: 379.3 kB / 0.5217 GB, free: 3.051 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.3601, allocations: 8.031 kB / 0.5217 GB, free: 3.043 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.779e-05/0.3602, allocations: 12.84 kB / 0.5217 GB, free: 3.031 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.3604, allocations: 180.2 kB / 0.5219 GB, free: 2.816 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.3604, allocations: 4.125 kB / 0.5219 GB, free: 2.816 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.909e-05/0.3604, allocations: 11.75 kB / 0.5219 GB, free: 2.809 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.3606, allocations: 95.34 kB / 0.522 GB, free: 2.73 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.3606, allocations: 0 / 0.522 GB, free: 2.73 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.3607, allocations: 7.938 kB / 0.522 GB, free: 2.727 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.3607, allocations: 0 / 0.522 GB, free: 2.727 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.3608, allocations: 61.14 kB / 0.522 GB, free: 2.684 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006391/0.3614, allocations: 386.1 kB / 0.5224 GB, free: 2.301 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/0.3616, allocations: 111.6 kB / 0.5225 GB, free: 2.215 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.402e-05/0.3617, allocations: 35.17 kB / 0.5225 GB, free: 2.188 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.3617, allocations: 0 / 0.5225 GB, free: 2.188 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.3618, allocations: 34.55 kB / 0.5226 GB, free: 2.145 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 1.132e-06/0.3618, allocations: 0 / 0.5226 GB, free: 2.145 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.001116/0.3629, allocations: 0.6957 MB / 0.5233 GB, free: 1.461 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.3629, allocations: 51.41 kB / 0.5233 GB, free: 1.398 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.363, allocations: 123.1 kB / 0.5234 GB, free: 1.277 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.3631, allocations: 28.58 kB / 0.5235 GB, free: 1.246 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.989e-05/0.3631, allocations: 102.2 kB / 0.5236 GB, free: 1.145 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.432e-05/0.3632, allocations: 56.23 kB / 0.5236 GB, free: 1.094 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-06/0.3632, allocations: 7.125 kB / 0.5236 GB, free: 1.09 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.3633, allocations: 325.7 kB / 0.5239 GB, free: 0.7695 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.632e-05/0.3634, allocations: 29.86 kB / 0.5239 GB, free: 0.75 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.333e-05/0.3635, allocations: 59.52 kB / 0.524 GB, free: 0.6992 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.3636, allocations: 99.81 kB / 0.5241 GB, free: 0.625 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3636, allocations: 4 kB / 0.5241 GB, free: 0.6211 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001919/0.3638, allocations: 138.3 kB / 0.5242 GB, free: 0.5156 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.3638, allocations: 14.69 kB / 0.5243 GB, free: 0.5039 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.3638, allocations: 0 / 0.5243 GB, free: 0.5039 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.3639, allocations: 4 kB / 0.5243 GB, free: 0.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/0.364, allocations: 35.92 kB / 0.5243 GB, free: 476 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.3641, allocations: 4 kB / 0.5243 GB, free: 472 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.706e-05/0.3641, allocations: 3.062 kB / 0.5243 GB, free: 472 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.3641, allocations: 7.5 kB / 0.5243 GB, free: 468 kB / 330.7 MB 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 9.159e-05/0.3642, allocations: 121.1 kB / 0.5244 GB, free: 344 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.856e-05/0.3643, allocations: 19.78 kB / 0.5244 GB, free: 324 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.629e-05/0.3643, allocations: 19.27 kB / 0.5245 GB, free: 312 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-06/0.3643, allocations: 0 / 0.5245 GB, free: 312 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.3643, allocations: 4 kB / 0.5245 GB, free: 308 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.391e-06/0.3643, allocations: 0 / 0.5245 GB, free: 308 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006229/0.365, allocations: 0.4964 MB / 0.5249 GB, free: 15.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.365, allocations: 0 / 0.5249 GB, free: 15.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/0.3651, allocations: 27.73 kB / 0.525 GB, free: 15.78 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001263/0.3653, allocations: 16.8 kB / 0.525 GB, free: 15.76 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.3653, allocations: 8.125 kB / 0.525 GB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001154/0.3664, allocations: 1.286 MB / 0.5263 GB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.3665, allocations: 3.938 kB / 0.5263 GB, free: 14.37 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003883/0.3669, allocations: 294.4 kB / 0.5265 GB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.705e-05/0.3669, allocations: 88.05 kB / 0.5266 GB, free: 14 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.367, allocations: 3.984 kB / 0.5266 GB, free: 14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.749e-05/0.367, allocations: 7.312 kB / 0.5266 GB, free: 14 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.043e-05/0.3671, allocations: 15.98 kB / 0.5266 GB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.3671, allocations: 7.875 kB / 0.5267 GB, free: 13.98 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.247e-05/0.3672, allocations: 94.89 kB / 0.5267 GB, free: 13.89 MB / 346.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3672, allocations: 0 / 0.5267 GB, free: 13.89 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002716/0.3675, allocations: 30.06 kB / 0.5268 GB, free: 13.86 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass1.s,mass1.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.000157/0.3676, allocations: 99.19 kB / 0.5269 GB, free: 13.76 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002069/0.3678, allocations: 98.47 kB / 0.527 GB, free: 13.69 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.3679, allocations: 0 / 0.527 GB, free: 13.69 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002655/0.3681, allocations: 167.2 kB / 0.5271 GB, free: 13.52 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004292/0.3686, allocations: 27.83 kB / 0.5271 GB, free: 13.5 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000755/0.3693, allocations: 461 kB / 0.5276 GB, free: 13.04 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.3697, allocations: 0.7087 MB / 0.5283 GB, free: 12.3 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.937e-05/0.3697, allocations: 12.64 kB / 0.5283 GB, free: 12.29 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.691e-05/0.3698, allocations: 11.44 kB / 0.5283 GB, free: 12.29 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3698, allocations: 0 / 0.5283 GB, free: 12.29 MB / 346.7 MB Notification: Performance of Templates: time 0.003749/0.3735, allocations: 1.202 MB / 0.5295 GB, free: 11.14 MB / 346.7 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe 2>&1)