Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.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.TwoMassesEquationsFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0122/0.0122, allocations: 104.3 kB / 16.27 MB, free: 6.406 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.001686/0.001686, allocations: 193.5 kB / 17.2 MB, free: 5.969 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.8/1.8, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.003962/0.003962, allocations: 0.5649 MB / 291.6 MB, free: 14.28 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001584/0.001584, allocations: 71.89 kB / 352.2 MB, free: 1.633 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2945, allocations: 49.59 MB / 401.8 MB, free: 36.06 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState): time 0.002371/0.2969, allocations: 0.509 MB / 402.3 MB, free: 35.56 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001814/0.2971, allocations: 31.91 kB / 402.4 MB, free: 35.53 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.145e-05/0.2972, allocations: 0 / 402.4 MB, free: 35.53 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.972e-05/0.2972, allocations: 3.938 kB / 402.4 MB, free: 35.53 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.27e-05/0.2973, allocations: 0 / 402.4 MB, free: 35.53 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00015/0.2974, allocations: 7.984 kB / 402.4 MB, free: 35.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.871e-05/0.2975, allocations: 19.98 kB / 402.4 MB, free: 35.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.909e-05/0.2976, allocations: 0 / 402.4 MB, free: 35.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.534e-05/0.2976, allocations: 15.86 kB / 402.4 MB, free: 35.48 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.24e-05/0.2977, allocations: 15.92 kB / 402.4 MB, free: 35.47 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.2977, allocations: 0 / 402.4 MB, free: 35.47 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.008e-05/0.2977, allocations: 8 kB / 402.4 MB, free: 35.46 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.801e-05/0.2978, allocations: 0 / 402.4 MB, free: 35.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.158e-05/0.2978, allocations: 19.91 kB / 402.5 MB, free: 35.44 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.359e-05/0.2979, allocations: 11.92 kB / 402.5 MB, free: 35.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2979, allocations: 0 / 402.5 MB, free: 35.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2979, allocations: 0 / 402.5 MB, free: 35.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.2979, allocations: 0 / 402.5 MB, free: 35.43 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.0003892/0.2983, allocations: 337.5 kB / 402.8 MB, free: 35.05 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.2983, allocations: 15.89 kB / 402.8 MB, free: 35.04 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.772e-05/0.2984, allocations: 4.938 kB / 402.8 MB, free: 35.03 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.228e-05/0.2985, allocations: 164.4 kB / 403 MB, free: 34.83 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.2985, allocations: 4.375 kB / 403 MB, free: 34.83 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.998e-05/0.2985, allocations: 4.375 kB / 403 MB, free: 34.82 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.2987, allocations: 46.25 kB / 403 MB, free: 34.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000173/0.2988, allocations: 4.125 kB / 403 MB, free: 34.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.2989, allocations: 3.938 kB / 403 MB, free: 34.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.2989, allocations: 0 / 403 MB, free: 34.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.571e-05/0.2989, allocations: 19.92 kB / 403.1 MB, free: 34.75 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002919/0.2992, allocations: 256.9 kB / 403.3 MB, free: 34.45 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.2993, allocations: 46.56 kB / 403.4 MB, free: 34.39 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.202e-05/0.2994, allocations: 24.91 kB / 403.4 MB, free: 34.36 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.2994, allocations: 4 kB / 403.4 MB, free: 34.36 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.2994, allocations: 34.5 kB / 403.4 MB, free: 34.32 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.2994, allocations: 0 / 403.4 MB, free: 34.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006711/0.3001, allocations: 0.4943 MB / 403.9 MB, free: 33.73 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.3001, allocations: 55.41 kB / 404 MB, free: 33.66 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.932e-05/0.3002, allocations: 97.84 kB / 404.1 MB, free: 33.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.3002, allocations: 29.7 kB / 404.1 MB, free: 33.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.293e-05/0.3003, allocations: 84.14 kB / 404.2 MB, free: 33.43 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.941e-05/0.3003, allocations: 35.55 kB / 404.2 MB, free: 33.4 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/0.3003, allocations: 21.66 kB / 404.2 MB, free: 33.37 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.131e-05/0.3004, allocations: 326.8 kB / 404.5 MB, free: 33.04 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.727e-05/0.3004, allocations: 12 kB / 404.6 MB, free: 33.03 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.318e-05/0.3005, allocations: 29.7 kB / 404.6 MB, free: 33 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002595/0.3007, allocations: 251.8 kB / 404.8 MB, free: 32.71 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.3008, allocations: 0 / 404.8 MB, free: 32.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.672e-05/0.3009, allocations: 82.34 kB / 404.9 MB, free: 32.62 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.3009, allocations: 4 kB / 404.9 MB, free: 32.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-06/0.3009, allocations: 0 / 404.9 MB, free: 32.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.3009, allocations: 4 kB / 404.9 MB, free: 32.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.301, allocations: 23.98 kB / 404.9 MB, free: 32.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.301, allocations: 0 / 404.9 MB, free: 32.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.522e-05/0.3011, allocations: 4.062 kB / 404.9 MB, free: 32.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.3011, allocations: 7.938 kB / 405 MB, free: 32.58 MB / 302.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: $DER.v1 = 0.0 $DER.x1 = 0.0. 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 (10): * Single equations (assignments): 10 * 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 0.0001517/0.3012, allocations: 122.7 kB / 405.1 MB, free: 32.45 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.501e-05/0.3013, allocations: 0 / 405.1 MB, free: 32.45 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.438e-05/0.3013, allocations: 11.95 kB / 405.1 MB, free: 32.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.3013, allocations: 4 kB / 405.1 MB, free: 32.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.3013, allocations: 0 / 405.1 MB, free: 32.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3013, allocations: 0 / 405.1 MB, free: 32.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003659/0.3017, allocations: 385.7 kB / 405.5 MB, free: 31.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.3017, allocations: 3.938 kB / 405.5 MB, free: 31.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.261e-05/0.3018, allocations: 11.98 kB / 405.5 MB, free: 31.97 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001156/0.3019, allocations: 16.84 kB / 405.5 MB, free: 31.95 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.3019, allocations: 8 kB / 405.5 MB, free: 31.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007781/0.3027, allocations: 1.379 MB / 406.9 MB, free: 30.41 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.3027, allocations: 3.938 kB / 406.9 MB, free: 30.41 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000182/0.3029, allocations: 223.4 kB / 407.1 MB, free: 30.16 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.1e-05/0.3029, allocations: 92.97 kB / 407.2 MB, free: 30.05 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.846e-06/0.3029, allocations: 0 / 407.2 MB, free: 30.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.778e-05/0.303, allocations: 8 kB / 407.2 MB, free: 30.05 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.069e-05/0.303, allocations: 8.062 kB / 407.2 MB, free: 30.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.303, allocations: 12.12 kB / 407.2 MB, free: 30.03 MB / 302.1 MB Notification: Performance of sorting global known variables: time 2.025e-05/0.3031, allocations: 79.27 kB / 407.3 MB, free: 29.95 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3031, allocations: 0 / 407.3 MB, free: 29.95 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002355/0.3033, allocations: 12 kB / 407.3 MB, free: 29.94 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (x2,v2) * 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 (6): * Single equations (assignments): 5 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.648e-05/0.3034, allocations: 99.19 kB / 407.4 MB, free: 29.83 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001198/0.3035, allocations: 51.92 kB / 407.5 MB, free: 29.78 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3036, allocations: 4 kB / 407.5 MB, free: 29.78 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002036/0.3038, allocations: 138.7 kB / 407.6 MB, free: 29.63 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.304, allocations: 11.94 kB / 407.6 MB, free: 29.62 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002519/0.3043, allocations: 202.6 kB / 407.8 MB, free: 29.38 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001213/0.3044, allocations: 0.6885 MB / 408.5 MB, free: 28.66 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.083e-05/0.3044, allocations: 11.44 kB / 408.5 MB, free: 28.65 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3044, allocations: 0 / 408.5 MB, free: 28.65 MB / 302.1 MB Notification: Performance of Templates: time 0.003356/0.3078, allocations: 0.7809 MB / 409.3 MB, free: 27.88 MB / 302.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe 2>&1)