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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 115.6 kB / 16.37 MB, free: 6.012 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.001919/0.001919, allocations: 191.9 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.297/1.297, 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.002623/0.002623, allocations: 0.5632 MB / 291.7 MB, free: 14.21 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 59.89 kB / 353 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1911, allocations: 49.59 MB / 402.6 MB, free: 35.89 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial): time 0.001432/0.1926, allocations: 0.5188 MB / 403.1 MB, free: 35.4 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001266/0.1927, allocations: 27.91 kB / 403.1 MB, free: 35.37 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.229e-05/0.1927, allocations: 0 / 403.1 MB, free: 35.37 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.161e-05/0.1928, allocations: 3.938 kB / 403.1 MB, free: 35.37 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 2.572e-05/0.1928, allocations: 4 kB / 403.1 MB, free: 35.36 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000104/0.1929, allocations: 11.98 kB / 403.2 MB, free: 35.35 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 4.314e-05/0.193, allocations: 23.86 kB / 403.2 MB, free: 35.33 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.359e-05/0.193, allocations: 0 / 403.2 MB, free: 35.33 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.849e-05/0.193, allocations: 4 kB / 403.2 MB, free: 35.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.179e-05/0.1931, allocations: 19.91 kB / 403.2 MB, free: 35.3 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.1931, allocations: 0 / 403.2 MB, free: 35.3 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.935e-06/0.1931, allocations: 4 kB / 403.2 MB, free: 35.3 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.395e-05/0.1931, allocations: 3.984 kB / 403.2 MB, free: 35.3 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.442e-05/0.1932, allocations: 11.94 kB / 403.2 MB, free: 35.29 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 4.455e-05/0.1932, allocations: 15.92 kB / 403.2 MB, free: 35.27 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1932, allocations: 0 / 403.2 MB, free: 35.27 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1932, allocations: 0 / 403.2 MB, free: 35.27 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.898e-06/0.1932, allocations: 0 / 403.2 MB, free: 35.27 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.0002703/0.1935, allocations: 331.5 kB / 403.6 MB, free: 34.89 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.781e-05/0.1935, allocations: 11.89 kB / 403.6 MB, free: 34.88 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.179e-05/0.1936, allocations: 8.875 kB / 403.6 MB, free: 34.88 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.623e-05/0.1937, allocations: 174.2 kB / 403.8 MB, free: 34.67 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.1937, allocations: 4.375 kB / 403.8 MB, free: 34.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.1937, allocations: 4.375 kB / 403.8 MB, free: 34.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.599e-05/0.1938, allocations: 50.19 kB / 403.8 MB, free: 34.61 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.1938, allocations: 4.188 kB / 403.8 MB, free: 34.6 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.1938, allocations: 3.938 kB / 403.8 MB, free: 34.6 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.1939, allocations: 0 / 403.8 MB, free: 34.6 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.644e-05/0.1939, allocations: 11.98 kB / 403.8 MB, free: 34.59 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002108/0.1941, allocations: 248.7 kB / 404.1 MB, free: 34.3 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.223e-05/0.1942, allocations: 58.5 kB / 404.1 MB, free: 34.23 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.901e-05/0.1942, allocations: 24.91 kB / 404.2 MB, free: 34.2 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.666e-06/0.1943, allocations: 0 / 404.2 MB, free: 34.2 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.549e-05/0.1943, allocations: 38.5 kB / 404.2 MB, free: 34.16 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 9.01e-07/0.1943, allocations: 0 / 404.2 MB, free: 34.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005842/0.1949, allocations: 0.491 MB / 404.7 MB, free: 33.57 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.862e-05/0.1949, allocations: 51.41 kB / 404.7 MB, free: 33.51 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.462e-05/0.195, allocations: 101.8 kB / 404.8 MB, free: 33.4 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.594e-06/0.195, allocations: 25.7 kB / 404.9 MB, free: 33.37 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.75e-05/0.195, allocations: 88.14 kB / 404.9 MB, free: 33.28 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.195, allocations: 31.53 kB / 405 MB, free: 33.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.949e-05/0.1951, allocations: 21.72 kB / 405 MB, free: 33.22 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.291e-05/0.1951, allocations: 326.8 kB / 405.3 MB, free: 32.89 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.705e-05/0.1951, allocations: 20.06 kB / 405.3 MB, free: 32.87 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.041e-05/0.1952, allocations: 29.7 kB / 405.4 MB, free: 32.84 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002186/0.1954, allocations: 239.8 kB / 405.6 MB, free: 32.56 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1954, allocations: 4 kB / 405.6 MB, free: 32.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001307/0.1955, allocations: 102.4 kB / 405.7 MB, free: 32.45 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.1956, allocations: 8 kB / 405.7 MB, free: 32.44 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.1956, allocations: 0 / 405.7 MB, free: 32.44 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.935e-05/0.1957, allocations: 24.78 kB / 405.7 MB, free: 32.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.727e-05/0.1957, allocations: 8.234 kB / 405.7 MB, free: 32.4 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006513/0.1964, allocations: 1.387 MB / 407.1 MB, free: 30.87 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.17e-05/0.1964, allocations: 4.031 kB / 407.1 MB, free: 30.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.229e-06/0.1964, allocations: 0 / 407.1 MB, free: 30.86 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: 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 (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 prepare postOptimizeDAE: time 7.039e-05/0.1965, allocations: 122.4 kB / 407.2 MB, free: 30.73 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.1965, allocations: 4.406 kB / 407.3 MB, free: 30.73 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.008e-05/0.1966, allocations: 19.89 kB / 407.3 MB, free: 30.71 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1966, allocations: 0 / 407.3 MB, free: 30.71 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.1966, allocations: 4 kB / 407.3 MB, free: 30.7 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.1966, allocations: 0 / 407.3 MB, free: 30.7 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003139/0.1969, allocations: 369.8 kB / 407.6 MB, free: 30.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1969, allocations: 4.094 kB / 407.6 MB, free: 30.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.573e-05/0.197, allocations: 8 kB / 407.7 MB, free: 30.26 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.046e-05/0.197, allocations: 28.78 kB / 407.7 MB, free: 30.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.313e-06/0.1971, allocations: 3.938 kB / 407.7 MB, free: 30.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005444/0.1976, allocations: 1.383 MB / 409.1 MB, free: 28.71 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1976, allocations: 4.031 kB / 409.1 MB, free: 28.7 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001559/0.1978, allocations: 231.2 kB / 409.3 MB, free: 28.45 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.552e-05/0.1978, allocations: 77.11 kB / 409.4 MB, free: 28.36 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.829e-06/0.1978, allocations: 8.031 kB / 409.4 MB, free: 28.35 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.9e-05/0.1979, allocations: 3.938 kB / 409.4 MB, free: 28.34 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.756e-05/0.1979, allocations: 11.92 kB / 409.4 MB, free: 28.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.1979, allocations: 4 kB / 409.4 MB, free: 28.33 MB / 302.1 MB Notification: Performance of sorting global known variables: time 1.649e-05/0.1979, allocations: 79.28 kB / 409.5 MB, free: 28.25 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1979, allocations: 64 / 409.5 MB, free: 28.25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002501/0.1982, allocations: 16 kB / 409.5 MB, free: 28.23 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.433e-05/0.1983, allocations: 100.5 kB / 409.6 MB, free: 28.13 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000219/0.1985, allocations: 162.5 kB / 409.7 MB, free: 27.96 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1985, allocations: 4 kB / 409.8 MB, free: 27.95 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.1986, allocations: 142.8 kB / 409.9 MB, free: 27.8 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/0.1989, allocations: 14.81 kB / 409.9 MB, free: 27.79 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00023/0.1991, allocations: 177.8 kB / 410.1 MB, free: 27.58 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.902e-05/0.1992, allocations: 0.685 MB / 410.8 MB, free: 26.87 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.569e-05/0.1992, allocations: 4 kB / 410.8 MB, free: 26.87 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.466e-05/0.1993, allocations: 11.44 kB / 410.8 MB, free: 26.86 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1993, allocations: 4 kB / 410.8 MB, free: 26.85 MB / 302.1 MB Notification: Performance of Templates: time 0.002423/0.2017, allocations: 0.6781 MB / 411.5 MB, free: 26.22 MB / 302.1 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 -s cvode -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe 2>&1)