Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.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.TwoMassesEquationsReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001, 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.001033/0.001033, allocations: 182.5 kB / 16.92 MB, free: 6.895 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.399/1.399, allocations: 223.3 MB / 241 MB, free: 5.266 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.002461/0.002461, allocations: 0.5546 MB / 292.6 MB, free: 1.5 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003244/0.0003245, allocations: 4 kB / 353.9 MB, free: 2.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2774, allocations: 50.57 MB / 404.5 MB, free: 10.03 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial): time 0.0007201/0.2782, allocations: 243.2 kB / 404.8 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001605/0.2784, allocations: 25 kB / 404.8 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.791e-05/0.2784, allocations: 0 / 404.8 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.447e-05/0.2784, allocations: 8.812 kB / 404.8 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.264e-05/0.2785, allocations: 0 / 404.8 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001355/0.2786, allocations: 11.39 kB / 404.8 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.64e-05/0.2787, allocations: 14.36 kB / 404.8 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.997e-05/0.2788, allocations: 3.672 kB / 404.8 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.691e-05/0.2788, allocations: 9.375 kB / 404.8 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.85e-05/0.2789, allocations: 13.33 kB / 404.8 MB, free: 10 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.2789, allocations: 0.75 kB / 404.8 MB, free: 10 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.131e-05/0.2789, allocations: 2.125 kB / 404.8 MB, free: 10 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.944e-05/0.2789, allocations: 2.859 kB / 404.8 MB, free: 10 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.262e-05/0.279, allocations: 41.06 kB / 404.9 MB, free: 9.965 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 4.771e-05/0.279, allocations: 7.141 kB / 404.9 MB, free: 9.965 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.279, allocations: 0 / 404.9 MB, free: 9.965 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.2791, allocations: 1.156 kB / 404.9 MB, free: 9.965 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.2791, allocations: 0 / 404.9 MB, free: 9.965 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.0003216/0.2794, allocations: 324.9 kB / 405.2 MB, free: 9.613 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.2794, allocations: 9.734 kB / 405.2 MB, free: 9.613 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.782e-05/0.2795, allocations: 6.562 kB / 405.2 MB, free: 9.609 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.041e-05/0.2796, allocations: 170.9 kB / 405.4 MB, free: 9.41 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.2796, allocations: 10.47 kB / 405.4 MB, free: 9.402 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.45e-05/0.2796, allocations: 6.469 kB / 405.4 MB, free: 9.402 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.2797, allocations: 42.23 kB / 405.4 MB, free: 9.371 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.2798, allocations: 192 / 405.4 MB, free: 9.371 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.2798, allocations: 7.844 kB / 405.5 MB, free: 9.367 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.2798, allocations: 1.688 kB / 405.5 MB, free: 9.367 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.237e-05/0.2799, allocations: 9.969 kB / 405.5 MB, free: 9.367 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004194/0.2803, allocations: 299.2 kB / 405.8 MB, free: 9.062 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.2804, allocations: 49.44 kB / 405.8 MB, free: 9.031 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.887e-05/0.2804, allocations: 13.98 kB / 405.8 MB, free: 9.023 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.2804, allocations: 4.594 kB / 405.8 MB, free: 9.02 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.2805, allocations: 32.09 kB / 405.9 MB, free: 8.98 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.694e-06/0.2805, allocations: 0 / 405.9 MB, free: 8.98 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004301/0.2809, allocations: 162.1 kB / 406 MB, free: 8.844 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.281, allocations: 55.94 kB / 406.1 MB, free: 8.777 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.398e-05/0.281, allocations: 97.7 kB / 406.2 MB, free: 8.68 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.281, allocations: 29.08 kB / 406.2 MB, free: 8.648 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.633e-05/0.2811, allocations: 83.2 kB / 406.3 MB, free: 8.566 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.2811, allocations: 18.77 kB / 406.3 MB, free: 8.555 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.787e-05/0.2812, allocations: 11.97 kB / 406.3 MB, free: 8.539 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.883e-05/0.2812, allocations: 320.6 kB / 406.6 MB, free: 8.223 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.774e-05/0.2813, allocations: 9.75 kB / 406.6 MB, free: 8.223 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.23e-05/0.2813, allocations: 29.39 kB / 406.7 MB, free: 8.199 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.505e-05/0.2814, allocations: 30.38 kB / 406.7 MB, free: 8.184 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.2814, allocations: 0 / 406.7 MB, free: 8.184 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001423/0.2815, allocations: 74.16 kB / 406.8 MB, free: 8.141 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.2815, allocations: 6.797 kB / 406.8 MB, free: 8.141 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.2816, allocations: 0 / 406.8 MB, free: 8.141 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000148/0.2817, allocations: 21.89 kB / 406.8 MB, free: 8.129 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.524e-05/0.2818, allocations: 10.59 kB / 406.8 MB, free: 8.129 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007752/0.2826, allocations: 1.25 MB / 408 MB, free: 6.859 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.396e-05/0.2826, allocations: 1.812 kB / 408 MB, free: 6.859 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-06/0.2826, allocations: 0.8438 kB / 408 MB, free: 6.859 MB / 286.1 MB 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 (5): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 7.427e-05/0.2827, allocations: 116.9 kB / 408.2 MB, free: 6.742 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.839e-05/0.2827, allocations: 6.375 kB / 408.2 MB, free: 6.738 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.2e-05/0.2828, allocations: 11.83 kB / 408.2 MB, free: 6.73 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.2828, allocations: 0.7031 kB / 408.2 MB, free: 6.73 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.2828, allocations: 5 kB / 408.2 MB, free: 6.727 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.2828, allocations: 0.875 kB / 408.2 MB, free: 6.727 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.2829, allocations: 159.1 kB / 408.3 MB, free: 6.539 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.2829, allocations: 1.156 kB / 408.3 MB, free: 6.539 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.83e-05/0.283, allocations: 6.922 kB / 408.4 MB, free: 6.535 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.449e-05/0.2831, allocations: 19.3 kB / 408.4 MB, free: 6.523 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.2831, allocations: 7.859 kB / 408.4 MB, free: 6.52 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006641/0.2838, allocations: 1.25 MB / 409.6 MB, free: 5.254 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.2838, allocations: 6.094 kB / 409.6 MB, free: 5.25 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/0.284, allocations: 177.7 kB / 409.8 MB, free: 5.102 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.427e-05/0.284, allocations: 79.14 kB / 409.9 MB, free: 5.008 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.907e-06/0.284, allocations: 0.625 kB / 409.9 MB, free: 5.008 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.88e-05/0.2841, allocations: 5.016 kB / 409.9 MB, free: 5.008 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.149e-05/0.2841, allocations: 2.859 kB / 409.9 MB, free: 5.008 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.2841, allocations: 2.594 kB / 409.9 MB, free: 5.008 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.739e-05/0.2841, allocations: 82.94 kB / 410 MB, free: 4.93 MB / 286.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2841, allocations: 0 / 410 MB, free: 4.93 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002458/0.2844, allocations: 9.031 kB / 410 MB, free: 4.93 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (x1,v1) * 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 (3): * Single equations (assignments): 2 * 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 9.534e-05/0.2845, allocations: 96.61 kB / 410.1 MB, free: 4.836 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002702/0.2848, allocations: 141.5 kB / 410.2 MB, free: 4.723 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.2848, allocations: 0 / 410.2 MB, free: 4.723 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001318/0.2849, allocations: 132.5 kB / 410.3 MB, free: 4.609 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.2852, allocations: 6.625 kB / 410.4 MB, free: 4.605 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002987/0.2855, allocations: 178.6 kB / 410.5 MB, free: 4.441 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000142/0.2856, allocations: 0.6818 MB / 411.2 MB, free: 3.746 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.099e-05/0.2856, allocations: 9.594 kB / 411.2 MB, free: 3.738 MB / 286.1 MB Notification: Performance of SimCode: time 1.022e-06/0.2857, allocations: 0 / 411.2 MB, free: 3.738 MB / 286.1 MB Notification: Performance of Templates: time 0.003005/0.2887, allocations: 0.8318 MB / 412.1 MB, free: 3.707 MB / 286.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe 2>&1)