Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.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.TwoMassesReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 101.6 kB / 16.35 MB, free: 5.875 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.001022/0.001022, allocations: 199.1 kB / 17.3 MB, free: 5.516 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.279/1.279, allocations: 222.9 MB / 241 MB, free: 14.99 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.002585/0.002585, allocations: 0.5659 MB / 291.7 MB, free: 14.17 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 63.89 kB / 353 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.1804, allocations: 49.59 MB / 402.6 MB, free: 35.87 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.002088/0.1825, allocations: 1.65 MB / 404.2 MB, free: 34.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001969/0.1827, allocations: 91.69 kB / 404.3 MB, free: 34.14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.844e-05/0.1828, allocations: 4 kB / 404.3 MB, free: 34.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.05e-05/0.1828, allocations: 15.86 kB / 404.3 MB, free: 34.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.573e-05/0.1829, allocations: 32.3 kB / 404.4 MB, free: 34.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.725e-05/0.183, allocations: 27.58 kB / 404.4 MB, free: 34.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.802e-05/0.1831, allocations: 107.5 kB / 404.5 MB, free: 33.96 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.1832, allocations: 31.97 kB / 404.5 MB, free: 33.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.528e-05/0.1833, allocations: 35.92 kB / 404.6 MB, free: 33.89 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.018e-05/0.1834, allocations: 47.78 kB / 404.6 MB, free: 33.85 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.1834, allocations: 8 kB / 404.6 MB, free: 33.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.578e-05/0.1834, allocations: 8 kB / 404.6 MB, free: 33.83 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.88e-05/0.1834, allocations: 23.91 kB / 404.6 MB, free: 33.81 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.05e-05/0.1835, allocations: 48.98 kB / 404.7 MB, free: 33.76 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.494e-05/0.1836, allocations: 109.3 kB / 404.8 MB, free: 33.66 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1836, allocations: 0 / 404.8 MB, free: 33.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1836, allocations: 4 kB / 404.8 MB, free: 33.66 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.1836, allocations: 3.938 kB / 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.00035/0.1839, allocations: 395.4 kB / 405.2 MB, free: 33.21 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.707e-05/0.184, allocations: 11.89 kB / 405.2 MB, free: 33.2 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.021e-05/0.184, allocations: 16.75 kB / 405.2 MB, free: 33.19 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.1841, allocations: 180.3 kB / 405.4 MB, free: 32.97 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.1841, allocations: 12.5 kB / 405.4 MB, free: 32.96 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.5e-05/0.1842, allocations: 16.28 kB / 405.4 MB, free: 32.95 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.1843, allocations: 96.02 kB / 405.5 MB, free: 32.85 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.1843, allocations: 4 kB / 405.5 MB, free: 32.84 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.1843, allocations: 4 kB / 405.5 MB, free: 32.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1843, allocations: 4 kB / 405.5 MB, free: 32.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.745e-05/0.1844, allocations: 55.95 kB / 405.6 MB, free: 32.78 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003708/0.1848, allocations: 388.5 kB / 406 MB, free: 32.35 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.185, allocations: 110.4 kB / 406.1 MB, free: 32.23 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.559e-05/0.185, allocations: 32.86 kB / 406.1 MB, free: 32.2 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.185, allocations: 0 / 406.1 MB, free: 32.2 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.073e-05/0.185, allocations: 42.5 kB / 406.2 MB, free: 32.15 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 9.22e-07/0.1851, allocations: 0 / 406.2 MB, free: 32.15 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007813/0.1858, allocations: 0.6861 MB / 406.8 MB, free: 31.37 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.565e-05/0.1859, allocations: 55.34 kB / 406.9 MB, free: 31.3 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.964e-05/0.1859, allocations: 121.8 kB / 407 MB, free: 31.17 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.1859, allocations: 29.7 kB / 407 MB, free: 31.14 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.075e-05/0.186, allocations: 100.3 kB / 407.1 MB, free: 31.03 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.186, allocations: 51.27 kB / 407.2 MB, free: 30.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.799e-05/0.1861, allocations: 37.7 kB / 407.2 MB, free: 30.94 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.358e-05/0.1861, allocations: 318.8 kB / 407.5 MB, free: 30.62 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.708e-05/0.1861, allocations: 35.94 kB / 407.6 MB, free: 30.58 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.969e-05/0.1862, allocations: 59.06 kB / 407.6 MB, free: 30.52 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/0.1863, allocations: 102.3 kB / 407.7 MB, free: 30.41 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1863, allocations: 0 / 407.7 MB, free: 30.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001982/0.1865, allocations: 170.3 kB / 407.9 MB, free: 30.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.788e-06/0.1865, allocations: 8 kB / 407.9 MB, free: 30.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1866, allocations: 0 / 407.9 MB, free: 30.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001051/0.1867, allocations: 32.78 kB / 407.9 MB, free: 30.19 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.1868, allocations: 23.98 kB / 408 MB, free: 30.17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007416/0.1875, allocations: 1.619 MB / 409.6 MB, free: 28.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.668e-05/0.1876, allocations: 0 / 409.6 MB, free: 28.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.986e-06/0.1876, allocations: 8.031 kB / 409.6 MB, free: 28.39 MB / 302.1 MB 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 5.811e-05/0.1877, allocations: 141.7 kB / 409.7 MB, free: 28.25 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.016e-05/0.1877, allocations: 11.89 kB / 409.7 MB, free: 28.23 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.92e-05/0.1877, allocations: 20.78 kB / 409.8 MB, free: 28.21 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1877, allocations: 0 / 409.8 MB, free: 28.21 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.1877, allocations: 0 / 409.8 MB, free: 28.21 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1878, allocations: 0 / 409.8 MB, free: 28.21 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004356/0.1882, allocations: 0.5401 MB / 410.3 MB, free: 27.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.1882, allocations: 4 kB / 410.3 MB, free: 27.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.1883, allocations: 27.92 kB / 410.3 MB, free: 27.56 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-05/0.1884, allocations: 20.84 kB / 410.3 MB, free: 27.54 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.1884, allocations: 7.938 kB / 410.4 MB, free: 27.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005128/0.1889, allocations: 1.363 MB / 411.7 MB, free: 26.03 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1889, allocations: 4.156 kB / 411.7 MB, free: 26.02 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002331/0.1892, allocations: 305.8 kB / 412 MB, free: 25.7 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.031e-05/0.1892, allocations: 89.08 kB / 412.1 MB, free: 25.59 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.1892, allocations: 4 kB / 412.1 MB, free: 25.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.88e-05/0.1893, allocations: 12.06 kB / 412.1 MB, free: 25.58 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.431e-05/0.1893, allocations: 15.92 kB / 412.1 MB, free: 25.56 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.1893, allocations: 4 kB / 412.1 MB, free: 25.56 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.02e-05/0.1894, allocations: 96.8 kB / 412.2 MB, free: 25.46 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1894, allocations: 0 / 412.2 MB, free: 25.46 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002991/0.1897, allocations: 32 kB / 412.3 MB, free: 25.43 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass1.s,mass1.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.942e-05/0.1898, allocations: 103.2 kB / 412.4 MB, free: 25.32 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002816/0.19, allocations: 226.5 kB / 412.6 MB, free: 25.09 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1901, allocations: 0 / 412.6 MB, free: 25.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.1902, allocations: 170.5 kB / 412.8 MB, free: 24.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/0.1905, allocations: 18.48 kB / 412.8 MB, free: 24.89 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004647/0.191, allocations: 405.8 kB / 413.2 MB, free: 24.46 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.398e-05/0.1911, allocations: 0.7084 MB / 413.9 MB, free: 23.73 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.944e-05/0.1911, allocations: 9.078 kB / 413.9 MB, free: 23.72 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.316e-05/0.1912, allocations: 15.44 kB / 413.9 MB, free: 23.71 MB / 302.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1912, allocations: 0 / 413.9 MB, free: 23.71 MB / 302.1 MB Notification: Performance of Templates: time 0.003177/0.1944, allocations: 1.365 MB / 415.3 MB, free: 22.39 MB / 302.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe 2>&1)