Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.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.TwoMassesFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000842/0.000842, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0008396/0.0008397, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.202/1.202, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.002142/0.002142, allocations: 0.5469 MB / 291.5 MB, free: 1.707 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002788/0.0002788, allocations: 8 kB / 352.6 MB, free: 2.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0824/0.08269, allocations: 50.58 MB / 403.2 MB, free: 224 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState): time 0.1433/0.226, allocations: 1.29 MB / 404.4 MB, free: 9.773 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000273/0.2264, allocations: 97.03 kB / 404.5 MB, free: 9.762 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.711e-05/0.2264, allocations: 4.875 kB / 404.5 MB, free: 9.762 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.499e-05/0.2265, allocations: 10.17 kB / 404.6 MB, free: 9.758 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.943e-05/0.2266, allocations: 37.12 kB / 404.6 MB, free: 9.754 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000117/0.2267, allocations: 17.52 kB / 404.6 MB, free: 9.754 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000129/0.2268, allocations: 74.55 kB / 404.7 MB, free: 9.754 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.227, allocations: 32.41 kB / 404.7 MB, free: 9.75 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.212e-05/0.227, allocations: 37.06 kB / 404.7 MB, free: 9.742 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.477e-05/0.2271, allocations: 35.27 kB / 404.8 MB, free: 9.734 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.2271, allocations: 5.219 kB / 404.8 MB, free: 9.734 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.782e-05/0.2272, allocations: 4.312 kB / 404.8 MB, free: 9.734 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.833e-05/0.2272, allocations: 20.89 kB / 404.8 MB, free: 9.727 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.99e-05/0.2272, allocations: 47.84 kB / 404.9 MB, free: 9.688 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.2273, allocations: 79.92 kB / 404.9 MB, free: 9.684 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.2273, allocations: 0 / 404.9 MB, free: 9.684 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2274, allocations: 0 / 404.9 MB, free: 9.684 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.2274, allocations: 1.125 kB / 404.9 MB, free: 9.684 MB / 286.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.0003733/0.2277, allocations: 379.4 kB / 405.3 MB, free: 9.309 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.2278, allocations: 8.75 kB / 405.3 MB, free: 9.309 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.511e-05/0.2278, allocations: 17.84 kB / 405.3 MB, free: 9.297 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.2279, allocations: 190.6 kB / 405.5 MB, free: 9.09 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.228, allocations: 6.688 kB / 405.5 MB, free: 9.09 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.678e-05/0.228, allocations: 10.58 kB / 405.5 MB, free: 9.09 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.2282, allocations: 87.91 kB / 405.6 MB, free: 9.059 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.2282, allocations: 0.875 kB / 405.6 MB, free: 9.059 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.2282, allocations: 7.531 kB / 405.6 MB, free: 9.055 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.2282, allocations: 7.078 kB / 405.6 MB, free: 9.051 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/0.2284, allocations: 63.47 kB / 405.7 MB, free: 9.047 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004814/0.2289, allocations: 387.9 kB / 406.1 MB, free: 8.766 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.229, allocations: 103.4 kB / 406.2 MB, free: 8.727 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.2291, allocations: 2.219 kB / 406.2 MB, free: 8.727 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.414e-05/0.2291, allocations: 34.56 kB / 406.2 MB, free: 8.684 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.342e-06/0.2291, allocations: 0.8125 kB / 406.2 MB, free: 8.684 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009137/0.23, allocations: 0.6865 MB / 406.9 MB, free: 8.102 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.375e-05/0.23, allocations: 54.3 kB / 407 MB, free: 8.039 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.015e-05/0.2301, allocations: 120 kB / 407.1 MB, free: 7.934 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.2301, allocations: 30.64 kB / 407.1 MB, free: 7.898 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.819e-05/0.2302, allocations: 98.84 kB / 407.2 MB, free: 7.801 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.269e-05/0.2302, allocations: 67.41 kB / 407.3 MB, free: 7.746 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.461e-06/0.2302, allocations: 1 kB / 407.3 MB, free: 7.746 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.137e-05/0.2303, allocations: 320.3 kB / 407.6 MB, free: 7.43 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.502e-05/0.2303, allocations: 34.25 kB / 407.6 MB, free: 7.418 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.679e-05/0.2304, allocations: 60.41 kB / 407.7 MB, free: 7.379 MB / 286.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass2.v = $START.mass2.v ($START.mass1.v = $START.mass2.v) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass1.a = $START.mass1.a ($START.mass2.a = $START.mass1.a) Notification: Performance of analyzeInitialSystem (initialization): time 0.0003573/0.2308, allocations: 275.7 kB / 407.9 MB, free: 7.156 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2308, allocations: 1.672 kB / 407.9 MB, free: 7.156 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001733/0.231, allocations: 136.7 kB / 408.1 MB, free: 7.082 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.231, allocations: 5.344 kB / 408.1 MB, free: 7.082 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.231, allocations: 5.609 kB / 408.1 MB, free: 7.078 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.231, allocations: 6.297 kB / 408.1 MB, free: 7.074 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.2312, allocations: 45.8 kB / 408.1 MB, free: 7.062 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.2312, allocations: 1.781 kB / 408.1 MB, free: 7.062 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.194e-05/0.2312, allocations: 2.156 kB / 408.1 MB, free: 7.062 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.2312, allocations: 3.25 kB / 408.1 MB, free: 7.062 MB / 286.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: mass2.v = $START.mass2.v mass1.a = $START.mass1.a. 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.588e-05/0.2313, allocations: 128.2 kB / 408.3 MB, free: 6.938 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.779e-05/0.2313, allocations: 9.016 kB / 408.3 MB, free: 6.934 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.739e-05/0.2314, allocations: 23.34 kB / 408.3 MB, free: 6.914 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.2314, allocations: 5.781 kB / 408.3 MB, free: 6.91 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.2314, allocations: 4.969 kB / 408.3 MB, free: 6.906 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2314, allocations: 3.641 kB / 408.3 MB, free: 6.906 MB / 286.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005058/0.2319, allocations: 0.5931 MB / 408.9 MB, free: 6.363 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.2319, allocations: 1.094 kB / 408.9 MB, free: 6.363 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.2321, allocations: 28.42 kB / 408.9 MB, free: 6.359 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.204e-05/0.2322, allocations: 16.98 kB / 409 MB, free: 6.352 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.2322, allocations: 6.094 kB / 409 MB, free: 6.348 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005884/0.2328, allocations: 1.277 MB / 410.2 MB, free: 5.031 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.2328, allocations: 1.156 kB / 410.2 MB, free: 5.031 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002816/0.2331, allocations: 333.2 kB / 410.6 MB, free: 4.754 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.562e-05/0.2331, allocations: 95.72 kB / 410.7 MB, free: 4.648 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.2331, allocations: 6.109 kB / 410.7 MB, free: 4.645 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.588e-05/0.2332, allocations: 6.25 kB / 410.7 MB, free: 4.641 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.314e-05/0.2333, allocations: 16.8 kB / 410.7 MB, free: 4.633 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.2333, allocations: 3.969 kB / 410.7 MB, free: 4.633 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.401e-05/0.2333, allocations: 97.42 kB / 410.8 MB, free: 4.551 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2333, allocations: 1.312 kB / 410.8 MB, free: 4.551 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002499/0.2336, allocations: 27.5 kB / 410.8 MB, free: 4.547 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass2.s,mass2.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.351e-05/0.2337, allocations: 96.97 kB / 410.9 MB, free: 4.457 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000198/0.2339, allocations: 105.4 kB / 411 MB, free: 4.426 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2339, allocations: 0 / 411 MB, free: 4.426 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001923/0.2341, allocations: 171.7 kB / 411.2 MB, free: 4.293 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.2343, allocations: 19.58 kB / 411.2 MB, free: 4.285 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000555/0.2349, allocations: 468.6 kB / 411.7 MB, free: 3.934 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000136/0.235, allocations: 0.7114 MB / 412.4 MB, free: 3.234 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.589e-05/0.2351, allocations: 13.3 kB / 412.4 MB, free: 3.234 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.021e-05/0.2351, allocations: 13.69 kB / 412.4 MB, free: 3.227 MB / 286.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2351, allocations: 0 / 412.4 MB, free: 3.227 MB / 286.1 MB Notification: Performance of Templates: time 0.003414/0.2385, allocations: 1.247 MB / 413.6 MB, free: 3.145 MB / 286.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.makefile Environment - environmentSimulation: (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe 2>&1) Environment - environmentSimulation: