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.001201/0.001201, allocations: 97.39 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 184.4 kB / 16.92 MB, free: 6.703 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.394/1.394, allocations: 223.3 MB / 241 MB, free: 5.363 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.002709/0.002708, allocations: 0.5652 MB / 292.7 MB, free: 1.605 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003134/0.0003135, allocations: 8 kB / 353.9 MB, free: 2.523 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.2632, allocations: 50.57 MB / 404.5 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState): time 0.0006574/0.2639, allocations: 248.1 kB / 404.8 MB, free: 10.03 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001467/0.2641, allocations: 25.41 kB / 404.8 MB, free: 10.03 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.261e-05/0.2641, allocations: 0 / 404.8 MB, free: 10.03 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.262e-05/0.2641, allocations: 3.938 kB / 404.8 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 2.851e-05/0.2641, allocations: 0.5938 kB / 404.8 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000122/0.2643, allocations: 8.922 kB / 404.8 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.777e-05/0.2643, allocations: 20.88 kB / 404.8 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.811e-05/0.2644, allocations: 3.797 kB / 404.8 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.481e-05/0.2644, allocations: 10.52 kB / 404.8 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.319e-05/0.2645, allocations: 15 kB / 404.8 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.2645, allocations: 1 kB / 404.8 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.506e-06/0.2645, allocations: 0.8438 kB / 404.8 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.231e-05/0.2646, allocations: 7.109 kB / 404.9 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.252e-05/0.2646, allocations: 45.09 kB / 404.9 MB, free: 9.977 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 4.286e-05/0.2647, allocations: 7.562 kB / 404.9 MB, free: 9.977 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2647, allocations: 4.625 kB / 404.9 MB, free: 9.973 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2647, allocations: 0 / 404.9 MB, free: 9.973 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.436e-06/0.2647, allocations: 0 / 404.9 MB, free: 9.973 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0002999/0.265, allocations: 327.8 kB / 405.2 MB, free: 9.621 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.265, allocations: 8.812 kB / 405.2 MB, free: 9.621 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.205e-05/0.2651, allocations: 7.281 kB / 405.2 MB, free: 9.617 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.541e-05/0.2652, allocations: 170.9 kB / 405.4 MB, free: 9.418 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.2652, allocations: 1.5 kB / 405.4 MB, free: 9.418 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.2652, allocations: 7.5 kB / 405.4 MB, free: 9.418 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.2653, allocations: 42.23 kB / 405.5 MB, free: 9.387 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.2653, allocations: 0.9688 kB / 405.5 MB, free: 9.387 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.2654, allocations: 6.438 kB / 405.5 MB, free: 9.383 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.2654, allocations: 3.469 kB / 405.5 MB, free: 9.383 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.757e-05/0.2654, allocations: 17.33 kB / 405.5 MB, free: 9.379 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002445/0.2657, allocations: 255.9 kB / 405.7 MB, free: 9.105 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.2658, allocations: 47.03 kB / 405.8 MB, free: 9.082 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.037e-05/0.2658, allocations: 26.16 kB / 405.8 MB, free: 9.07 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.2659, allocations: 4.75 kB / 405.8 MB, free: 9.066 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.598e-05/0.2659, allocations: 36.16 kB / 405.9 MB, free: 9.023 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.2659, allocations: 0 / 405.9 MB, free: 9.023 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006466/0.2665, allocations: 0.4969 MB / 406.3 MB, free: 8.578 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.361e-05/0.2666, allocations: 52 kB / 406.4 MB, free: 8.516 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.655e-05/0.2666, allocations: 99.52 kB / 406.5 MB, free: 8.418 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.2666, allocations: 26.27 kB / 406.5 MB, free: 8.387 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.861e-05/0.2667, allocations: 85.33 kB / 406.6 MB, free: 8.305 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.2667, allocations: 33.7 kB / 406.6 MB, free: 8.281 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.334e-05/0.2667, allocations: 16.98 kB / 406.7 MB, free: 8.266 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.466e-05/0.2668, allocations: 318 kB / 407 MB, free: 7.949 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.447e-05/0.2668, allocations: 17.77 kB / 407 MB, free: 7.949 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.02e-05/0.2669, allocations: 28.17 kB / 407 MB, free: 7.934 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002557/0.2671, allocations: 249.8 kB / 407.3 MB, free: 7.727 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2671, allocations: 5.25 kB / 407.3 MB, free: 7.723 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001059/0.2672, allocations: 81.14 kB / 407.3 MB, free: 7.688 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.2673, allocations: 5.906 kB / 407.3 MB, free: 7.688 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.2673, allocations: 1.75 kB / 407.3 MB, free: 7.688 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.2673, allocations: 1.688 kB / 407.3 MB, free: 7.688 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.2674, allocations: 22.66 kB / 407.4 MB, free: 7.684 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.2674, allocations: 1.406 kB / 407.4 MB, free: 7.684 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.025e-05/0.2674, allocations: 4.875 kB / 407.4 MB, free: 7.68 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-06/0.2675, allocations: 7.641 kB / 407.4 MB, free: 7.676 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: $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.0001096/0.2676, allocations: 118.1 kB / 407.5 MB, free: 7.559 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.455e-05/0.2676, allocations: 2.188 kB / 407.5 MB, free: 7.559 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.264e-05/0.2676, allocations: 16.03 kB / 407.5 MB, free: 7.543 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.2677, allocations: 1.422 kB / 407.5 MB, free: 7.543 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.2677, allocations: 0.9062 kB / 407.5 MB, free: 7.543 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.2677, allocations: 0.8438 kB / 407.5 MB, free: 7.543 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003562/0.268, allocations: 375 kB / 407.9 MB, free: 7.195 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.268, allocations: 1.812 kB / 407.9 MB, free: 7.195 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.375e-05/0.2681, allocations: 14.89 kB / 407.9 MB, free: 7.191 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001099/0.2682, allocations: 21.02 kB / 407.9 MB, free: 7.184 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.2682, allocations: 9.422 kB / 407.9 MB, free: 7.18 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006904/0.2689, allocations: 1.287 MB / 409.2 MB, free: 5.906 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/0.269, allocations: 1.703 kB / 409.2 MB, free: 5.906 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002142/0.2692, allocations: 230 kB / 409.4 MB, free: 5.73 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.064e-05/0.2692, allocations: 83.8 kB / 409.5 MB, free: 5.633 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.047e-05/0.2692, allocations: 3.984 kB / 409.5 MB, free: 5.633 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.607e-05/0.2693, allocations: 6.031 kB / 409.5 MB, free: 5.629 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.276e-05/0.2693, allocations: 8.219 kB / 409.5 MB, free: 5.629 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.2693, allocations: 4.328 kB / 409.5 MB, free: 5.629 MB / 286.1 MB Notification: Performance of sorting global known variables: time 1.997e-05/0.2693, allocations: 83.62 kB / 409.6 MB, free: 5.551 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2694, allocations: 1.156 kB / 409.6 MB, free: 5.551 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002294/0.2696, allocations: 10.34 kB / 409.6 MB, free: 5.551 MB / 286.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 7.832e-05/0.2697, allocations: 95.19 kB / 409.7 MB, free: 5.465 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000114/0.2698, allocations: 48.36 kB / 409.8 MB, free: 5.457 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2698, allocations: 0 / 409.8 MB, free: 5.457 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002117/0.27, allocations: 149.3 kB / 409.9 MB, free: 5.34 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/0.2702, allocations: 6.359 kB / 409.9 MB, free: 5.34 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002521/0.2705, allocations: 215.1 kB / 410.1 MB, free: 5.145 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001107/0.2706, allocations: 0.6915 MB / 410.8 MB, free: 4.441 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.948e-05/0.2707, allocations: 9.781 kB / 410.8 MB, free: 4.438 MB / 286.1 MB Notification: Performance of SimCode: time 1.152e-06/0.2707, allocations: 0.9688 kB / 410.8 MB, free: 4.438 MB / 286.1 MB Notification: Performance of Templates: time 0.002374/0.273, allocations: 0.781 MB / 411.6 MB, free: 4.406 MB / 286.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)