Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.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.TwoMassesFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent") translateModel(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 102.2 kB / 16.36 MB, free: 6.469 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.001517/0.001517, allocations: 191.8 kB / 17.31 MB, free: 5.824 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.378/1.378, allocations: 222.9 MB / 241 MB, free: 15.18 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.002593/0.002593, allocations: 0.5617 MB / 291.7 MB, free: 14.2 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 59.91 kB / 353 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.1793, allocations: 49.59 MB / 402.6 MB, free: 35.87 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent): time 0.002131/0.1814, allocations: 1.655 MB / 404.3 MB, free: 34.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000201/0.1817, allocations: 91.69 kB / 404.3 MB, free: 34.14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.93e-05/0.1817, allocations: 4 kB / 404.3 MB, free: 34.13 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.352e-05/0.1818, allocations: 15.86 kB / 404.4 MB, free: 34.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.978e-05/0.1819, allocations: 32.8 kB / 404.4 MB, free: 34.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001015/0.182, allocations: 27.72 kB / 404.4 MB, free: 34.06 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.783e-05/0.1821, allocations: 111.5 kB / 404.5 MB, free: 33.95 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.1822, allocations: 31.97 kB / 404.6 MB, free: 33.92 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.694e-05/0.1822, allocations: 35.92 kB / 404.6 MB, free: 33.89 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.139e-05/0.1823, allocations: 47.78 kB / 404.6 MB, free: 33.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.1823, allocations: 8 kB / 404.6 MB, free: 33.83 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.58e-05/0.1823, allocations: 8 kB / 404.7 MB, free: 33.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.031e-05/0.1824, allocations: 23.91 kB / 404.7 MB, free: 33.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.262e-05/0.1824, allocations: 48.48 kB / 404.7 MB, free: 33.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.743e-05/0.1825, allocations: 109.3 kB / 404.8 MB, free: 33.65 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1825, allocations: 4 kB / 404.8 MB, free: 33.65 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1825, allocations: 0 / 404.8 MB, free: 33.65 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.409e-06/0.1825, allocations: 0 / 404.8 MB, free: 33.65 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003639/0.1829, allocations: 399.4 kB / 405.2 MB, free: 33.21 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.833e-05/0.183, allocations: 15.89 kB / 405.2 MB, free: 33.19 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.411e-05/0.183, allocations: 12.75 kB / 405.3 MB, free: 33.18 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.1831, allocations: 188.2 kB / 405.4 MB, free: 32.96 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.1831, allocations: 12.56 kB / 405.5 MB, free: 32.95 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.1831, allocations: 12.28 kB / 405.5 MB, free: 32.93 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.1833, allocations: 97.91 kB / 405.6 MB, free: 32.83 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.1833, allocations: 0 / 405.6 MB, free: 32.83 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.1833, allocations: 4 kB / 405.6 MB, free: 32.83 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1833, allocations: 4 kB / 405.6 MB, free: 32.82 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.639e-05/0.1834, allocations: 52.91 kB / 405.6 MB, free: 32.77 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003854/0.1838, allocations: 396.5 kB / 406 MB, free: 32.34 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.184, allocations: 102.5 kB / 406.1 MB, free: 32.23 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.862e-05/0.184, allocations: 36.78 kB / 406.1 MB, free: 32.19 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.1841, allocations: 0 / 406.1 MB, free: 32.19 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.278e-05/0.1841, allocations: 38.56 kB / 406.2 MB, free: 32.14 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.022e-06/0.1841, allocations: 0 / 406.2 MB, free: 32.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008144/0.1849, allocations: 0.6949 MB / 406.9 MB, free: 31.36 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.693e-05/0.1849, allocations: 51.41 kB / 406.9 MB, free: 31.29 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.465e-05/0.185, allocations: 121.8 kB / 407 MB, free: 31.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.185, allocations: 29.7 kB / 407.1 MB, free: 31.13 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.088e-05/0.185, allocations: 96.31 kB / 407.2 MB, free: 31.03 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.1851, allocations: 59.19 kB / 407.2 MB, free: 30.97 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.994e-05/0.1851, allocations: 37.72 kB / 407.3 MB, free: 30.93 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.558e-05/0.1852, allocations: 318.8 kB / 407.6 MB, free: 30.61 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.109e-05/0.1852, allocations: 35.98 kB / 407.6 MB, free: 30.57 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.891e-05/0.1853, allocations: 63.2 kB / 407.7 MB, free: 30.5 MB / 302.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass1.v = $START.mass1.v ($START.mass2.v = $START.mass1.v) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass2.s = $START.mass2.s ($START.mass1.s + 0.5 * (mass1.L + mass2.L) = $START.mass2.s) Notification: Performance of analyzeInitialSystem (initialization): time 0.0005639/0.1859, allocations: 410.8 kB / 408.1 MB, free: 30.05 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1859, allocations: 0 / 408.1 MB, free: 30.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002106/0.1861, allocations: 164.6 kB / 408.2 MB, free: 29.89 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.1861, allocations: 8.031 kB / 408.2 MB, free: 29.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1861, allocations: 0 / 408.2 MB, free: 29.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001093/0.1862, allocations: 41.02 kB / 408.3 MB, free: 29.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.742e-05/0.1863, allocations: 20 kB / 408.3 MB, free: 29.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007573/0.1871, allocations: 1.623 MB / 409.9 MB, free: 28.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.9e-05/0.1872, allocations: 0 / 409.9 MB, free: 28.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.1872, allocations: 11.94 kB / 409.9 MB, free: 28.04 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: mass1.v = $START.mass1.v mass2.s = $START.mass2.s. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 15 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.039e-05/0.1872, allocations: 134.4 kB / 410.1 MB, free: 27.89 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.975e-05/0.1873, allocations: 8.047 kB / 410.1 MB, free: 27.89 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.98e-05/0.1873, allocations: 20.81 kB / 410.1 MB, free: 27.86 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1873, allocations: 7.938 kB / 410.1 MB, free: 27.86 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.1873, allocations: 0 / 410.1 MB, free: 27.86 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.1873, allocations: 0 / 410.1 MB, free: 27.86 MB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004574/0.1878, allocations: 0.5942 MB / 410.7 MB, free: 27.17 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.1878, allocations: 3.938 kB / 410.7 MB, free: 27.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.1879, allocations: 31.92 kB / 410.7 MB, free: 27.13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.637e-05/0.188, allocations: 16.86 kB / 410.7 MB, free: 27.11 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.188, allocations: 4 kB / 410.8 MB, free: 27.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005114/0.1885, allocations: 1.371 MB / 412.1 MB, free: 25.6 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1885, allocations: 0 / 412.1 MB, free: 25.6 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002409/0.1888, allocations: 302.8 kB / 412.4 MB, free: 25.28 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.036e-05/0.1888, allocations: 89.03 kB / 412.5 MB, free: 25.17 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.1888, allocations: 4 kB / 412.5 MB, free: 25.17 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.234e-05/0.1889, allocations: 7.938 kB / 412.5 MB, free: 25.16 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.108e-05/0.189, allocations: 16.05 kB / 412.5 MB, free: 25.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.189, allocations: 4 kB / 412.5 MB, free: 25.14 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.097e-05/0.189, allocations: 96.8 kB / 412.6 MB, free: 25.05 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.189, allocations: 0 / 412.6 MB, free: 25.05 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003162/0.1893, allocations: 28 kB / 412.7 MB, free: 25.02 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass2.s,mass2.v) * 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 (15): * Single equations (assignments): 14 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 5.637e-05/0.1894, allocations: 103.2 kB / 412.8 MB, free: 24.91 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003127/0.1897, allocations: 222.7 kB / 413 MB, free: 24.68 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1897, allocations: 4 kB / 413 MB, free: 24.67 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.1899, allocations: 174.4 kB / 413.1 MB, free: 24.49 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/0.1902, allocations: 19.98 kB / 413.2 MB, free: 24.47 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004723/0.1907, allocations: 398.7 kB / 413.6 MB, free: 24.05 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.681e-05/0.1908, allocations: 0.7046 MB / 414.3 MB, free: 23.32 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.14e-05/0.1908, allocations: 17.08 kB / 414.3 MB, free: 23.3 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.589e-05/0.1909, allocations: 11.44 kB / 414.3 MB, free: 23.29 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1909, allocations: 7.938 kB / 414.3 MB, free: 23.29 MB / 302.1 MB Notification: Performance of Templates: time 0.003349/0.1942, allocations: 1.442 MB / 415.7 MB, free: 21.9 MB / 302.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe 2>&1)