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.002059/0.002059, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.002323/0.002323, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.834/1.834, allocations: 222.9 MB / 240.9 MB, free: 15.22 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.003507/0.003507, allocations: 0.5679 MB / 291.6 MB, free: 14.24 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 67.89 kB / 352.2 MB, free: 1.602 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3199, allocations: 49.58 MB / 401.8 MB, free: 36.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState): time 0.001874/0.3219, allocations: 0.5136 MB / 402.3 MB, free: 35.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000159/0.3221, allocations: 29.61 kB / 402.4 MB, free: 35.49 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.705e-05/0.3221, allocations: 0 / 402.4 MB, free: 35.49 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.784e-05/0.3221, allocations: 0 / 402.4 MB, free: 35.49 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.04e-05/0.3222, allocations: 3.938 kB / 402.4 MB, free: 35.49 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001348/0.3223, allocations: 8.688 kB / 402.4 MB, free: 35.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.341e-05/0.3224, allocations: 15.97 kB / 402.4 MB, free: 35.46 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.846e-05/0.3224, allocations: 4 kB / 402.4 MB, free: 35.46 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.099e-05/0.3225, allocations: 11.94 kB / 402.4 MB, free: 35.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.641e-05/0.3225, allocations: 11.92 kB / 402.4 MB, free: 35.44 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.3226, allocations: 0 / 402.4 MB, free: 35.44 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.969e-06/0.3226, allocations: 7.938 kB / 402.4 MB, free: 35.43 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.831e-05/0.3226, allocations: 4 kB / 402.4 MB, free: 35.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.154e-05/0.3226, allocations: 15.91 kB / 402.4 MB, free: 35.41 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 5.884e-05/0.3227, allocations: 15.92 kB / 402.5 MB, free: 35.39 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3227, allocations: 0 / 402.5 MB, free: 35.39 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3227, allocations: 0 / 402.5 MB, free: 35.39 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.3227, allocations: 4 kB / 402.5 MB, free: 35.39 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.0003541/0.3231, allocations: 333.5 kB / 402.8 MB, free: 35.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.3231, allocations: 11.89 kB / 402.8 MB, free: 35 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.358e-05/0.3232, allocations: 0.9375 kB / 402.8 MB, free: 35 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.647e-05/0.3233, allocations: 164.4 kB / 403 MB, free: 34.8 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.3233, allocations: 384 / 403 MB, free: 34.8 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.445e-05/0.3234, allocations: 12.36 kB / 403 MB, free: 34.79 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.3235, allocations: 42.25 kB / 403 MB, free: 34.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.3235, allocations: 192 / 403 MB, free: 34.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.3235, allocations: 7.938 kB / 403 MB, free: 34.74 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.3236, allocations: 0 / 403 MB, free: 34.74 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.521e-05/0.3236, allocations: 19.92 kB / 403 MB, free: 34.72 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003747/0.324, allocations: 290.5 kB / 403.3 MB, free: 34.38 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.583e-05/0.3241, allocations: 42.5 kB / 403.4 MB, free: 34.33 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.367e-05/0.3241, allocations: 16.94 kB / 403.4 MB, free: 34.31 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.607e-06/0.3241, allocations: 4 kB / 403.4 MB, free: 34.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.566e-05/0.3242, allocations: 42.5 kB / 403.4 MB, free: 34.25 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.3242, allocations: 0 / 403.4 MB, free: 34.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003865/0.3245, allocations: 159.6 kB / 403.6 MB, free: 34.07 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.3246, allocations: 51.41 kB / 403.6 MB, free: 34.01 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.998e-05/0.3247, allocations: 94.19 kB / 403.7 MB, free: 33.91 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.3247, allocations: 25.7 kB / 403.8 MB, free: 33.88 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.343e-05/0.3247, allocations: 99.92 kB / 403.9 MB, free: 33.77 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/0.3248, allocations: 19.78 kB / 403.9 MB, free: 33.75 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.91e-05/0.3248, allocations: 21.66 kB / 403.9 MB, free: 33.73 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.707e-05/0.3248, allocations: 318.8 kB / 404.2 MB, free: 33.41 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.97e-05/0.3249, allocations: 7.984 kB / 404.2 MB, free: 33.4 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.586e-05/0.3249, allocations: 21.72 kB / 404.2 MB, free: 33.37 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.259e-05/0.325, allocations: 37.75 kB / 404.3 MB, free: 33.33 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.325, allocations: 3.984 kB / 404.3 MB, free: 33.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.685e-05/0.325, allocations: 57.64 kB / 404.3 MB, free: 33.26 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.3251, allocations: 11.98 kB / 404.3 MB, free: 33.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3251, allocations: 0 / 404.3 MB, free: 33.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.3251, allocations: 0 / 404.3 MB, free: 33.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.381e-05/0.3252, allocations: 12 kB / 404.4 MB, free: 33.24 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.3252, allocations: 0 / 404.4 MB, free: 33.24 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.589e-05/0.3252, allocations: 0 / 404.4 MB, free: 33.24 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.269e-06/0.3253, allocations: 8.031 kB / 404.4 MB, free: 33.23 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 5.73e-05/0.3253, allocations: 117.7 kB / 404.5 MB, free: 33.11 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.3253, allocations: 11.89 kB / 404.5 MB, free: 33.09 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.85e-05/0.3254, allocations: 7.5 kB / 404.5 MB, free: 33.08 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3254, allocations: 0 / 404.5 MB, free: 33.08 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.3254, allocations: 0 / 404.5 MB, free: 33.08 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3254, allocations: 0 / 404.5 MB, free: 33.08 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.3255, allocations: 165.5 kB / 404.7 MB, free: 32.87 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3255, allocations: 0 / 404.7 MB, free: 32.87 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.62e-05/0.3256, allocations: 4 kB / 404.7 MB, free: 32.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001545/0.3257, allocations: 16.84 kB / 404.7 MB, free: 32.84 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.3258, allocations: 4 kB / 404.7 MB, free: 32.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006814/0.3265, allocations: 1.347 MB / 406 MB, free: 31.36 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3265, allocations: 0 / 406 MB, free: 31.36 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001358/0.3266, allocations: 176.2 kB / 406.2 MB, free: 31.16 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.699e-05/0.3266, allocations: 85.25 kB / 406.3 MB, free: 31.06 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.865e-06/0.3267, allocations: 4.125 kB / 406.3 MB, free: 31.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.796e-05/0.3267, allocations: 0 / 406.3 MB, free: 31.06 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.304e-05/0.3267, allocations: 7.984 kB / 406.3 MB, free: 31.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.3267, allocations: 4 kB / 406.3 MB, free: 31.05 MB / 302.1 MB Notification: Performance of sorting global known variables: time 2.243e-05/0.3268, allocations: 79.27 kB / 406.4 MB, free: 30.97 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3268, allocations: 3.938 kB / 406.4 MB, free: 30.96 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000224/0.327, allocations: 8 kB / 406.4 MB, free: 30.96 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 0.0001201/0.3271, allocations: 99.81 kB / 406.5 MB, free: 30.85 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001404/0.3273, allocations: 31.92 kB / 406.5 MB, free: 30.82 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.3273, allocations: 0 / 406.5 MB, free: 30.82 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001985/0.3275, allocations: 122.7 kB / 406.6 MB, free: 30.68 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.3277, allocations: 3.938 kB / 406.6 MB, free: 30.68 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002342/0.328, allocations: 175.9 kB / 406.8 MB, free: 30.48 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001577/0.3281, allocations: 0.6768 MB / 407.5 MB, free: 29.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.082e-05/0.3282, allocations: 11.44 kB / 407.5 MB, free: 29.76 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3282, allocations: 0 / 407.5 MB, free: 29.76 MB / 302.1 MB Notification: Performance of Templates: time 0.002601/0.3308, allocations: 0.6872 MB / 408.2 MB, free: 29.08 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 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe 2>&1)