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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 115.5 kB / 16.37 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 195.6 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.002614/0.002614, allocations: 0.5664 MB / 291.7 MB, free: 14.2 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 63.89 kB / 353 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1897, allocations: 49.59 MB / 402.6 MB, free: 35.9 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState): time 0.001509/0.1912, allocations: 0.5246 MB / 403.1 MB, free: 35.4 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001511/0.1914, allocations: 27.91 kB / 403.1 MB, free: 35.37 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.573e-05/0.1914, allocations: 3.938 kB / 403.1 MB, free: 35.37 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.131e-05/0.1914, allocations: 0 / 403.1 MB, free: 35.37 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 2.555e-05/0.1915, allocations: 7.938 kB / 403.1 MB, free: 35.36 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001078/0.1916, allocations: 3.984 kB / 403.2 MB, free: 35.36 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.182e-05/0.1916, allocations: 19.92 kB / 403.2 MB, free: 35.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.777e-05/0.1917, allocations: 4 kB / 403.2 MB, free: 35.33 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.909e-05/0.1917, allocations: 14.73 kB / 403.2 MB, free: 35.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.321e-05/0.1918, allocations: 11.92 kB / 403.2 MB, free: 35.31 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.1918, allocations: 0 / 403.2 MB, free: 35.31 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.278e-06/0.1918, allocations: 4 kB / 403.2 MB, free: 35.3 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.688e-05/0.1918, allocations: 11.92 kB / 403.2 MB, free: 35.29 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.31e-05/0.1918, allocations: 11.92 kB / 403.2 MB, free: 35.28 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 4.942e-05/0.1919, allocations: 15.92 kB / 403.2 MB, free: 35.27 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.1919, allocations: 0 / 403.2 MB, free: 35.27 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1919, allocations: 4 kB / 403.2 MB, free: 35.26 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.227e-06/0.1919, allocations: 0 / 403.2 MB, free: 35.26 MB / 302.1 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.0002894/0.1922, allocations: 331.5 kB / 403.6 MB, free: 34.89 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.1923, allocations: 11.89 kB / 403.6 MB, free: 34.88 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.706e-05/0.1923, allocations: 4.938 kB / 403.6 MB, free: 34.87 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.922e-05/0.1924, allocations: 166.2 kB / 403.7 MB, free: 34.67 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.1924, allocations: 4.375 kB / 403.8 MB, free: 34.67 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.518e-05/0.1924, allocations: 8.375 kB / 403.8 MB, free: 34.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.01e-05/0.1925, allocations: 46.25 kB / 403.8 MB, free: 34.61 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/0.1925, allocations: 192 / 403.8 MB, free: 34.61 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.1925, allocations: 3.938 kB / 403.8 MB, free: 34.61 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1925, allocations: 3.984 kB / 403.8 MB, free: 34.6 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.485e-05/0.1926, allocations: 19.92 kB / 403.8 MB, free: 34.58 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002096/0.1928, allocations: 252.6 kB / 404.1 MB, free: 34.29 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.162e-05/0.1929, allocations: 46.62 kB / 404.1 MB, free: 34.23 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.757e-05/0.1929, allocations: 24.92 kB / 404.2 MB, free: 34.21 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.1929, allocations: 11.94 kB / 404.2 MB, free: 34.2 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.376e-05/0.193, allocations: 38.5 kB / 404.2 MB, free: 34.15 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.193, allocations: 0 / 404.2 MB, free: 34.15 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005106/0.1935, allocations: 0.4943 MB / 404.7 MB, free: 33.56 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.746e-05/0.1935, allocations: 55.39 kB / 404.7 MB, free: 33.49 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.943e-05/0.1935, allocations: 93.86 kB / 404.8 MB, free: 33.39 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.645e-06/0.1936, allocations: 29.7 kB / 404.9 MB, free: 33.36 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.566e-05/0.1936, allocations: 84.14 kB / 405 MB, free: 33.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.1936, allocations: 31.55 kB / 405 MB, free: 33.24 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.894e-05/0.1936, allocations: 21.72 kB / 405 MB, free: 33.21 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.506e-05/0.1937, allocations: 322.8 kB / 405.3 MB, free: 32.89 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.436e-05/0.1937, allocations: 19.94 kB / 405.3 MB, free: 32.87 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.995e-05/0.1937, allocations: 33.7 kB / 405.4 MB, free: 32.83 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00021/0.194, allocations: 243.8 kB / 405.6 MB, free: 32.55 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.194, allocations: 0 / 405.6 MB, free: 32.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.767e-05/0.1941, allocations: 81.59 kB / 405.7 MB, free: 32.46 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/0.1941, allocations: 4 kB / 405.7 MB, free: 32.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1941, allocations: 3.984 kB / 405.7 MB, free: 32.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.1941, allocations: 7.938 kB / 405.7 MB, free: 32.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.084e-05/0.1942, allocations: 16 kB / 405.7 MB, free: 32.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.1942, allocations: 4.875 kB / 405.7 MB, free: 32.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.071e-05/0.1942, allocations: 0 / 405.7 MB, free: 32.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.1942, allocations: 7.938 kB / 405.7 MB, free: 32.42 MB / 302.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: $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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.261e-05/0.1943, allocations: 114.5 kB / 405.8 MB, free: 32.3 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/0.1944, allocations: 4 kB / 405.8 MB, free: 32.29 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.376e-05/0.1944, allocations: 11.97 kB / 405.9 MB, free: 32.28 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.1944, allocations: 0 / 405.9 MB, free: 32.28 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1944, allocations: 4 kB / 405.9 MB, free: 32.27 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1944, allocations: 4 kB / 405.9 MB, free: 32.27 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002969/0.1947, allocations: 373.7 kB / 406.2 MB, free: 31.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1947, allocations: 4 kB / 406.2 MB, free: 31.83 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.636e-05/0.1948, allocations: 16.02 kB / 406.3 MB, free: 31.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000102/0.1949, allocations: 28.78 kB / 406.3 MB, free: 31.79 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.1949, allocations: 4 kB / 406.3 MB, free: 31.78 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006232/0.1955, allocations: 1.387 MB / 407.7 MB, free: 30.25 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1956, allocations: 3.938 kB / 407.7 MB, free: 30.24 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001577/0.1957, allocations: 215 kB / 407.9 MB, free: 30 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.819e-05/0.1957, allocations: 92.97 kB / 408 MB, free: 29.89 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.598e-06/0.1958, allocations: 4 kB / 408 MB, free: 29.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.977e-05/0.1958, allocations: 4 kB / 408 MB, free: 29.89 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.261e-05/0.1959, allocations: 7.984 kB / 408 MB, free: 29.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.1959, allocations: 0 / 408 MB, free: 29.88 MB / 302.1 MB Notification: Performance of sorting global known variables: time 1.791e-05/0.1959, allocations: 83.28 kB / 408.1 MB, free: 29.8 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1959, allocations: 0 / 408.1 MB, free: 29.8 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002394/0.1961, allocations: 8 kB / 408.1 MB, free: 29.79 MB / 302.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 5.776e-05/0.1962, allocations: 103.2 kB / 408.2 MB, free: 29.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.435e-05/0.1963, allocations: 40.08 kB / 408.2 MB, free: 29.64 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.1963, allocations: 7.875 kB / 408.2 MB, free: 29.63 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001645/0.1965, allocations: 142.7 kB / 408.4 MB, free: 29.48 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.1967, allocations: 11.94 kB / 408.4 MB, free: 29.47 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001953/0.1969, allocations: 180.9 kB / 408.6 MB, free: 29.26 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.635e-05/0.197, allocations: 0.6885 MB / 409.2 MB, free: 28.54 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.57e-05/0.197, allocations: 0 / 409.2 MB, free: 28.54 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.738e-05/0.1971, allocations: 11.44 kB / 409.3 MB, free: 28.53 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1971, allocations: 0 / 409.3 MB, free: 28.53 MB / 302.1 MB Notification: Performance of Templates: time 0.002377/0.1994, allocations: 0.5893 MB / 409.8 MB, free: 27.99 MB / 302.1 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 -s cvode -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe 2>&1)