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.001177/0.001177, allocations: 107.3 kB / 16.36 MB, free: 6.285 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.001132/0.001132, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.15 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.002607/0.002607, allocations: 0.5702 MB / 291.7 MB, free: 14.18 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 63.91 kB / 353 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1811, allocations: 49.6 MB / 402.6 MB, free: 35.86 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial): time 0.001439/0.1826, allocations: 0.5117 MB / 403.1 MB, free: 35.37 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001302/0.1827, allocations: 23.91 kB / 403.1 MB, free: 35.35 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.093e-05/0.1827, allocations: 0 / 403.1 MB, free: 35.35 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.365e-05/0.1828, allocations: 7.938 kB / 403.1 MB, free: 35.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 2.044e-05/0.1828, allocations: 0 / 403.1 MB, free: 35.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001041/0.1829, allocations: 15.91 kB / 403.1 MB, free: 35.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 4.257e-05/0.183, allocations: 11.98 kB / 403.2 MB, free: 35.31 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.619e-05/0.183, allocations: 8 kB / 403.2 MB, free: 35.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.58e-05/0.183, allocations: 10.69 kB / 403.2 MB, free: 35.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.034e-05/0.1831, allocations: 11.92 kB / 403.2 MB, free: 35.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.1831, allocations: 4 kB / 403.2 MB, free: 35.28 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.173e-06/0.1831, allocations: 0 / 403.2 MB, free: 35.28 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.384e-05/0.1831, allocations: 4 kB / 403.2 MB, free: 35.28 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.141e-05/0.1832, allocations: 15.91 kB / 403.2 MB, free: 35.26 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 4.546e-05/0.1832, allocations: 11.92 kB / 403.2 MB, free: 35.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1832, allocations: 4 kB / 403.2 MB, free: 35.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1832, allocations: 0 / 403.2 MB, free: 35.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.1832, 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.0002583/0.1835, allocations: 331.5 kB / 403.5 MB, free: 34.87 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.967e-05/0.1835, allocations: 15.89 kB / 403.6 MB, free: 34.86 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.457e-05/0.1836, allocations: 0.9375 kB / 403.6 MB, free: 34.86 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.594e-05/0.1836, allocations: 166.2 kB / 403.7 MB, free: 34.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.1836, allocations: 4.375 kB / 403.7 MB, free: 34.65 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/0.1837, allocations: 12.25 kB / 403.7 MB, free: 34.64 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.259e-05/0.1838, allocations: 54.23 kB / 403.8 MB, free: 34.58 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.1838, allocations: 192 / 403.8 MB, free: 34.58 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.1838, allocations: 3.938 kB / 403.8 MB, free: 34.58 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.1838, allocations: 0 / 403.8 MB, free: 34.58 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.301e-05/0.1838, allocations: 8 kB / 403.8 MB, free: 34.57 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001888/0.184, allocations: 256.7 kB / 404.1 MB, free: 34.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.924e-05/0.1841, allocations: 54.5 kB / 404.1 MB, free: 34.21 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.838e-05/0.1841, allocations: 28.91 kB / 404.1 MB, free: 34.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/0.1842, allocations: 0 / 404.1 MB, free: 34.18 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.243e-05/0.1842, allocations: 30.56 kB / 404.2 MB, free: 34.14 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 7.92e-07/0.1842, allocations: 0 / 404.2 MB, free: 34.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005019/0.1847, allocations: 0.4983 MB / 404.7 MB, free: 33.55 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.74e-05/0.1847, allocations: 55.41 kB / 404.7 MB, free: 33.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.909e-05/0.1848, allocations: 105.8 kB / 404.8 MB, free: 33.37 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.313e-06/0.1848, allocations: 25.7 kB / 404.9 MB, free: 33.34 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.566e-05/0.1848, allocations: 88.08 kB / 404.9 MB, free: 33.25 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.1848, allocations: 27.56 kB / 405 MB, free: 33.22 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.8e-05/0.1849, allocations: 25.7 kB / 405 MB, free: 33.19 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.467e-05/0.1849, allocations: 318.8 kB / 405.3 MB, free: 32.87 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.528e-05/0.1849, allocations: 19.98 kB / 405.3 MB, free: 32.85 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.993e-05/0.185, allocations: 33.64 kB / 405.4 MB, free: 32.81 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002088/0.1852, allocations: 244.5 kB / 405.6 MB, free: 32.53 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1852, allocations: 0 / 405.6 MB, free: 32.53 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001276/0.1853, allocations: 102.4 kB / 405.7 MB, free: 32.42 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/0.1853, allocations: 4 kB / 405.7 MB, free: 32.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1854, allocations: 8 kB / 405.7 MB, free: 32.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.295e-05/0.1855, allocations: 20.78 kB / 405.7 MB, free: 32.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.485e-05/0.1855, allocations: 15.94 kB / 405.7 MB, free: 32.37 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006078/0.1861, allocations: 1.387 MB / 407.1 MB, free: 30.83 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.029e-05/0.1862, allocations: 0 / 407.1 MB, free: 30.83 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.169e-06/0.1862, allocations: 4.031 kB / 407.1 MB, free: 30.83 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 8.255e-05/0.1863, allocations: 118.4 kB / 407.2 MB, free: 30.7 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.428e-05/0.1863, allocations: 4 kB / 407.2 MB, free: 30.7 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.792e-05/0.1863, allocations: 12.03 kB / 407.3 MB, free: 30.68 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.1863, allocations: 0 / 407.3 MB, free: 30.68 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.1863, allocations: 4.094 kB / 407.3 MB, free: 30.68 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1863, allocations: 7.922 kB / 407.3 MB, free: 30.67 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002893/0.1866, allocations: 365.8 kB / 407.6 MB, free: 30.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.1866, allocations: 4.312 kB / 407.6 MB, free: 30.24 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.562e-05/0.1867, allocations: 16.09 kB / 407.7 MB, free: 30.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.795e-05/0.1868, allocations: 24.78 kB / 407.7 MB, free: 30.2 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.1868, allocations: 4 kB / 407.7 MB, free: 30.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005183/0.1873, allocations: 1.375 MB / 409.1 MB, free: 28.68 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1873, allocations: 0 / 409.1 MB, free: 28.68 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001516/0.1875, allocations: 231 kB / 409.3 MB, free: 28.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.348e-05/0.1875, allocations: 85.12 kB / 409.4 MB, free: 28.33 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.798e-06/0.1875, allocations: 4 kB / 409.4 MB, free: 28.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.001e-05/0.1876, allocations: 11.88 kB / 409.4 MB, free: 28.31 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.525e-05/0.1876, allocations: 11.92 kB / 409.4 MB, free: 28.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.1876, allocations: 0 / 409.4 MB, free: 28.3 MB / 302.1 MB Notification: Performance of sorting global known variables: time 1.635e-05/0.1876, allocations: 83.28 kB / 409.5 MB, free: 28.22 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1876, allocations: 0 / 409.5 MB, free: 28.22 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000242/0.1879, allocations: 8 kB / 409.5 MB, free: 28.21 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.916e-05/0.1879, allocations: 103.3 kB / 409.6 MB, free: 28.1 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002114/0.1882, allocations: 170.5 kB / 409.7 MB, free: 27.92 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1882, allocations: 0 / 409.7 MB, free: 27.92 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.1883, allocations: 146.6 kB / 409.9 MB, free: 27.77 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.1885, allocations: 4.188 kB / 409.9 MB, free: 27.76 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002189/0.1887, allocations: 176.8 kB / 410.1 MB, free: 27.55 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.049e-05/0.1888, allocations: 0.6851 MB / 410.8 MB, free: 26.84 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.531e-05/0.1889, allocations: 3.984 kB / 410.8 MB, free: 26.84 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.494e-05/0.1889, allocations: 11.44 kB / 410.8 MB, free: 26.83 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1889, allocations: 4 kB / 410.8 MB, free: 26.82 MB / 302.1 MB Notification: Performance of Templates: time 0.002358/0.1912, allocations: 0.678 MB / 411.4 MB, free: 26.2 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 gbode -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe 2>&1)