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.00237/0.00237, allocations: 174.7 kB / 12.73 MB, free: 2.59 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.537/1.537, allocations: 221.4 MB / 234.6 MB, free: 14.46 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.001037/0.001037, allocations: 90.53 kB / 285.6 MB, free: 13.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.003628/0.003628, allocations: 0.5695 MB / 337 MB, free: 9.508 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.07e-05/4.08e-05, allocations: 4 kB / 395.5 MB, free: 70.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1347, allocations: 50.57 MB / 446 MB, free: 20.01 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4739/0.6088, allocations: 75.19 MB / 0.509 GB, free: 12.66 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000177/0.609, allocations: 64.72 kB / 0.5091 GB, free: 12.62 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001608/0.6106, allocations: 0.6747 MB / 0.5097 GB, free: 12.02 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.6106, allocations: 0 / 0.5097 GB, free: 12.02 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.6106, allocations: 0 / 0.5097 GB, free: 12.02 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.0002902/0.6109, allocations: 321.7 kB / 0.51 GB, free: 11.66 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.611, allocations: 8.031 kB / 0.51 GB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.484e-05/0.611, allocations: 12.48 kB / 0.5101 GB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.6112, allocations: 167 kB / 0.5102 GB, free: 11.44 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.6112, allocations: 3.375 kB / 0.5102 GB, free: 11.44 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.725e-05/0.6112, allocations: 7.938 kB / 0.5102 GB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.6114, allocations: 57.73 kB / 0.5103 GB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.6114, allocations: 4 kB / 0.5103 GB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.6114, allocations: 0 / 0.5103 GB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.6114, allocations: 0 / 0.5103 GB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.341e-05/0.6114, allocations: 19.25 kB / 0.5103 GB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003211/0.6118, allocations: 240.3 kB / 0.5105 GB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.77e-05/0.6119, allocations: 54 kB / 0.5106 GB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.409e-05/0.6119, allocations: 20.55 kB / 0.5106 GB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.236e-06/0.6119, allocations: 0 / 0.5106 GB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.612, allocations: 34.12 kB / 0.5106 GB, free: 10.98 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 8.92e-07/0.612, allocations: 0 / 0.5106 GB, free: 10.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007716/0.6128, allocations: 498.7 kB / 0.5111 GB, free: 10.43 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.6128, allocations: 55.41 kB / 0.5112 GB, free: 10.36 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.893e-05/0.6129, allocations: 92.88 kB / 0.5113 GB, free: 10.27 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.6129, allocations: 25.7 kB / 0.5113 GB, free: 10.23 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.47e-05/0.613, allocations: 84.12 kB / 0.5114 GB, free: 10.15 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.814e-05/0.613, allocations: 35.42 kB / 0.5114 GB, free: 10.12 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-06/0.613, allocations: 0 / 0.5114 GB, free: 10.12 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.6131, allocations: 314.8 kB / 0.5117 GB, free: 9.805 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.8e-05/0.6132, allocations: 22.44 kB / 0.5117 GB, free: 9.789 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.364e-05/0.6132, allocations: 29.59 kB / 0.5117 GB, free: 9.758 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002561/0.6135, allocations: 205.4 kB / 0.5119 GB, free: 9.531 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.6135, allocations: 0 / 0.5119 GB, free: 9.531 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001134/0.6136, allocations: 79.27 kB / 0.512 GB, free: 9.461 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.6136, allocations: 11.98 kB / 0.512 GB, free: 9.449 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.6137, allocations: 0 / 0.512 GB, free: 9.449 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.6137, allocations: 0 / 0.512 GB, free: 9.449 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.6138, allocations: 23.94 kB / 0.5121 GB, free: 9.426 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.6138, allocations: 0 / 0.5121 GB, free: 9.426 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.287e-05/0.6138, allocations: 7.312 kB / 0.5121 GB, free: 9.422 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.6139, allocations: 4.219 kB / 0.5121 GB, free: 9.418 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 () * 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.000107/0.614, allocations: 108.9 kB / 0.5122 GB, free: 9.309 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.675e-05/0.614, allocations: 11.84 kB / 0.5122 GB, free: 9.297 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.692e-05/0.614, allocations: 11.91 kB / 0.5122 GB, free: 9.289 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.614, allocations: 0 / 0.5122 GB, free: 9.289 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.6141, allocations: 4 kB / 0.5122 GB, free: 9.285 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.6141, allocations: 0 / 0.5122 GB, free: 9.285 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004385/0.6145, allocations: 360.7 kB / 0.5125 GB, free: 8.883 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.6145, allocations: 0 / 0.5125 GB, free: 8.883 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.164e-05/0.6146, allocations: 15.38 kB / 0.5126 GB, free: 8.871 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.906e-05/0.6147, allocations: 24.94 kB / 0.5126 GB, free: 8.844 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.6147, allocations: 3.562 kB / 0.5126 GB, free: 8.844 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009546/0.6157, allocations: 1.285 MB / 0.5138 GB, free: 7.461 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.6157, allocations: 4.812 kB / 0.5138 GB, free: 7.457 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002529/0.6159, allocations: 268.5 kB / 0.5141 GB, free: 7.172 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.301e-05/0.616, allocations: 77.11 kB / 0.5142 GB, free: 7.078 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.899e-06/0.616, allocations: 4.031 kB / 0.5142 GB, free: 7.074 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.201e-05/0.6161, allocations: 3.438 kB / 0.5142 GB, free: 7.074 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.972e-05/0.6161, allocations: 11.98 kB / 0.5142 GB, free: 7.062 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.6161, allocations: 4 kB / 0.5142 GB, free: 7.059 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.963e-05/0.6162, allocations: 86.91 kB / 0.5143 GB, free: 6.977 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6162, allocations: 0 / 0.5143 GB, free: 6.977 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002096/0.6164, allocations: 8 kB / 0.5143 GB, free: 6.969 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 () * 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.0001631/0.6165, allocations: 110.6 kB / 0.5144 GB, free: 6.852 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001115/0.6167, allocations: 39.06 kB / 0.5144 GB, free: 6.82 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.6167, allocations: 0 / 0.5144 GB, free: 6.82 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002402/0.6169, allocations: 144.5 kB / 0.5146 GB, free: 6.676 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001378/0.6171, allocations: 10.22 kB / 0.5146 GB, free: 6.668 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002668/0.6173, allocations: 137.9 kB / 0.5147 GB, free: 6.512 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.6177, allocations: 0.6887 MB / 0.5154 GB, free: 5.797 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.476e-05/0.6177, allocations: 8.172 kB / 0.5154 GB, free: 5.785 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.677e-05/0.6177, allocations: 7.438 kB / 0.5154 GB, free: 5.781 MB / 330.7 MB Notification: Performance of SimCode: time 2.51e-07/0.6178, allocations: 0 / 0.5154 GB, free: 5.781 MB / 330.7 MB Notification: Performance of Templates: time 0.00256/0.6203, allocations: 0.5433 MB / 0.5159 GB, free: 5.289 MB / 330.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)