Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.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.TwoMassesEquationsFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008573/0.0008574, allocations: 178 kB / 16.12 MB, free: 5.547 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.3/1.3, 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.0007081/0.0007081, allocations: 91 kB / 291.3 MB, free: 10.78 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.002287/0.002287, allocations: 0.5585 MB / 343 MB, free: 7.105 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003562/0.0003562, allocations: 12 kB / 404.2 MB, free: 65.76 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08272/0.08309, allocations: 50.57 MB / 454.8 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2913/0.3745, allocations: 75.17 MB / 0.5175 GB, free: 6.91 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001947/0.3747, allocations: 64.47 kB / 0.5176 GB, free: 6.875 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001246/0.3759, allocations: 0.5861 MB / 0.5182 GB, free: 6.336 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.376, allocations: 0 / 0.5182 GB, free: 6.336 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.376, allocations: 0 / 0.5182 GB, free: 6.336 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0002706/0.3763, allocations: 329 kB / 0.5185 GB, free: 5.969 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.3763, allocations: 12.03 kB / 0.5185 GB, free: 5.957 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.918e-05/0.3763, allocations: 7.594 kB / 0.5185 GB, free: 5.953 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.3764, allocations: 168.4 kB / 0.5186 GB, free: 5.75 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-06/0.3765, allocations: 384 / 0.5186 GB, free: 5.75 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.3765, allocations: 12.3 kB / 0.5187 GB, free: 5.742 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.734e-05/0.3766, allocations: 42.06 kB / 0.5187 GB, free: 5.699 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.3766, allocations: 192 / 0.5187 GB, free: 5.699 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.3766, allocations: 6.094 kB / 0.5187 GB, free: 5.695 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.3766, allocations: 0 / 0.5187 GB, free: 5.695 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.723e-05/0.3767, allocations: 23.55 kB / 0.5187 GB, free: 5.676 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000266/0.377, allocations: 244.3 kB / 0.519 GB, free: 5.395 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.414e-05/0.377, allocations: 52.47 kB / 0.519 GB, free: 5.348 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.348e-05/0.3771, allocations: 24.03 kB / 0.519 GB, free: 5.324 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/0.3771, allocations: 4 kB / 0.519 GB, free: 5.32 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.3771, allocations: 46.25 kB / 0.5191 GB, free: 5.27 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.3771, allocations: 0 / 0.5191 GB, free: 5.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006689/0.3778, allocations: 0.4946 MB / 0.5196 GB, free: 4.723 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.3779, allocations: 51.41 kB / 0.5196 GB, free: 4.66 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.916e-05/0.3779, allocations: 101.1 kB / 0.5197 GB, free: 4.555 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.378, allocations: 29.7 kB / 0.5197 GB, free: 4.52 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.521e-05/0.378, allocations: 84.14 kB / 0.5198 GB, free: 4.434 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.933e-05/0.378, allocations: 30.98 kB / 0.5198 GB, free: 4.41 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.1e-06/0.378, allocations: 4 kB / 0.5199 GB, free: 4.406 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.905e-05/0.3781, allocations: 317.8 kB / 0.5202 GB, free: 4.09 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.771e-05/0.3782, allocations: 19.42 kB / 0.5202 GB, free: 4.074 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.513e-05/0.3782, allocations: 24.97 kB / 0.5202 GB, free: 4.047 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000267/0.3785, allocations: 256.8 kB / 0.5204 GB, free: 3.781 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3785, allocations: 0 / 0.5204 GB, free: 3.781 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001455/0.3787, allocations: 92.56 kB / 0.5205 GB, free: 3.695 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.3787, allocations: 8 kB / 0.5205 GB, free: 3.688 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.3787, allocations: 0 / 0.5205 GB, free: 3.688 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000104/0.3788, allocations: 24.66 kB / 0.5206 GB, free: 3.664 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.577e-05/0.3789, allocations: 15.98 kB / 0.5206 GB, free: 3.648 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008867/0.3798, allocations: 1.285 MB / 0.5218 GB, free: 2.273 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.977e-05/0.3798, allocations: 0 / 0.5218 GB, free: 2.273 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.3798, allocations: 7.781 kB / 0.5218 GB, free: 2.27 MB / 330.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: x1 = 0.0 v1 = 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 (8): * Single equations (assignments): 7 * 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 prepare postOptimizeDAE: time 0.0001328/0.3799, allocations: 121.8 kB / 0.522 GB, free: 2.145 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.38, allocations: 7.844 kB / 0.522 GB, free: 2.137 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.235e-05/0.38, allocations: 7.094 kB / 0.522 GB, free: 2.121 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.38, allocations: 4 kB / 0.522 GB, free: 2.117 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.38, allocations: 3.938 kB / 0.522 GB, free: 2.113 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.38, allocations: 0 / 0.522 GB, free: 2.113 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003843/0.3804, allocations: 367.3 kB / 0.5223 GB, free: 1.707 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.3804, allocations: 4 kB / 0.5223 GB, free: 1.703 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.523e-05/0.3805, allocations: 8 kB / 0.5223 GB, free: 1.695 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.274e-05/0.3806, allocations: 20.59 kB / 0.5224 GB, free: 1.676 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.3806, allocations: 7.984 kB / 0.5224 GB, free: 1.668 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00079/0.3814, allocations: 1.298 MB / 0.5236 GB, free: 296 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3814, allocations: 0 / 0.5236 GB, free: 296 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000222/0.3816, allocations: 227.6 kB / 0.5239 GB, free: 60 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.419e-05/0.3817, allocations: 81.05 kB / 0.5239 GB, free: 15.96 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.021e-05/0.3817, allocations: 7 kB / 0.5239 GB, free: 15.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.309e-05/0.3817, allocations: 0 / 0.5239 GB, free: 15.96 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.63e-05/0.3818, allocations: 10.92 kB / 0.5239 GB, free: 15.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.3818, allocations: 4 kB / 0.524 GB, free: 15.95 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.237e-05/0.3818, allocations: 79.34 kB / 0.524 GB, free: 15.87 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.445e-06/0.3818, allocations: 0 / 0.524 GB, free: 15.87 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002339/0.3821, allocations: 22.5 kB / 0.524 GB, free: 15.85 MB / 346.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.0001127/0.3822, allocations: 101.5 kB / 0.5241 GB, free: 15.74 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002816/0.3825, allocations: 159.1 kB / 0.5243 GB, free: 15.59 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.3825, allocations: 0 / 0.5243 GB, free: 15.59 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.3827, allocations: 156.3 kB / 0.5244 GB, free: 15.43 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.3829, allocations: 4.094 kB / 0.5244 GB, free: 15.43 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002872/0.3832, allocations: 185 kB / 0.5246 GB, free: 15.22 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002215/0.3834, allocations: 0.6887 MB / 0.5253 GB, free: 14.51 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.995e-05/0.3835, allocations: 4 kB / 0.5253 GB, free: 14.5 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.461e-05/0.3835, allocations: 11.44 kB / 0.5253 GB, free: 14.5 MB / 346.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3835, allocations: 0 / 0.5253 GB, free: 14.5 MB / 346.7 MB Notification: Performance of Templates: time 0.002513/0.386, allocations: 0.6297 MB / 0.5259 GB, free: 13.92 MB / 346.7 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe 2>&1)