Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.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.TwoMassesReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.001261, allocations: 106.6 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.001304/0.001304, allocations: 190.3 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.52/1.52, allocations: 222.9 MB / 240.9 MB, free: 15.28 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.003745/0.003745, allocations: 0.5683 MB / 291.6 MB, free: 14.19 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00155/0.001551, allocations: 63.88 kB / 352.2 MB, free: 1.555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3093, allocations: 49.59 MB / 401.8 MB, free: 36.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState): time 0.002816/0.3122, allocations: 1.637 MB / 403.5 MB, free: 34.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000329/0.3125, allocations: 103.7 kB / 403.6 MB, free: 34.31 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.604e-05/0.3126, allocations: 4 kB / 403.6 MB, free: 34.3 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.47e-05/0.3128, allocations: 15.8 kB / 403.6 MB, free: 34.29 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001209/0.3129, allocations: 31.7 kB / 403.6 MB, free: 34.26 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001427/0.313, allocations: 23.97 kB / 403.6 MB, free: 34.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.3132, allocations: 107.5 kB / 403.7 MB, free: 34.13 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.3133, allocations: 39.95 kB / 403.8 MB, free: 34.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.225e-05/0.3134, allocations: 35.94 kB / 403.8 MB, free: 34.05 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.322e-05/0.3135, allocations: 43.78 kB / 403.9 MB, free: 34.01 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.359e-05/0.3135, allocations: 8 kB / 403.9 MB, free: 34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.079e-05/0.3136, allocations: 8 kB / 403.9 MB, free: 34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.5e-05/0.3136, allocations: 19.92 kB / 403.9 MB, free: 33.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.426e-05/0.3137, allocations: 51.78 kB / 403.9 MB, free: 33.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.3138, allocations: 105.6 kB / 404 MB, free: 33.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3138, allocations: 0 / 404 MB, free: 33.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3138, allocations: 4 kB / 404 MB, free: 33.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.3138, allocations: 0 / 404 MB, free: 33.82 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004697/0.3143, allocations: 399.4 kB / 404.4 MB, free: 33.38 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3144, allocations: 15.89 kB / 404.5 MB, free: 33.36 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.434e-05/0.3144, allocations: 12.75 kB / 404.5 MB, free: 33.35 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.3146, allocations: 188.3 kB / 404.6 MB, free: 33.13 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.3146, allocations: 8.562 kB / 404.7 MB, free: 33.12 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.242e-05/0.3146, allocations: 16.28 kB / 404.7 MB, free: 33.11 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.3148, allocations: 95.59 kB / 404.8 MB, free: 33.01 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.3148, allocations: 4 kB / 404.8 MB, free: 33 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.3148, allocations: 4 kB / 404.8 MB, free: 33 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.3148, allocations: 4 kB / 404.8 MB, free: 33 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.315, allocations: 55.97 kB / 404.8 MB, free: 32.94 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004888/0.3155, allocations: 388.5 kB / 405.2 MB, free: 32.51 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.3156, allocations: 106.5 kB / 405.3 MB, free: 32.4 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.539e-05/0.3157, allocations: 40.84 kB / 405.4 MB, free: 32.36 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.3157, allocations: 3.984 kB / 405.4 MB, free: 32.35 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.445e-05/0.3157, allocations: 34.56 kB / 405.4 MB, free: 32.31 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.423e-06/0.3157, allocations: 0 / 405.4 MB, free: 32.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009852/0.3167, allocations: 0.6928 MB / 406.1 MB, free: 31.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.322e-05/0.3168, allocations: 55.41 kB / 406.1 MB, free: 31.46 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.826e-05/0.3168, allocations: 121.8 kB / 406.3 MB, free: 31.33 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.3169, allocations: 29.7 kB / 406.3 MB, free: 31.29 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.995e-05/0.3169, allocations: 96.31 kB / 406.4 MB, free: 31.2 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.936e-05/0.3169, allocations: 55.19 kB / 406.4 MB, free: 31.14 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.259e-05/0.317, allocations: 41.66 kB / 406.5 MB, free: 31.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.865e-05/0.317, allocations: 322.8 kB / 406.8 MB, free: 30.77 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.389e-05/0.3171, allocations: 35.94 kB / 406.8 MB, free: 30.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.036e-05/0.3172, allocations: 54.56 kB / 406.9 MB, free: 30.67 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.3173, allocations: 98.5 kB / 407 MB, free: 30.57 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.3173, allocations: 4 kB / 407 MB, free: 30.56 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001687/0.3175, allocations: 141.5 kB / 407.1 MB, free: 30.42 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.3175, allocations: 7.938 kB / 407.1 MB, free: 30.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.3175, allocations: 4 kB / 407.1 MB, free: 30.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.3175, allocations: 0 / 407.1 MB, free: 30.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000177/0.3177, allocations: 35.98 kB / 407.2 MB, free: 30.37 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.3177, allocations: 7.938 kB / 407.2 MB, free: 30.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.771e-05/0.3178, allocations: 0 / 407.2 MB, free: 30.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.3178, allocations: 8 kB / 407.2 MB, free: 30.36 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (19): * Single equations (assignments): 19 * 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 6.711e-05/0.3179, allocations: 125.9 kB / 407.3 MB, free: 30.22 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.254e-05/0.3179, allocations: 23.69 kB / 407.3 MB, free: 30.2 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.858e-05/0.3179, allocations: 12.84 kB / 407.3 MB, free: 30.18 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.3179, allocations: 0 / 407.3 MB, free: 30.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.318, allocations: 4 kB / 407.3 MB, free: 30.18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.318, allocations: 0 / 407.3 MB, free: 30.18 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004895/0.3185, allocations: 0.4976 MB / 407.8 MB, free: 29.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.3185, allocations: 0 / 407.8 MB, free: 29.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.3186, allocations: 23.98 kB / 407.9 MB, free: 29.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001102/0.3187, allocations: 24.84 kB / 407.9 MB, free: 29.56 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.3187, allocations: 0 / 407.9 MB, free: 29.56 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006846/0.3194, allocations: 1.375 MB / 409.3 MB, free: 28.04 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3194, allocations: 4.031 kB / 409.3 MB, free: 28.04 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002669/0.3197, allocations: 302.7 kB / 409.6 MB, free: 27.71 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.698e-05/0.3198, allocations: 93.12 kB / 409.7 MB, free: 27.61 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.3198, allocations: 4 kB / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.539e-05/0.3199, allocations: 0 / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.155e-05/0.3199, allocations: 15.98 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.3199, allocations: 7.938 kB / 409.7 MB, free: 27.58 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.626e-05/0.3199, allocations: 92.8 kB / 409.8 MB, free: 27.49 MB / 302.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.32, allocations: 4 kB / 409.8 MB, free: 27.48 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002682/0.3202, allocations: 27.94 kB / 409.8 MB, free: 27.46 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass1.s,mass1.v) * 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 (15): * Single equations (assignments): 14 * 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 7.806e-05/0.3203, allocations: 103.2 kB / 409.9 MB, free: 27.35 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001802/0.3205, allocations: 95.84 kB / 410 MB, free: 27.25 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3205, allocations: 0 / 410 MB, free: 27.25 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002091/0.3207, allocations: 174.2 kB / 410.2 MB, free: 27.07 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/0.3211, allocations: 28.17 kB / 410.2 MB, free: 27.05 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005695/0.3217, allocations: 427 kB / 410.6 MB, free: 26.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001217/0.3218, allocations: 0.7045 MB / 411.3 MB, free: 25.86 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.619e-05/0.3219, allocations: 15.44 kB / 411.3 MB, free: 25.85 MB / 302.1 MB Notification: Performance of SimCode: time 9.71e-07/0.3219, allocations: 0 / 411.3 MB, free: 25.85 MB / 302.1 MB Notification: Performance of Templates: time 0.003114/0.325, allocations: 1.71 MB / 413 MB, free: 24.14 MB / 302.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe 2>&1)