Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.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.TwoMassesEquationsReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 103.9 kB / 16.35 MB, free: 5.828 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.00129/0.00129, allocations: 190.5 kB / 17.29 MB, free: 5.484 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.14 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.002554/0.002554, allocations: 0.5604 MB / 291.7 MB, free: 14.19 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 63.89 kB / 353 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1825, allocations: 49.59 MB / 402.6 MB, free: 35.87 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial): time 0.001435/0.184, allocations: 0.5205 MB / 403.1 MB, free: 35.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001298/0.1841, allocations: 23.91 kB / 403.1 MB, free: 35.35 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.159e-05/0.1841, allocations: 3.938 kB / 403.1 MB, free: 35.35 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.105e-05/0.1842, allocations: 0 / 403.1 MB, free: 35.35 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 2.636e-05/0.1842, allocations: 0 / 403.1 MB, free: 35.35 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001032/0.1843, allocations: 15.92 kB / 403.1 MB, free: 35.33 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 4.677e-05/0.1844, allocations: 15.98 kB / 403.2 MB, free: 35.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.586e-05/0.1844, allocations: 0 / 403.2 MB, free: 35.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.538e-05/0.1844, allocations: 7.938 kB / 403.2 MB, free: 35.31 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.081e-05/0.1845, allocations: 23.56 kB / 403.2 MB, free: 35.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.1845, allocations: 0 / 403.2 MB, free: 35.29 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.805e-06/0.1845, allocations: 4 kB / 403.2 MB, free: 35.29 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.416e-05/0.1845, allocations: 0 / 403.2 MB, free: 35.29 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.142e-05/0.1846, allocations: 19.86 kB / 403.2 MB, free: 35.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 4.519e-05/0.1846, allocations: 3.938 kB / 403.2 MB, free: 35.26 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1846, allocations: 0 / 403.2 MB, free: 35.26 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1846, allocations: 4 kB / 403.2 MB, free: 35.26 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.1846, allocations: 0 / 403.2 MB, free: 35.26 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.0002661/0.1849, allocations: 333.1 kB / 403.5 MB, free: 34.88 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.1849, allocations: 12.03 kB / 403.6 MB, free: 34.87 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.463e-05/0.185, allocations: 0.9375 kB / 403.6 MB, free: 34.87 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.531e-05/0.185, allocations: 166.2 kB / 403.7 MB, free: 34.67 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.1851, allocations: 8.312 kB / 403.7 MB, free: 34.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.1851, allocations: 8.375 kB / 403.7 MB, free: 34.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.214e-05/0.1852, allocations: 42.25 kB / 403.8 MB, free: 34.61 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.1852, allocations: 192 / 403.8 MB, free: 34.61 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.1852, allocations: 3.938 kB / 403.8 MB, free: 34.61 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-06/0.1852, allocations: 3.984 kB / 403.8 MB, free: 34.6 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.188e-05/0.1853, allocations: 12 kB / 403.8 MB, free: 34.59 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002698/0.1855, allocations: 298.4 kB / 404.1 MB, free: 34.25 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.868e-05/0.1856, allocations: 54.44 kB / 404.1 MB, free: 34.18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.005e-05/0.1856, allocations: 8.859 kB / 404.2 MB, free: 34.17 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/0.1857, allocations: 0 / 404.2 MB, free: 34.17 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.598e-06/0.1857, allocations: 30.56 kB / 404.2 MB, free: 34.13 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.1857, allocations: 0 / 404.2 MB, free: 34.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003126/0.186, allocations: 163.7 kB / 404.3 MB, free: 33.95 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.801e-05/0.186, allocations: 59.41 kB / 404.4 MB, free: 33.88 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.124e-05/0.1861, allocations: 102 kB / 404.5 MB, free: 33.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.563e-06/0.1861, allocations: 25.7 kB / 404.5 MB, free: 33.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.129e-05/0.1861, allocations: 91.98 kB / 404.6 MB, free: 33.64 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.412e-05/0.1861, allocations: 11.81 kB / 404.6 MB, free: 33.63 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.613e-05/0.1862, allocations: 21.7 kB / 404.6 MB, free: 33.6 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.644e-05/0.1862, allocations: 318.8 kB / 405 MB, free: 33.28 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.724e-05/0.1862, allocations: 8 kB / 405 MB, free: 33.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.14e-05/0.1862, allocations: 25.7 kB / 405 MB, free: 33.24 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.828e-05/0.1863, allocations: 33.66 kB / 405 MB, free: 33.2 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1863, allocations: 0 / 405 MB, free: 33.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001059/0.1864, allocations: 74.47 kB / 405.1 MB, free: 33.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.1864, allocations: 4 kB / 405.1 MB, free: 33.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.1864, allocations: 4 kB / 405.1 MB, free: 33.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001104/0.1865, allocations: 20.89 kB / 405.1 MB, free: 33.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.452e-05/0.1866, allocations: 7.984 kB / 405.1 MB, free: 33.08 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005828/0.1872, allocations: 1.347 MB / 406.5 MB, free: 31.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.054e-05/0.1872, allocations: 7.906 kB / 406.5 MB, free: 31.58 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.1872, allocations: 4.031 kB / 406.5 MB, free: 31.58 MB / 302.1 MB 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 (5): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 4.909e-05/0.1873, allocations: 114.4 kB / 406.6 MB, free: 31.46 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.407e-05/0.1873, allocations: 7.938 kB / 406.6 MB, free: 31.45 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.526e-05/0.1873, allocations: 11.59 kB / 406.6 MB, free: 31.44 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.1873, allocations: 0 / 406.6 MB, free: 31.44 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.1873, allocations: 0 / 406.6 MB, free: 31.44 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1874, allocations: 0 / 406.6 MB, free: 31.44 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.1875, allocations: 161.6 kB / 406.8 MB, free: 31.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1875, allocations: 3.984 kB / 406.8 MB, free: 31.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.366e-05/0.1875, allocations: 4 kB / 406.8 MB, free: 31.22 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-05/0.1876, allocations: 24.78 kB / 406.8 MB, free: 31.2 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.1876, allocations: 0 / 406.8 MB, free: 31.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00049/0.1881, allocations: 1.344 MB / 408.2 MB, free: 29.71 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1881, allocations: 3.938 kB / 408.2 MB, free: 29.71 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.1882, allocations: 168.4 kB / 408.3 MB, free: 29.52 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.273e-05/0.1882, allocations: 85.05 kB / 408.4 MB, free: 29.42 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.687e-06/0.1883, allocations: 7.938 kB / 408.4 MB, free: 29.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.915e-05/0.1883, allocations: 0 / 408.4 MB, free: 29.41 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.763e-05/0.1883, allocations: 7.984 kB / 408.4 MB, free: 29.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.1883, allocations: 4.125 kB / 408.4 MB, free: 29.4 MB / 302.1 MB Notification: Performance of sorting global known variables: time 1.507e-05/0.1884, allocations: 79.22 kB / 408.5 MB, free: 29.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1884, allocations: 0 / 408.5 MB, free: 29.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002296/0.1886, allocations: 12 kB / 408.5 MB, free: 29.31 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (x1,v1) * 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 (3): * Single equations (assignments): 2 * 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.354e-05/0.1887, allocations: 95.19 kB / 408.6 MB, free: 29.21 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001894/0.1889, allocations: 138.7 kB / 408.7 MB, free: 29.06 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1889, allocations: 4.062 kB / 408.7 MB, free: 29.05 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.074e-05/0.189, allocations: 126.7 kB / 408.9 MB, free: 28.92 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001948/0.1892, allocations: 3.938 kB / 408.9 MB, free: 28.91 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002004/0.1894, allocations: 150.1 kB / 409 MB, free: 28.74 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.399e-05/0.1895, allocations: 0.6807 MB / 409.7 MB, free: 28.04 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.447e-05/0.1895, allocations: 0 / 409.7 MB, free: 28.04 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.203e-05/0.1895, allocations: 11.44 kB / 409.7 MB, free: 28.02 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1895, allocations: 4 kB / 409.7 MB, free: 28.02 MB / 302.1 MB Notification: Performance of Templates: time 0.002215/0.1917, allocations: 0.5336 MB / 410.3 MB, free: 27.54 MB / 302.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe 2>&1)