Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.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.TwoMassesEquationsReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001462/0.001463, allocations: 117.1 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.001651/0.001651, allocations: 190.9 kB / 17.31 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.327/1.327, allocations: 222.9 MB / 241 MB, free: 15.16 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.002597/0.002598, allocations: 0.5663 MB / 291.7 MB, free: 14.19 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 67.89 kB / 353 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.1763, allocations: 49.6 MB / 402.6 MB, free: 35.88 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState): time 0.001363/0.1777, allocations: 0.5115 MB / 403.1 MB, free: 35.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000125/0.1778, allocations: 27.89 kB / 403.1 MB, free: 35.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.056e-05/0.1778, allocations: 0 / 403.1 MB, free: 35.36 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.027e-05/0.1779, allocations: 0 / 403.1 MB, free: 35.36 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 2.845e-05/0.1779, allocations: 5.469 kB / 403.1 MB, free: 35.36 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.66e-05/0.178, allocations: 4 kB / 403.1 MB, free: 35.35 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 4.214e-05/0.178, allocations: 19.97 kB / 403.2 MB, free: 35.33 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.337e-05/0.1781, allocations: 3.938 kB / 403.2 MB, free: 35.33 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.595e-05/0.1781, allocations: 15.98 kB / 403.2 MB, free: 35.31 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.905e-05/0.1782, allocations: 7.938 kB / 403.2 MB, free: 35.3 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.1782, allocations: 0 / 403.2 MB, free: 35.3 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.435e-06/0.1782, allocations: 4 kB / 403.2 MB, free: 35.3 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.348e-05/0.1782, allocations: 7.984 kB / 403.2 MB, free: 35.29 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.353e-05/0.1782, allocations: 11.92 kB / 403.2 MB, free: 35.28 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 4.5e-05/0.1783, allocations: 11.92 kB / 403.2 MB, free: 35.27 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.1783, allocations: 0 / 403.2 MB, free: 35.27 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1783, allocations: 0 / 403.2 MB, free: 35.27 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.705e-06/0.1783, allocations: 3.938 kB / 403.2 MB, free: 35.27 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.0002633/0.1786, allocations: 339.5 kB / 403.6 MB, free: 34.88 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.822e-05/0.1786, allocations: 11.89 kB / 403.6 MB, free: 34.87 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.666e-05/0.1787, allocations: 0.9375 kB / 403.6 MB, free: 34.87 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.101e-05/0.1787, allocations: 174.2 kB / 403.7 MB, free: 34.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.739e-06/0.1787, allocations: 384 / 403.7 MB, free: 34.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.309e-05/0.1788, allocations: 4.375 kB / 403.7 MB, free: 34.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.147e-05/0.1789, allocations: 46.25 kB / 403.8 MB, free: 34.61 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.1789, allocations: 192 / 403.8 MB, free: 34.61 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.1789, allocations: 3.938 kB / 403.8 MB, free: 34.61 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1789, allocations: 4 kB / 403.8 MB, free: 34.6 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.339e-05/0.1789, allocations: 19.92 kB / 403.8 MB, free: 34.58 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002709/0.1792, allocations: 298.4 kB / 404.1 MB, free: 34.24 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.566e-05/0.1793, allocations: 38.52 kB / 404.2 MB, free: 34.19 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.082e-05/0.1793, allocations: 16.94 kB / 404.2 MB, free: 34.17 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.034e-06/0.1793, allocations: 0 / 404.2 MB, free: 34.17 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.079e-05/0.1793, allocations: 38.56 kB / 404.2 MB, free: 34.12 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.1793, allocations: 7.875 kB / 404.2 MB, free: 34.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003071/0.1797, allocations: 155.6 kB / 404.4 MB, free: 33.94 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.762e-05/0.1797, allocations: 51.41 kB / 404.4 MB, free: 33.88 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.883e-05/0.1797, allocations: 97.86 kB / 404.5 MB, free: 33.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.372e-06/0.1797, allocations: 29.64 kB / 404.5 MB, free: 33.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.218e-05/0.1798, allocations: 92.03 kB / 404.6 MB, free: 33.64 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.345e-05/0.1798, allocations: 19.8 kB / 404.6 MB, free: 33.62 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.55e-05/0.1798, allocations: 17.72 kB / 404.7 MB, free: 33.6 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.231e-05/0.1799, allocations: 318.8 kB / 405 MB, free: 33.28 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.767e-05/0.1799, allocations: 11.94 kB / 405 MB, free: 33.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.332e-05/0.1799, allocations: 21.72 kB / 405 MB, free: 33.24 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.785e-05/0.1799, allocations: 33.7 kB / 405 MB, free: 33.2 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.18, allocations: 4 kB / 405 MB, free: 33.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.014e-05/0.18, allocations: 61.62 kB / 405.1 MB, free: 33.13 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/0.18, allocations: 8 kB / 405.1 MB, free: 33.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.1801, allocations: 0 / 405.1 MB, free: 33.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.1801, allocations: 0 / 405.1 MB, free: 33.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.623e-05/0.1801, allocations: 12.42 kB / 405.1 MB, free: 33.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.1802, allocations: 0 / 405.1 MB, free: 33.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.858e-05/0.1802, allocations: 0 / 405.1 MB, free: 33.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.1802, allocations: 4 kB / 405.1 MB, free: 33.11 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.775e-05/0.1802, allocations: 121.8 kB / 405.2 MB, free: 32.98 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/0.1803, allocations: 7.906 kB / 405.3 MB, free: 32.97 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.06e-05/0.1803, allocations: 3.5 kB / 405.3 MB, free: 32.96 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1803, allocations: 7.922 kB / 405.3 MB, free: 32.95 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1803, allocations: 0 / 405.3 MB, free: 32.95 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.1803, allocations: 0 / 405.3 MB, free: 32.95 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001017/0.1804, allocations: 169.5 kB / 405.4 MB, free: 32.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1804, allocations: 0 / 405.4 MB, free: 32.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.357e-05/0.1805, allocations: 4 kB / 405.4 MB, free: 32.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001053/0.1806, allocations: 20.84 kB / 405.5 MB, free: 32.71 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.1806, allocations: 0 / 405.5 MB, free: 32.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005364/0.1811, allocations: 1.347 MB / 406.8 MB, free: 31.22 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1811, allocations: 0 / 406.8 MB, free: 31.22 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.1813, allocations: 176.2 kB / 407 MB, free: 31.03 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.228e-05/0.1813, allocations: 85.08 kB / 407.1 MB, free: 30.93 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.605e-06/0.1813, allocations: 0 / 407.1 MB, free: 30.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.109e-05/0.1814, allocations: 4.156 kB / 407.1 MB, free: 30.93 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.596e-05/0.1814, allocations: 3.938 kB / 407.1 MB, free: 30.92 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-06/0.1814, allocations: 7.984 kB / 407.1 MB, free: 30.91 MB / 302.1 MB Notification: Performance of sorting global known variables: time 1.569e-05/0.1814, allocations: 79.28 kB / 407.2 MB, free: 30.84 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1814, allocations: 0 / 407.2 MB, free: 30.84 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002257/0.1816, allocations: 8 kB / 407.2 MB, free: 30.83 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 4.985e-05/0.1817, allocations: 95.19 kB / 407.3 MB, free: 30.72 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 7.531e-05/0.1818, allocations: 27.98 kB / 407.3 MB, free: 30.7 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1818, allocations: 0 / 407.3 MB, free: 30.7 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.1819, allocations: 134.6 kB / 407.4 MB, free: 30.55 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/0.1821, allocations: 7.922 kB / 407.4 MB, free: 30.54 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001634/0.1823, allocations: 138.6 kB / 407.6 MB, free: 30.38 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.601e-05/0.1824, allocations: 0.6768 MB / 408.2 MB, free: 29.68 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.539e-05/0.1824, allocations: 12.05 kB / 408.2 MB, free: 29.67 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.459e-05/0.1824, allocations: 7.438 kB / 408.3 MB, free: 29.66 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1824, allocations: 0 / 408.3 MB, free: 29.66 MB / 302.1 MB Notification: Performance of Templates: time 0.002137/0.1846, allocations: 476.2 kB / 408.7 MB, free: 29.25 MB / 302.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe 2>&1)