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.001046/0.001051, allocations: 105.2 kB / 16.35 MB, free: 5.824 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.0009871/0.0009871, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.282/1.282, allocations: 222.9 MB / 241 MB, free: 15.16 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.002524/0.002524, allocations: 0.5694 MB / 291.7 MB, free: 14.19 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 63.91 kB / 353 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1846, allocations: 49.6 MB / 402.6 MB, free: 35.87 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState): time 0.001488/0.1862, allocations: 0.5101 MB / 403.1 MB, free: 35.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001329/0.1863, allocations: 31.91 kB / 403.1 MB, free: 35.35 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.066e-05/0.1864, allocations: 0 / 403.1 MB, free: 35.35 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.073e-05/0.1864, allocations: 0 / 403.1 MB, free: 35.35 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 2.91e-05/0.1864, allocations: 3.938 kB / 403.1 MB, free: 35.35 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001048/0.1865, allocations: 7.984 kB / 403.1 MB, free: 35.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 4.545e-05/0.1866, allocations: 15.98 kB / 403.2 MB, free: 35.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.941e-05/0.1866, allocations: 0 / 403.2 MB, free: 35.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.04e-05/0.1867, allocations: 19.92 kB / 403.2 MB, free: 35.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.999e-05/0.1867, allocations: 11.58 kB / 403.2 MB, free: 35.3 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.1867, allocations: 4 kB / 403.2 MB, free: 35.29 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.444e-06/0.1867, allocations: 0 / 403.2 MB, free: 35.29 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.446e-05/0.1868, allocations: 7.984 kB / 403.2 MB, free: 35.29 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.144e-05/0.1868, allocations: 7.938 kB / 403.2 MB, free: 35.28 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 4.821e-05/0.1868, allocations: 21.16 kB / 403.2 MB, free: 35.26 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1869, allocations: 3.938 kB / 403.2 MB, free: 35.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1869, allocations: 0 / 403.2 MB, free: 35.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.1869, allocations: 0 / 403.2 MB, free: 35.25 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.0002813/0.1872, allocations: 337.2 kB / 403.6 MB, free: 34.88 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.925e-05/0.1872, allocations: 15.89 kB / 403.6 MB, free: 34.86 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.854e-05/0.1872, allocations: 0.9375 kB / 403.6 MB, free: 34.86 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.267e-05/0.1873, allocations: 166.2 kB / 403.7 MB, free: 34.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.1873, allocations: 12.31 kB / 403.7 MB, free: 34.65 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.1873, allocations: 4.375 kB / 403.8 MB, free: 34.64 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.247e-05/0.1874, allocations: 42.25 kB / 403.8 MB, free: 34.6 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.1874, allocations: 192 / 403.8 MB, free: 34.6 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.1875, allocations: 7.922 kB / 403.8 MB, free: 34.59 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.1875, allocations: 0 / 403.8 MB, free: 34.59 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.809e-05/0.1875, allocations: 19.92 kB / 403.8 MB, free: 34.57 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000206/0.1877, allocations: 252.6 kB / 404.1 MB, free: 34.28 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.766e-05/0.1878, allocations: 58.62 kB / 404.1 MB, free: 34.21 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.734e-05/0.1878, allocations: 20.92 kB / 404.1 MB, free: 34.19 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.077e-05/0.1879, allocations: 0 / 404.1 MB, free: 34.19 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.227e-05/0.1879, allocations: 30.56 kB / 404.2 MB, free: 34.15 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.1879, allocations: 0 / 404.2 MB, free: 34.15 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005259/0.1884, allocations: 0.5021 MB / 404.7 MB, free: 33.55 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.919e-05/0.1884, allocations: 59.34 kB / 404.7 MB, free: 33.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.049e-05/0.1885, allocations: 97.86 kB / 404.8 MB, free: 33.38 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.404e-06/0.1885, allocations: 25.7 kB / 404.9 MB, free: 33.34 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.603e-05/0.1885, allocations: 80.14 kB / 404.9 MB, free: 33.26 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.1886, allocations: 31.55 kB / 405 MB, free: 33.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.16e-05/0.1886, allocations: 33.66 kB / 405 MB, free: 33.19 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.46e-05/0.1886, allocations: 322.8 kB / 405.3 MB, free: 32.87 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.61e-05/0.1887, allocations: 12 kB / 405.3 MB, free: 32.86 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.046e-05/0.1887, allocations: 29.7 kB / 405.4 MB, free: 32.82 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000222/0.1889, allocations: 256.5 kB / 405.6 MB, free: 32.53 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1889, allocations: 0 / 405.6 MB, free: 32.53 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.895e-05/0.189, allocations: 81.58 kB / 405.7 MB, free: 32.44 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.189, allocations: 4 kB / 405.7 MB, free: 32.44 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1891, allocations: 4 kB / 405.7 MB, free: 32.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.1891, allocations: 0 / 405.7 MB, free: 32.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.477e-05/0.1892, allocations: 23.92 kB / 405.7 MB, free: 32.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.1892, allocations: 0 / 405.7 MB, free: 32.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.139e-05/0.1892, allocations: 0 / 405.7 MB, free: 32.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.1892, allocations: 11.94 kB / 405.7 MB, free: 32.4 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.432e-05/0.1893, allocations: 114.5 kB / 405.8 MB, free: 32.28 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.494e-05/0.1893, allocations: 0 / 405.8 MB, free: 32.28 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.549e-05/0.1894, allocations: 11.97 kB / 405.8 MB, free: 32.26 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1894, allocations: 96 / 405.8 MB, free: 32.26 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.1894, allocations: 3.938 kB / 405.9 MB, free: 32.26 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1894, allocations: 3.984 kB / 405.9 MB, free: 32.25 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003095/0.1897, allocations: 381.7 kB / 406.2 MB, free: 31.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1897, allocations: 0 / 406.2 MB, free: 31.81 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.777e-05/0.1898, allocations: 11.94 kB / 406.2 MB, free: 31.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.348e-05/0.1899, allocations: 24.84 kB / 406.3 MB, free: 31.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.1899, allocations: 240 / 406.3 MB, free: 31.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006087/0.1905, allocations: 1.391 MB / 407.7 MB, free: 30.23 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1905, allocations: 7.969 kB / 407.7 MB, free: 30.23 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001621/0.1907, allocations: 219 kB / 407.9 MB, free: 29.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.519e-05/0.1907, allocations: 88.95 kB / 408 MB, free: 29.88 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.668e-06/0.1907, allocations: 4 kB / 408 MB, free: 29.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.083e-05/0.1908, allocations: 0 / 408 MB, free: 29.88 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.641e-05/0.1908, allocations: 7.984 kB / 408 MB, free: 29.87 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.231e-06/0.1908, allocations: 11.94 kB / 408 MB, free: 29.86 MB / 302.1 MB Notification: Performance of sorting global known variables: time 1.567e-05/0.1908, allocations: 75.28 kB / 408.1 MB, free: 29.78 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1909, allocations: 4.062 kB / 408.1 MB, free: 29.78 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002527/0.1911, allocations: 12 kB / 408.1 MB, free: 29.77 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.621e-05/0.1912, allocations: 96.56 kB / 408.2 MB, free: 29.66 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001012/0.1913, allocations: 43.92 kB / 408.2 MB, free: 29.62 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1913, allocations: 0 / 408.2 MB, free: 29.62 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001735/0.1915, allocations: 142.8 kB / 408.4 MB, free: 29.47 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.1917, allocations: 15.94 kB / 408.4 MB, free: 29.45 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002019/0.1919, allocations: 176.7 kB / 408.5 MB, free: 29.25 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.468e-05/0.192, allocations: 0.6846 MB / 409.2 MB, free: 28.54 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.753e-05/0.192, allocations: 4 kB / 409.2 MB, free: 28.53 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.685e-05/0.192, allocations: 11.44 kB / 409.2 MB, free: 28.52 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1921, allocations: 4 kB / 409.2 MB, free: 28.52 MB / 302.1 MB Notification: Performance of Templates: time 0.002334/0.1944, allocations: 0.5866 MB / 409.8 MB, free: 27.98 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 gbode -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe 2>&1)