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.001544/0.001544, allocations: 100.1 kB / 15.88 MB, free: 12 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.002141/0.00214, allocations: 201.6 kB / 16.79 MB, free: 6.828 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.757/1.757, allocations: 222.9 MB / 240.5 MB, free: 4.613 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.003311/0.003311, allocations: 0.566 MB / 291.2 MB, free: 1.938 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 63.89 kB / 351.5 MB, free: 2.781 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1033, allocations: 49.6 MB / 401.1 MB, free: 1.141 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial): time 0.002045/0.1054, allocations: 0.5715 MB / 401.7 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001635/0.1056, allocations: 23.91 kB / 401.7 MB, free: 0.543 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.404e-05/0.1056, allocations: 0 / 401.7 MB, free: 0.543 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.918e-05/0.1057, allocations: 3.938 kB / 401.7 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.306e-05/0.1057, allocations: 4 kB / 401.7 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001354/0.1059, allocations: 11.98 kB / 401.7 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.824e-05/0.1059, allocations: 12 kB / 401.7 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.758e-05/0.106, allocations: 0 / 401.7 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.254e-05/0.106, allocations: 11.92 kB / 401.8 MB, free: 0.5 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.225e-05/0.1061, allocations: 15.92 kB / 401.8 MB, free: 496 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.1061, allocations: 0 / 401.8 MB, free: 496 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.075e-05/0.1061, allocations: 8 kB / 401.8 MB, free: 488 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.849e-05/0.1061, allocations: 3.984 kB / 401.8 MB, free: 484 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.31e-05/0.1062, allocations: 11.94 kB / 401.8 MB, free: 472 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 5.005e-05/0.1062, allocations: 3.984 kB / 401.8 MB, free: 468 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1062, allocations: 3.938 kB / 401.8 MB, free: 464 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1063, allocations: 0 / 401.8 MB, free: 464 kB / 286.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.1063, allocations: 0 / 401.8 MB, free: 464 kB / 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.0004558/0.1067, allocations: 331.8 kB / 402.1 MB, free: 80 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.1068, allocations: 8.031 kB / 402.1 MB, free: 72 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.057e-05/0.1068, allocations: 8.938 kB / 402.1 MB, free: 64 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1809/0.2877, allocations: 163.4 kB / 402.3 MB, free: 10.69 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.2878, allocations: 1.875 kB / 402.3 MB, free: 10.69 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.585e-05/0.2879, allocations: 7.141 kB / 402.3 MB, free: 10.69 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.288, allocations: 41.58 kB / 402.4 MB, free: 10.66 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.288, allocations: 1.719 kB / 402.4 MB, free: 10.66 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.288, allocations: 4.156 kB / 402.4 MB, free: 10.66 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.288, allocations: 1.5 kB / 402.4 MB, free: 10.66 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.93e-05/0.2881, allocations: 15.72 kB / 402.4 MB, free: 10.65 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003787/0.2885, allocations: 296.8 kB / 402.7 MB, free: 10.36 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.708e-05/0.2886, allocations: 44.95 kB / 402.7 MB, free: 10.34 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.876e-05/0.2886, allocations: 10.72 kB / 402.7 MB, free: 10.33 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.2886, allocations: 4.578 kB / 402.7 MB, free: 10.33 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.2887, allocations: 43.2 kB / 402.8 MB, free: 10.29 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.553e-06/0.2887, allocations: 3.156 kB / 402.8 MB, free: 10.29 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003897/0.2891, allocations: 159.2 kB / 402.9 MB, free: 10.15 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.597e-05/0.2891, allocations: 51.41 kB / 403 MB, free: 10.09 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.37e-05/0.2892, allocations: 102.9 kB / 403.1 MB, free: 9.992 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.204e-06/0.2892, allocations: 26.86 kB / 403.1 MB, free: 9.961 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.054e-05/0.2892, allocations: 97.16 kB / 403.2 MB, free: 9.871 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.602e-05/0.2892, allocations: 10.91 kB / 403.2 MB, free: 9.863 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.378e-05/0.2893, allocations: 23.14 kB / 403.2 MB, free: 9.848 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.488e-05/0.2893, allocations: 313.6 kB / 403.5 MB, free: 9.535 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.247e-05/0.2894, allocations: 9.859 kB / 403.5 MB, free: 9.535 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.969e-05/0.2894, allocations: 24.72 kB / 403.6 MB, free: 9.516 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.18e-05/0.2895, allocations: 33.3 kB / 403.6 MB, free: 9.5 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2895, allocations: 4.531 kB / 403.6 MB, free: 9.496 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001341/0.2896, allocations: 75.14 kB / 403.7 MB, free: 9.453 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.2896, allocations: 5.062 kB / 403.7 MB, free: 9.453 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.2896, allocations: 1.344 kB / 403.7 MB, free: 9.453 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001423/0.2898, allocations: 22.42 kB / 403.7 MB, free: 9.445 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.469e-05/0.2898, allocations: 5.891 kB / 403.7 MB, free: 9.445 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006867/0.2905, allocations: 1.253 MB / 405 MB, free: 8.18 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.963e-05/0.2906, allocations: 1.125 kB / 405 MB, free: 8.18 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.2906, allocations: 4.812 kB / 405 MB, free: 8.18 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 5.163e-05/0.2906, allocations: 115 kB / 405.1 MB, free: 8.066 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-05/0.2907, allocations: 1.969 kB / 405.1 MB, free: 8.066 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.683e-05/0.2907, allocations: 8.812 kB / 405.1 MB, free: 8.055 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.2907, allocations: 0.5938 kB / 405.1 MB, free: 8.055 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2907, allocations: 6.297 kB / 405.1 MB, free: 8.051 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2907, allocations: 0.8906 kB / 405.1 MB, free: 8.051 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.2908, allocations: 163.1 kB / 405.3 MB, free: 7.859 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2908, allocations: 0.6875 kB / 405.3 MB, free: 7.859 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.921e-05/0.2909, allocations: 8.047 kB / 405.3 MB, free: 7.855 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.076e-05/0.291, allocations: 15.52 kB / 405.3 MB, free: 7.848 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.291, allocations: 4.344 kB / 405.3 MB, free: 7.848 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006281/0.2916, allocations: 1.26 MB / 406.6 MB, free: 6.582 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2916, allocations: 0 / 406.6 MB, free: 6.582 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/0.2918, allocations: 172.5 kB / 406.7 MB, free: 6.438 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.012e-05/0.2919, allocations: 82.7 kB / 406.8 MB, free: 6.34 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.2919, allocations: 5.219 kB / 406.8 MB, free: 6.34 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.336e-05/0.292, allocations: 0 / 406.8 MB, free: 6.34 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.424e-05/0.292, allocations: 4.297 kB / 406.8 MB, free: 6.34 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-06/0.292, allocations: 1.781 kB / 406.8 MB, free: 6.34 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.546e-05/0.2921, allocations: 78.36 kB / 406.9 MB, free: 6.266 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2921, allocations: 8 kB / 406.9 MB, free: 6.258 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000353/0.2924, allocations: 9.656 kB / 406.9 MB, free: 6.258 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 8.639e-05/0.2925, allocations: 97.73 kB / 407 MB, free: 6.164 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002765/0.2928, allocations: 137.2 kB / 407.1 MB, free: 6.055 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2928, allocations: 0 / 407.1 MB, free: 6.055 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.2929, allocations: 127.6 kB / 407.3 MB, free: 5.945 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/0.2932, allocations: 12.94 kB / 407.3 MB, free: 5.938 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002784/0.2934, allocations: 182.4 kB / 407.5 MB, free: 5.773 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001083/0.2936, allocations: 0.6837 MB / 408.1 MB, free: 5.078 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.492e-05/0.2936, allocations: 8.562 kB / 408.1 MB, free: 5.07 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2936, allocations: 0 / 408.1 MB, free: 5.07 MB / 286.1 MB Notification: Performance of Templates: time 0.002569/0.2962, allocations: 0.8238 MB / 409 MB, free: 5.047 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)