Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.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.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent") translateModel(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 111.5 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.001124/0.001124, allocations: 191.8 kB / 17.3 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.312/1.312, 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.002595/0.002595, allocations: 0.5686 MB / 291.7 MB, free: 14.2 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001235, allocations: 67.84 kB / 353 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1824, allocations: 49.59 MB / 402.6 MB, free: 36.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent): time 0.001449/0.1839, allocations: 0.5249 MB / 403.1 MB, free: 35.53 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001364/0.1841, allocations: 27.89 kB / 403.1 MB, free: 35.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.123e-05/0.1841, allocations: 0 / 403.1 MB, free: 35.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.123e-05/0.1841, allocations: 0 / 403.1 MB, free: 35.5 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 2.922e-05/0.1842, allocations: 3.938 kB / 403.1 MB, free: 35.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001019/0.1843, allocations: 5.438 kB / 403.2 MB, free: 35.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 4.485e-05/0.1843, allocations: 19.98 kB / 403.2 MB, free: 35.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.563e-05/0.1844, allocations: 3.984 kB / 403.2 MB, free: 35.47 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.684e-05/0.1844, allocations: 15.92 kB / 403.2 MB, free: 35.46 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.183e-05/0.1845, allocations: 15.92 kB / 403.2 MB, free: 35.44 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.1845, allocations: 0 / 403.2 MB, free: 35.44 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.404e-06/0.1845, allocations: 0 / 403.2 MB, free: 35.44 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.5e-05/0.1845, allocations: 8 kB / 403.2 MB, free: 35.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.408e-05/0.1845, allocations: 7.938 kB / 403.2 MB, free: 35.43 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 4.684e-05/0.1846, allocations: 15.91 kB / 403.2 MB, free: 35.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.1846, allocations: 4 kB / 403.2 MB, free: 35.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1846, allocations: 0 / 403.2 MB, free: 35.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.1846, allocations: 3.938 kB / 403.2 MB, free: 35.4 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.0002718/0.1849, allocations: 339.5 kB / 403.6 MB, free: 35.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.93e-05/0.1849, allocations: 11.89 kB / 403.6 MB, free: 35.01 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.499e-05/0.185, allocations: 4.938 kB / 403.6 MB, free: 35 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.542e-05/0.185, allocations: 162.2 kB / 403.8 MB, free: 34.81 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-06/0.185, allocations: 4.375 kB / 403.8 MB, free: 34.8 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.1851, allocations: 4.375 kB / 403.8 MB, free: 34.8 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.193e-05/0.1852, allocations: 46.25 kB / 403.8 MB, free: 34.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.1852, allocations: 192 / 403.8 MB, free: 34.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-06/0.1852, allocations: 3.938 kB / 403.8 MB, free: 34.75 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.1852, allocations: 4 kB / 403.8 MB, free: 34.74 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.566e-05/0.1852, allocations: 23.92 kB / 403.8 MB, free: 34.72 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002162/0.1855, allocations: 248.8 kB / 404.1 MB, free: 34.43 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.732e-05/0.1856, allocations: 54.62 kB / 404.1 MB, free: 34.36 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.881e-05/0.1856, allocations: 24.91 kB / 404.2 MB, free: 34.34 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.045e-06/0.1856, allocations: 0 / 404.2 MB, free: 34.34 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.121e-05/0.1856, allocations: 38.56 kB / 404.2 MB, free: 34.29 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.1856, allocations: 0 / 404.2 MB, free: 34.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005156/0.1861, allocations: 0.4942 MB / 404.7 MB, free: 33.7 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.758e-05/0.1862, allocations: 59.28 kB / 404.7 MB, free: 33.63 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.951e-05/0.1862, allocations: 101.8 kB / 404.8 MB, free: 33.52 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.833e-06/0.1862, allocations: 29.7 kB / 404.9 MB, free: 33.48 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.453e-05/0.1862, allocations: 80.14 kB / 405 MB, free: 33.4 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.096e-05/0.1863, allocations: 27.56 kB / 405 MB, free: 33.38 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.013e-05/0.1863, allocations: 29.7 kB / 405 MB, free: 33.34 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.265e-05/0.1863, allocations: 318.8 kB / 405.3 MB, free: 33.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.509e-05/0.1864, allocations: 15.98 kB / 405.3 MB, free: 33 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.942e-05/0.1864, allocations: 33.66 kB / 405.4 MB, free: 32.96 MB / 302.1 MB Error: The initialization problem is inconsistent due to the following equation: x1 = 0.0 (1.0 = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.0002472/0.1867, allocations: 252.6 kB / 405.6 MB, free: 32.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1867, allocations: 3.984 kB / 405.6 MB, free: 32.67 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001292/0.1868, allocations: 102.8 kB / 405.7 MB, free: 32.56 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.1868, allocations: 7.984 kB / 405.7 MB, free: 32.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.1868, allocations: 0 / 405.7 MB, free: 32.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.426e-05/0.1869, allocations: 24.8 kB / 405.8 MB, free: 32.53 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.516e-05/0.187, allocations: 15.98 kB / 405.8 MB, free: 32.51 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006179/0.1876, allocations: 1.379 MB / 407.1 MB, free: 30.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.264e-05/0.1877, allocations: 8.094 kB / 407.2 MB, free: 30.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.1877, allocations: 0 / 407.2 MB, free: 30.98 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 5.887e-05/0.1877, allocations: 119.5 kB / 407.3 MB, free: 30.85 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/0.1878, allocations: 4 kB / 407.3 MB, free: 30.85 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.794e-05/0.1878, allocations: 7.969 kB / 407.3 MB, free: 30.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.1878, allocations: 0 / 407.3 MB, free: 30.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.073e-06/0.1878, allocations: 0 / 407.3 MB, free: 30.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.1878, allocations: 8.172 kB / 407.3 MB, free: 30.83 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003042/0.1881, allocations: 373.7 kB / 407.7 MB, free: 30.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.1881, allocations: 0 / 407.7 MB, free: 30.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.827e-05/0.1882, allocations: 11.94 kB / 407.7 MB, free: 30.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.044e-05/0.1883, allocations: 28.77 kB / 407.7 MB, free: 30.35 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.1883, allocations: 4 kB / 407.7 MB, free: 30.35 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005313/0.1888, allocations: 1.383 MB / 409.1 MB, free: 28.83 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1888, allocations: 4 kB / 409.1 MB, free: 28.82 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001573/0.189, allocations: 230.7 kB / 409.3 MB, free: 28.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.41e-05/0.189, allocations: 77.11 kB / 409.4 MB, free: 28.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.809e-06/0.189, allocations: 4.031 kB / 409.4 MB, free: 28.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.083e-05/0.1891, allocations: 12.09 kB / 409.4 MB, free: 28.46 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.22e-05/0.1891, allocations: 11.92 kB / 409.4 MB, free: 28.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.1891, allocations: 4 kB / 409.4 MB, free: 28.45 MB / 302.1 MB Notification: Performance of sorting global known variables: time 1.752e-05/0.1892, allocations: 83.28 kB / 409.5 MB, free: 28.36 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1892, allocations: 0 / 409.5 MB, free: 28.36 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002465/0.1894, allocations: 12 kB / 409.5 MB, free: 28.35 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.351e-05/0.1895, allocations: 103.1 kB / 409.6 MB, free: 28.24 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002179/0.1897, allocations: 170.9 kB / 409.8 MB, free: 28.06 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1897, allocations: 0 / 409.8 MB, free: 28.06 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.1898, allocations: 142.6 kB / 409.9 MB, free: 27.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/0.1901, allocations: 11.52 kB / 409.9 MB, free: 27.9 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002264/0.1903, allocations: 178.3 kB / 410.1 MB, free: 27.7 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.668e-05/0.1904, allocations: 0.6812 MB / 410.8 MB, free: 26.99 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.779e-05/0.1904, allocations: 7.984 kB / 410.8 MB, free: 26.98 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.56e-05/0.1905, allocations: 11.44 kB / 410.8 MB, free: 26.97 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1905, allocations: 0 / 410.8 MB, free: 26.97 MB / 302.1 MB Notification: Performance of Templates: time 0.002448/0.1929, allocations: 0.6869 MB / 411.5 MB, free: 26.34 MB / 302.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe 2>&1)