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+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.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.001487/0.001487, allocations: 173.7 kB / 16.12 MB, free: 5.688 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.33/1.33, allocations: 223.3 MB / 240.1 MB, free: 9.953 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.0008844/0.0008845, allocations: 100.8 kB / 291.3 MB, free: 10.55 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.003386/0.003386, allocations: 0.5515 MB / 343 MB, free: 6.875 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003911/0.0003913, allocations: 12.62 kB / 404.2 MB, free: 65.71 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0911/0.09151, allocations: 50.57 MB / 454.8 MB, free: 15.17 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2947/0.3862, allocations: 75.27 MB / 0.5176 GB, free: 6.785 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002042/0.3865, allocations: 64.66 kB / 0.5177 GB, free: 6.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001605/0.3881, allocations: 0.6806 MB / 0.5183 GB, free: 6.141 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3881, allocations: 0 / 0.5183 GB, free: 6.141 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.9e-06/0.3881, allocations: 0 / 0.5183 GB, free: 6.141 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.0002855/0.3884, allocations: 331.5 kB / 0.5187 GB, free: 5.77 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.3884, allocations: 12.03 kB / 0.5187 GB, free: 5.758 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.959e-05/0.3885, allocations: 5.969 kB / 0.5187 GB, free: 5.754 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.3886, allocations: 164.4 kB / 0.5188 GB, free: 5.555 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.3886, allocations: 4 kB / 0.5188 GB, free: 5.555 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.3886, allocations: 12.3 kB / 0.5189 GB, free: 5.543 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.463e-05/0.3887, allocations: 48.97 kB / 0.5189 GB, free: 5.5 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.3888, allocations: 192 / 0.5189 GB, free: 5.5 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.3888, allocations: 7.938 kB / 0.5189 GB, free: 5.492 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3888, allocations: 0 / 0.5189 GB, free: 5.492 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.654e-05/0.3888, allocations: 15.05 kB / 0.5189 GB, free: 5.48 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002669/0.3891, allocations: 249.7 kB / 0.5192 GB, free: 5.195 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.683e-05/0.3892, allocations: 52.5 kB / 0.5192 GB, free: 5.145 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.588e-05/0.3892, allocations: 24.66 kB / 0.5192 GB, free: 5.121 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.3893, allocations: 8 kB / 0.5192 GB, free: 5.113 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.3893, allocations: 30.56 kB / 0.5193 GB, free: 5.074 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.3893, allocations: 0 / 0.5193 GB, free: 5.074 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006442/0.3899, allocations: 0.4939 MB / 0.5198 GB, free: 4.531 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/0.39, allocations: 51.41 kB / 0.5198 GB, free: 4.469 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.672e-05/0.3901, allocations: 105.8 kB / 0.5199 GB, free: 4.359 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.3901, allocations: 29.64 kB / 0.5199 GB, free: 4.324 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.263e-05/0.3901, allocations: 84.14 kB / 0.52 GB, free: 4.238 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/0.3901, allocations: 34.61 kB / 0.52 GB, free: 4.211 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-06/0.3902, allocations: 0 / 0.52 GB, free: 4.211 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.89e-05/0.3903, allocations: 314.8 kB / 0.5203 GB, free: 3.895 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.757e-05/0.3903, allocations: 18.92 kB / 0.5204 GB, free: 3.883 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.613e-05/0.3903, allocations: 29.09 kB / 0.5204 GB, free: 3.852 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002707/0.3906, allocations: 254.4 kB / 0.5206 GB, free: 3.586 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3906, allocations: 0 / 0.5206 GB, free: 3.586 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001029/0.3907, allocations: 83.58 kB / 0.5207 GB, free: 3.512 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.3907, allocations: 8 kB / 0.5207 GB, free: 3.504 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.3908, allocations: 4 kB / 0.5207 GB, free: 3.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.828e-06/0.3908, allocations: 0 / 0.5207 GB, free: 3.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.922e-05/0.3909, allocations: 23.8 kB / 0.5207 GB, free: 3.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.3909, allocations: 8 kB / 0.5208 GB, free: 3.473 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.04e-05/0.3909, allocations: 0 / 0.5208 GB, free: 3.473 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.3909, allocations: 3.938 kB / 0.5208 GB, free: 3.469 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: $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.0001247/0.3911, allocations: 116.5 kB / 0.5209 GB, free: 3.348 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.3911, allocations: 4 kB / 0.5209 GB, free: 3.344 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.052e-05/0.3911, allocations: 7.469 kB / 0.5209 GB, free: 3.332 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.3911, allocations: 0 / 0.5209 GB, free: 3.332 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.3911, allocations: 0 / 0.5209 GB, free: 3.332 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.3912, allocations: 7.984 kB / 0.5209 GB, free: 3.324 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003931/0.3916, allocations: 378.2 kB / 0.5212 GB, free: 2.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3916, allocations: 0 / 0.5212 GB, free: 2.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.54e-05/0.3916, allocations: 8 kB / 0.5213 GB, free: 2.902 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.912e-05/0.3917, allocations: 24.66 kB / 0.5213 GB, free: 2.879 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.3917, allocations: 4.094 kB / 0.5213 GB, free: 2.875 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009447/0.3927, allocations: 1.284 MB / 0.5225 GB, free: 1.496 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.3927, allocations: 7.969 kB / 0.5225 GB, free: 1.488 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002199/0.3929, allocations: 226.4 kB / 0.5228 GB, free: 1.262 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.019e-05/0.393, allocations: 89.03 kB / 0.5228 GB, free: 1.156 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.076e-05/0.393, allocations: 4.062 kB / 0.5228 GB, free: 1.152 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.723e-05/0.3931, allocations: 15.44 kB / 0.5229 GB, free: 1.141 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.893e-05/0.3931, allocations: 12 kB / 0.5229 GB, free: 1.129 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.3931, allocations: 3.984 kB / 0.5229 GB, free: 1.125 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.899e-05/0.3932, allocations: 82.47 kB / 0.523 GB, free: 1.047 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3932, allocations: 0 / 0.523 GB, free: 1.047 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002211/0.3934, allocations: 8 kB / 0.523 GB, free: 1.039 MB / 330.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.0001164/0.3935, allocations: 98.94 kB / 0.5231 GB, free: 0.9375 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001025/0.3936, allocations: 43.3 kB / 0.5231 GB, free: 0.9023 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3936, allocations: 4 kB / 0.5231 GB, free: 0.8984 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002312/0.3939, allocations: 145.1 kB / 0.5232 GB, free: 0.7539 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/0.3941, allocations: 7.531 kB / 0.5232 GB, free: 0.75 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002652/0.3944, allocations: 185.5 kB / 0.5234 GB, free: 0.543 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002412/0.3946, allocations: 0.6848 MB / 0.5241 GB, free: 15.83 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.669e-05/0.3946, allocations: 0 / 0.5241 GB, free: 15.83 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.561e-05/0.3947, allocations: 11.44 kB / 0.5241 GB, free: 15.82 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3947, allocations: 0 / 0.5241 GB, free: 15.82 MB / 346.7 MB Notification: Performance of Templates: time 0.002246/0.3969, allocations: 0.5437 MB / 0.5246 GB, free: 15.34 MB / 346.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)