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.0008337/0.0008337, allocations: 99.19 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.0009387/0.0009387, allocations: 182.9 kB / 16.92 MB, free: 6.918 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.347/1.347, allocations: 223.3 MB / 241 MB, free: 5.359 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.002371/0.002371, allocations: 0.5469 MB / 292.6 MB, free: 1.602 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003127/0.0003129, allocations: 8 kB / 353.9 MB, free: 2.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2722, allocations: 50.57 MB / 404.5 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState): time 0.002126/0.2744, allocations: 1.355 MB / 405.9 MB, free: 9.961 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002803/0.2747, allocations: 90.98 kB / 406 MB, free: 9.949 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.004e-05/0.2748, allocations: 5 kB / 406 MB, free: 9.949 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.482e-05/0.2748, allocations: 14.45 kB / 406 MB, free: 9.941 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001112/0.275, allocations: 23.25 kB / 406 MB, free: 9.934 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001354/0.2751, allocations: 26.38 kB / 406 MB, free: 9.93 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001426/0.2753, allocations: 100.4 kB / 406.1 MB, free: 9.902 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.2754, allocations: 35.45 kB / 406.2 MB, free: 9.898 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.588e-05/0.2755, allocations: 31.09 kB / 406.2 MB, free: 9.895 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.929e-05/0.2756, allocations: 41.39 kB / 406.2 MB, free: 9.883 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.266e-05/0.2756, allocations: 5.281 kB / 406.2 MB, free: 9.883 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.108e-05/0.2757, allocations: 4.188 kB / 406.2 MB, free: 9.883 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.999e-05/0.2757, allocations: 20.48 kB / 406.3 MB, free: 9.875 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.208e-05/0.2758, allocations: 70.2 kB / 406.3 MB, free: 9.832 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001363/0.2759, allocations: 85.67 kB / 406.4 MB, free: 9.82 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2759, allocations: 3.938 kB / 406.4 MB, free: 9.816 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2759, allocations: 0 / 406.4 MB, free: 9.816 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.2759, allocations: 0 / 406.4 MB, free: 9.816 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.0004119/0.2764, allocations: 379.7 kB / 406.8 MB, free: 9.441 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.2764, allocations: 9.656 kB / 406.8 MB, free: 9.441 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.07e-05/0.2764, allocations: 12.09 kB / 406.8 MB, free: 9.438 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.2766, allocations: 197.9 kB / 407 MB, free: 9.223 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.2766, allocations: 6.531 kB / 407 MB, free: 9.223 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.607e-05/0.2767, allocations: 10.28 kB / 407 MB, free: 9.223 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002117/0.2769, allocations: 93.23 kB / 407.1 MB, free: 9.188 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.2769, allocations: 1.359 kB / 407.1 MB, free: 9.188 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.2769, allocations: 3.406 kB / 407.1 MB, free: 9.188 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.2769, allocations: 2.531 kB / 407.1 MB, free: 9.188 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.2771, allocations: 58.8 kB / 407.2 MB, free: 9.188 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005349/0.2776, allocations: 397.3 kB / 407.6 MB, free: 8.887 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.2778, allocations: 103.4 kB / 407.7 MB, free: 8.832 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.083e-05/0.2779, allocations: 32.69 kB / 407.7 MB, free: 8.816 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.2779, allocations: 2.766 kB / 407.7 MB, free: 8.816 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.2779, allocations: 39.59 kB / 407.7 MB, free: 8.77 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.052e-06/0.2779, allocations: 0 / 407.7 MB, free: 8.77 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009898/0.2789, allocations: 0.6823 MB / 408.4 MB, free: 8.195 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.2789, allocations: 54.02 kB / 408.5 MB, free: 8.133 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.6e-05/0.279, allocations: 124.5 kB / 408.6 MB, free: 8.023 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.2791, allocations: 30.73 kB / 408.6 MB, free: 7.988 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.633e-05/0.2791, allocations: 98.06 kB / 408.7 MB, free: 7.891 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.061e-05/0.2792, allocations: 60.31 kB / 408.8 MB, free: 7.844 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-05/0.2792, allocations: 20.67 kB / 408.8 MB, free: 7.824 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.075e-05/0.2792, allocations: 324.2 kB / 409.1 MB, free: 7.504 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.809e-05/0.2793, allocations: 32.69 kB / 409.1 MB, free: 7.492 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.993e-05/0.2794, allocations: 62.7 kB / 409.2 MB, free: 7.449 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.2795, allocations: 103.7 kB / 409.3 MB, free: 7.383 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.2795, allocations: 0.5625 kB / 409.3 MB, free: 7.383 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001867/0.2797, allocations: 140 kB / 409.4 MB, free: 7.309 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.2798, allocations: 11.27 kB / 409.5 MB, free: 7.305 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.2798, allocations: 1.031 kB / 409.5 MB, free: 7.305 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.2798, allocations: 2.125 kB / 409.5 MB, free: 7.305 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001763/0.28, allocations: 37.69 kB / 409.5 MB, free: 7.301 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.28, allocations: 6.828 kB / 409.5 MB, free: 7.297 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.689e-05/0.28, allocations: 6.5 kB / 409.5 MB, free: 7.293 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.2801, allocations: 4.312 kB / 409.5 MB, free: 7.293 MB / 286.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 7.439e-05/0.2801, allocations: 131.8 kB / 409.6 MB, free: 7.16 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.473e-05/0.2802, allocations: 13.83 kB / 409.7 MB, free: 7.152 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.446e-05/0.2802, allocations: 14.64 kB / 409.7 MB, free: 7.137 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.2802, allocations: 3.969 kB / 409.7 MB, free: 7.137 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.2802, allocations: 1.25 kB / 409.7 MB, free: 7.137 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.2803, allocations: 8.688 kB / 409.7 MB, free: 7.129 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005533/0.2808, allocations: 498.9 kB / 410.2 MB, free: 6.719 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.2808, allocations: 1 kB / 410.2 MB, free: 6.719 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/0.281, allocations: 32.91 kB / 410.2 MB, free: 6.711 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001072/0.2811, allocations: 24.2 kB / 410.2 MB, free: 6.699 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.2811, allocations: 7.016 kB / 410.2 MB, free: 6.695 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006864/0.2818, allocations: 1.269 MB / 411.5 MB, free: 5.383 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.2818, allocations: 4.906 kB / 411.5 MB, free: 5.379 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003092/0.2821, allocations: 305.5 kB / 411.8 MB, free: 5.148 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.778e-05/0.2822, allocations: 88.17 kB / 411.9 MB, free: 5.047 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.2822, allocations: 6.031 kB / 411.9 MB, free: 5.043 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.454e-05/0.2823, allocations: 2.156 kB / 411.9 MB, free: 5.043 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.771e-05/0.2823, allocations: 18.03 kB / 411.9 MB, free: 5.035 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.2823, allocations: 3.594 kB / 411.9 MB, free: 5.035 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.55e-05/0.2824, allocations: 102.1 kB / 412 MB, free: 4.949 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2824, allocations: 0 / 412 MB, free: 4.949 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002622/0.2826, allocations: 31.5 kB / 412.1 MB, free: 4.941 MB / 286.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 8.533e-05/0.2827, allocations: 98.44 kB / 412.2 MB, free: 4.852 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001877/0.2829, allocations: 90.91 kB / 412.2 MB, free: 4.824 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2829, allocations: 3.938 kB / 412.2 MB, free: 4.82 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002283/0.2832, allocations: 167.7 kB / 412.4 MB, free: 4.691 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/0.2836, allocations: 26.97 kB / 412.4 MB, free: 4.68 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000595/0.2842, allocations: 0.4902 MB / 412.9 MB, free: 4.297 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001552/0.2843, allocations: 0.7021 MB / 413.6 MB, free: 3.602 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.547e-05/0.2844, allocations: 15.5 kB / 413.6 MB, free: 3.598 MB / 286.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2844, allocations: 0 / 413.6 MB, free: 3.598 MB / 286.1 MB Notification: Performance of Templates: time 0.00399/0.2884, allocations: 1.682 MB / 415.3 MB, free: 3.473 MB / 286.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)