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.001067/0.001067, allocations: 115.8 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.001017/0.001017, allocations: 193.4 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.312/1.312, 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.002597, allocations: 0.579 MB / 291.7 MB, free: 14.18 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 63.89 kB / 353 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2113, allocations: 49.6 MB / 402.6 MB, free: 35.87 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState): time 0.001467/0.2128, allocations: 0.51 MB / 403.1 MB, free: 35.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000131/0.2129, allocations: 35.89 kB / 403.1 MB, free: 35.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.018e-05/0.213, allocations: 0 / 403.1 MB, free: 35.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.08e-05/0.213, allocations: 0 / 403.1 MB, free: 35.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 2.901e-05/0.213, allocations: 3.938 kB / 403.1 MB, free: 35.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001029/0.2131, allocations: 7.969 kB / 403.1 MB, free: 35.33 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 4.39e-05/0.2132, allocations: 14.19 kB / 403.2 MB, free: 35.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.1e-05/0.2132, allocations: 11.92 kB / 403.2 MB, free: 35.31 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.893e-05/0.2132, allocations: 4 kB / 403.2 MB, free: 35.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.296e-05/0.2133, allocations: 15.92 kB / 403.2 MB, free: 35.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.2133, allocations: 0 / 403.2 MB, free: 35.29 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.283e-06/0.2133, allocations: 4 kB / 403.2 MB, free: 35.29 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.515e-05/0.2134, allocations: 7.984 kB / 403.2 MB, free: 35.28 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.16e-05/0.2134, allocations: 7.938 kB / 403.2 MB, free: 35.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 4.834e-05/0.2134, allocations: 12.67 kB / 403.2 MB, free: 35.26 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2134, allocations: 0 / 403.2 MB, free: 35.26 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.2134, allocations: 0 / 403.2 MB, free: 35.26 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.2135, allocations: 3.938 kB / 403.2 MB, free: 35.25 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.0002735/0.2137, allocations: 331.5 kB / 403.6 MB, free: 34.88 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.2138, allocations: 19.88 kB / 403.6 MB, free: 34.86 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.81e-05/0.2138, allocations: 0.9375 kB / 403.6 MB, free: 34.86 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.268e-05/0.2139, allocations: 166.2 kB / 403.7 MB, free: 34.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.2139, allocations: 12.38 kB / 403.7 MB, free: 34.65 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.2139, allocations: 384 / 403.7 MB, free: 34.65 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.026e-05/0.214, allocations: 42.25 kB / 403.8 MB, free: 34.6 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.214, allocations: 4.188 kB / 403.8 MB, free: 34.6 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.214, allocations: 7.938 kB / 403.8 MB, free: 34.59 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.214, allocations: 0 / 403.8 MB, free: 34.59 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.36e-05/0.2141, allocations: 15.92 kB / 403.8 MB, free: 34.57 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002708/0.2143, allocations: 302.3 kB / 404.1 MB, free: 34.23 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.883e-05/0.2144, allocations: 46.56 kB / 404.2 MB, free: 34.17 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.095e-05/0.2145, allocations: 16.84 kB / 404.2 MB, free: 34.15 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.003e-05/0.2145, allocations: 0 / 404.2 MB, free: 34.15 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.273e-05/0.2145, allocations: 30.56 kB / 404.2 MB, free: 34.11 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.2145, allocations: 7.875 kB / 404.2 MB, free: 34.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003136/0.2148, allocations: 159.7 kB / 404.4 MB, free: 33.92 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.108e-05/0.2148, allocations: 51.41 kB / 404.4 MB, free: 33.86 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.149e-05/0.2149, allocations: 105.8 kB / 404.5 MB, free: 33.75 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.643e-06/0.2149, allocations: 29.7 kB / 404.5 MB, free: 33.71 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.106e-05/0.2149, allocations: 84.05 kB / 404.6 MB, free: 33.62 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.257e-05/0.2149, allocations: 11.81 kB / 404.6 MB, free: 33.61 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.56e-05/0.215, allocations: 21.7 kB / 404.7 MB, free: 33.59 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.651e-05/0.215, allocations: 322.8 kB / 405 MB, free: 33.26 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.892e-05/0.215, allocations: 11.94 kB / 405 MB, free: 33.25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.277e-05/0.2151, allocations: 25.7 kB / 405 MB, free: 33.22 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.728e-05/0.2151, allocations: 29.72 kB / 405 MB, free: 33.18 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2151, allocations: 0 / 405 MB, free: 33.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 6.984e-05/0.2152, allocations: 61.62 kB / 405.1 MB, free: 33.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.2152, allocations: 4 kB / 405.1 MB, free: 33.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.2152, allocations: 4.031 kB / 405.1 MB, free: 33.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.2152, allocations: 4 kB / 405.1 MB, free: 33.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.813e-05/0.2153, allocations: 11.98 kB / 405.1 MB, free: 33.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.2153, allocations: 4 kB / 405.1 MB, free: 33.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.8e-05/0.2153, allocations: 0 / 405.1 MB, free: 33.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.2154, allocations: 0 / 405.1 MB, free: 33.09 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.817e-05/0.2154, allocations: 113.8 kB / 405.2 MB, free: 32.97 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.2154, allocations: 3.906 kB / 405.2 MB, free: 32.96 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.162e-05/0.2155, allocations: 7.5 kB / 405.3 MB, free: 32.95 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.2155, allocations: 11.94 kB / 405.3 MB, free: 32.94 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2155, allocations: 0 / 405.3 MB, free: 32.94 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.2155, allocations: 0 / 405.3 MB, free: 32.94 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.2156, allocations: 161.5 kB / 405.4 MB, free: 32.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2156, allocations: 3.984 kB / 405.4 MB, free: 32.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.199e-05/0.2156, allocations: 4 kB / 405.4 MB, free: 32.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001134/0.2157, allocations: 20.97 kB / 405.5 MB, free: 32.7 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.2158, allocations: 4 kB / 405.5 MB, free: 32.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005812/0.2163, allocations: 1.344 MB / 406.8 MB, free: 31.21 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2164, allocations: 4.156 kB / 406.8 MB, free: 31.21 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001175/0.2165, allocations: 176.3 kB / 407 MB, free: 31.02 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.186e-05/0.2165, allocations: 85.05 kB / 407.1 MB, free: 30.92 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.615e-06/0.2165, allocations: 0 / 407.1 MB, free: 30.92 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.888e-05/0.2166, allocations: 0 / 407.1 MB, free: 30.92 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.298e-05/0.2166, allocations: 11.95 kB / 407.1 MB, free: 30.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.2166, allocations: 0 / 407.1 MB, free: 30.91 MB / 302.1 MB Notification: Performance of sorting global known variables: time 1.618e-05/0.2166, allocations: 83.34 kB / 407.2 MB, free: 30.82 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2166, allocations: 0 / 407.2 MB, free: 30.82 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002217/0.2168, allocations: 8 kB / 407.2 MB, free: 30.82 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.253e-05/0.2169, allocations: 96.5 kB / 407.3 MB, free: 30.71 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 7.7e-05/0.217, allocations: 23.98 kB / 407.3 MB, free: 30.69 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.217, allocations: 3.938 kB / 407.3 MB, free: 30.68 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.2171, allocations: 134.7 kB / 407.4 MB, free: 30.54 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001979/0.2174, allocations: 11.94 kB / 407.4 MB, free: 30.53 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001724/0.2175, allocations: 130.2 kB / 407.6 MB, free: 30.38 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.128e-05/0.2176, allocations: 0.6846 MB / 408.2 MB, free: 29.66 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.622e-05/0.2177, allocations: 0 / 408.2 MB, free: 29.66 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.547e-05/0.2177, allocations: 11.44 kB / 408.2 MB, free: 29.65 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2177, allocations: 0 / 408.2 MB, free: 29.65 MB / 302.1 MB Notification: Performance of Templates: time 0.002159/0.2198, allocations: 481.2 kB / 408.7 MB, free: 29.23 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 cvode -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe 2>&1)