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.007679/0.007679, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.00183/0.00183, allocations: 196 kB / 16.79 MB, free: 6.254 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.968/1.968, allocations: 222.9 MB / 240.5 MB, free: 4.453 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.003595/0.003595, allocations: 0.5728 MB / 291.2 MB, free: 1.773 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 59.91 kB / 351.5 MB, free: 2.758 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1076, allocations: 49.6 MB / 401.1 MB, free: 1.113 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState): time 0.181/0.2886, allocations: 1.702 MB / 402.8 MB, free: 9.918 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002682/0.2889, allocations: 95.92 kB / 402.9 MB, free: 9.879 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.172e-05/0.289, allocations: 2 kB / 402.9 MB, free: 9.879 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.104e-05/0.2891, allocations: 13.03 kB / 402.9 MB, free: 9.875 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001099/0.2892, allocations: 24.38 kB / 403 MB, free: 9.859 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001255/0.2894, allocations: 23.66 kB / 403 MB, free: 9.859 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001353/0.2895, allocations: 104.9 kB / 403.1 MB, free: 9.828 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.2897, allocations: 29.75 kB / 403.1 MB, free: 9.824 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.343e-05/0.2898, allocations: 39.8 kB / 403.2 MB, free: 9.812 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.2899, allocations: 40 kB / 403.2 MB, free: 9.805 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.65e-05/0.2899, allocations: 5.969 kB / 403.2 MB, free: 9.805 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.333e-05/0.2899, allocations: 6.531 kB / 403.2 MB, free: 9.805 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.045e-05/0.29, allocations: 21.02 kB / 403.2 MB, free: 9.797 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.156e-05/0.29, allocations: 48.22 kB / 403.3 MB, free: 9.781 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.2902, allocations: 80.08 kB / 403.3 MB, free: 9.773 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.2902, allocations: 0 / 403.3 MB, free: 9.773 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.71e-07/0.2902, allocations: 1.5 kB / 403.3 MB, free: 9.773 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.2902, allocations: 0 / 403.3 MB, free: 9.773 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.0005015/0.2907, allocations: 399.8 kB / 403.7 MB, free: 9.398 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.2908, allocations: 9.469 kB / 403.7 MB, free: 9.398 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.394e-05/0.2908, allocations: 15.48 kB / 403.8 MB, free: 9.391 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.291, allocations: 190.2 kB / 404 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.291, allocations: 4.844 kB / 404 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.115e-05/0.2911, allocations: 14.62 kB / 404 MB, free: 9.18 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.2912, allocations: 95.59 kB / 404.1 MB, free: 9.145 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.2913, allocations: 1.641 kB / 404.1 MB, free: 9.145 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.2913, allocations: 5.031 kB / 404.1 MB, free: 9.145 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.2913, allocations: 2.406 kB / 404.1 MB, free: 9.145 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.2914, allocations: 65.97 kB / 404.1 MB, free: 9.137 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000522/0.292, allocations: 382.6 kB / 404.5 MB, free: 8.855 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/0.2922, allocations: 101.7 kB / 404.6 MB, free: 8.828 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.476e-05/0.2922, allocations: 41.97 kB / 404.6 MB, free: 8.816 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.2922, allocations: 1.344 kB / 404.7 MB, free: 8.816 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.2923, allocations: 37.97 kB / 404.7 MB, free: 8.773 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.2923, allocations: 1.125 kB / 404.7 MB, free: 8.773 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.001098/0.2934, allocations: 0.6846 MB / 405.4 MB, free: 8.297 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.415e-05/0.2934, allocations: 55.33 kB / 405.4 MB, free: 8.234 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.623e-05/0.2935, allocations: 119.2 kB / 405.5 MB, free: 8.137 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.2935, allocations: 29.58 kB / 405.6 MB, free: 8.105 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.949e-05/0.2936, allocations: 98.91 kB / 405.7 MB, free: 8.016 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.473e-05/0.2936, allocations: 58.31 kB / 405.7 MB, free: 7.977 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.936e-05/0.2937, allocations: 37.98 kB / 405.8 MB, free: 7.957 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.067e-05/0.2937, allocations: 320.5 kB / 406.1 MB, free: 7.645 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.391e-05/0.2938, allocations: 40.38 kB / 406.1 MB, free: 7.637 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.292e-05/0.2939, allocations: 57.44 kB / 406.2 MB, free: 7.613 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.2941, allocations: 97.44 kB / 406.3 MB, free: 7.59 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2941, allocations: 6.906 kB / 406.3 MB, free: 7.586 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002192/0.2943, allocations: 137.9 kB / 406.4 MB, free: 7.543 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.2943, allocations: 14.3 kB / 406.4 MB, free: 7.535 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.2943, allocations: 4.031 kB / 406.4 MB, free: 7.531 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.2944, allocations: 1.875 kB / 406.4 MB, free: 7.531 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000192/0.2945, allocations: 39.7 kB / 406.5 MB, free: 7.531 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.2946, allocations: 1.156 kB / 406.5 MB, free: 7.531 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.929e-05/0.2946, allocations: 1.766 kB / 406.5 MB, free: 7.531 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.2946, allocations: 8.219 kB / 406.5 MB, free: 7.531 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.91e-05/0.2947, allocations: 122.7 kB / 406.6 MB, free: 7.414 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.663e-05/0.2948, allocations: 17.69 kB / 406.6 MB, free: 7.402 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.133e-05/0.2948, allocations: 22.83 kB / 406.6 MB, free: 7.391 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.2948, allocations: 1.812 kB / 406.6 MB, free: 7.391 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.2948, allocations: 0 / 406.6 MB, free: 7.391 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.2949, allocations: 2.406 kB / 406.6 MB, free: 7.391 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005898/0.2954, allocations: 0.4935 MB / 407.1 MB, free: 7.012 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.2955, allocations: 0 / 407.1 MB, free: 7.012 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/0.2956, allocations: 29.12 kB / 407.2 MB, free: 7.008 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001195/0.2957, allocations: 20.83 kB / 407.2 MB, free: 6.996 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.2958, allocations: 5.344 kB / 407.2 MB, free: 6.992 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007192/0.2965, allocations: 1.272 MB / 408.5 MB, free: 5.68 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.2965, allocations: 1.344 kB / 408.5 MB, free: 5.68 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003169/0.2968, allocations: 315.8 kB / 408.8 MB, free: 5.441 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.694e-05/0.2969, allocations: 85.12 kB / 408.9 MB, free: 5.344 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.2969, allocations: 10.86 kB / 408.9 MB, free: 5.336 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.873e-05/0.297, allocations: 2.312 kB / 408.9 MB, free: 5.336 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.047e-05/0.297, allocations: 13.08 kB / 408.9 MB, free: 5.332 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.297, allocations: 4.844 kB / 408.9 MB, free: 5.332 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.651e-05/0.2971, allocations: 98.2 kB / 409 MB, free: 5.25 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2971, allocations: 0 / 409 MB, free: 5.25 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002709/0.2974, allocations: 27.81 kB / 409 MB, free: 5.246 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 9.502e-05/0.2975, allocations: 102 kB / 409.1 MB, free: 5.152 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001885/0.2976, allocations: 92.53 kB / 409.2 MB, free: 5.125 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2977, allocations: 0 / 409.2 MB, free: 5.125 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002174/0.2979, allocations: 168.4 kB / 409.4 MB, free: 4.996 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004048/0.2983, allocations: 26.14 kB / 409.4 MB, free: 4.984 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006382/0.2989, allocations: 461.1 kB / 409.8 MB, free: 4.613 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001418/0.2991, allocations: 0.705 MB / 410.5 MB, free: 3.918 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.583e-05/0.2991, allocations: 13.41 kB / 410.6 MB, free: 3.914 MB / 286.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2991, allocations: 4 kB / 410.6 MB, free: 3.91 MB / 286.1 MB Notification: Performance of Templates: time 0.004082/0.3032, allocations: 1.691 MB / 412.3 MB, free: 3.777 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)