Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.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.TwoMassesReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004751/0.004752, allocations: 99.66 kB / 15.73 MB, free: 5.949 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.001119/0.001119, allocations: 196.4 kB / 16.68 MB, free: 5.875 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.00255/0.00255, allocations: 0.5646 MB / 291.1 MB, free: 14.15 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 63.89 kB / 402.4 MB, free: 32.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07386/0.07507, allocations: 49.58 MB / 452 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.002581/0.0777, allocations: 1.645 MB / 453.6 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000246/0.07796, allocations: 91.69 kB / 453.7 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.887e-05/0.07802, allocations: 7.938 kB / 453.7 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.93e-05/0.07808, allocations: 11.86 kB / 453.7 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.07819, allocations: 31.7 kB / 453.8 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001114/0.07831, allocations: 23.97 kB / 453.8 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000111/0.07843, allocations: 103.5 kB / 453.9 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.07856, allocations: 43.95 kB / 453.9 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.951e-05/0.07864, allocations: 39.86 kB / 454 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.185e-05/0.07873, allocations: 47.78 kB / 454 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.07876, allocations: 11.94 kB / 454 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.707e-05/0.07878, allocations: 11.94 kB / 454.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.741e-05/0.07882, allocations: 27.91 kB / 454.1 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.472e-05/0.07887, allocations: 43.8 kB / 454.1 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.07902, allocations: 111.6 kB / 454.2 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.07903, allocations: 0 / 454.2 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.07904, allocations: 4 kB / 454.2 MB, free: 12.26 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.07905, allocations: 0 / 454.2 MB, free: 12.26 MB / 334.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.0004586/0.07951, allocations: 391.4 kB / 454.6 MB, free: 11.83 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.07956, allocations: 15.89 kB / 454.6 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.385e-05/0.0796, allocations: 8.844 kB / 454.6 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/0.07976, allocations: 192.2 kB / 454.8 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.467e-06/0.07977, allocations: 8.562 kB / 454.8 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.828e-05/0.07981, allocations: 12.36 kB / 454.9 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.07998, allocations: 92.23 kB / 454.9 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.08, allocations: 0 / 454.9 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.08002, allocations: 11.98 kB / 455 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.08003, allocations: 4 kB / 455 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.08016, allocations: 55.97 kB / 455 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005227/0.08069, allocations: 384.5 kB / 455.4 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.08088, allocations: 106.5 kB / 455.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.419e-05/0.08095, allocations: 41.02 kB / 455.5 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.08097, allocations: 11.92 kB / 455.5 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.081, allocations: 30.56 kB / 455.6 MB, free: 10.76 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/0.081, allocations: 0 / 455.6 MB, free: 10.76 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001041/0.08205, allocations: 0.6812 MB / 456.3 MB, free: 9.984 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.0821, allocations: 59.41 kB / 456.3 MB, free: 9.914 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.84e-05/0.08219, allocations: 121.7 kB / 456.4 MB, free: 9.785 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.08222, allocations: 29.7 kB / 456.5 MB, free: 9.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.928e-05/0.08228, allocations: 104.3 kB / 456.6 MB, free: 9.641 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.08232, allocations: 51.2 kB / 456.6 MB, free: 9.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.783e-05/0.08237, allocations: 33.7 kB / 456.6 MB, free: 9.551 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.08249, allocations: 318.8 kB / 457 MB, free: 9.23 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.783e-05/0.08255, allocations: 39.95 kB / 457 MB, free: 9.191 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.377e-05/0.08263, allocations: 62.48 kB / 457.1 MB, free: 9.121 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.08277, allocations: 94.58 kB / 457.1 MB, free: 9.02 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.08278, allocations: 0 / 457.1 MB, free: 9.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002563/0.08304, allocations: 178 kB / 457.3 MB, free: 8.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.08306, allocations: 11.97 kB / 457.3 MB, free: 8.828 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.08307, allocations: 0 / 457.3 MB, free: 8.828 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001221/0.0832, allocations: 28.84 kB / 457.4 MB, free: 8.797 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.08333, allocations: 27.98 kB / 457.4 MB, free: 8.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001165/0.0845, allocations: 1.607 MB / 459 MB, free: 7.016 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.917e-05/0.08456, allocations: 4 kB / 459 MB, free: 7.012 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.08458, allocations: 4 kB / 459 MB, free: 7.008 MB / 334.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 (16): * Single equations (assignments): 15 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.698e-05/0.08468, allocations: 138.3 kB / 459.1 MB, free: 6.863 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.423e-05/0.08472, allocations: 19.97 kB / 459.2 MB, free: 6.844 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.127e-05/0.08475, allocations: 12.84 kB / 459.2 MB, free: 6.836 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.08476, allocations: 4 kB / 459.2 MB, free: 6.832 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.08477, allocations: 0 / 459.2 MB, free: 6.832 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.08478, allocations: 0 / 459.2 MB, free: 6.832 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005994/0.08538, allocations: 0.5438 MB / 459.7 MB, free: 6.207 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.08539, allocations: 0 / 459.7 MB, free: 6.207 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/0.08553, allocations: 31.92 kB / 459.7 MB, free: 6.176 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.615e-05/0.08561, allocations: 20.84 kB / 459.8 MB, free: 6.152 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.08563, allocations: 7.938 kB / 459.8 MB, free: 6.145 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008365/0.08647, allocations: 1.363 MB / 461.1 MB, free: 4.645 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.08648, allocations: 4.031 kB / 461.1 MB, free: 4.641 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003324/0.08682, allocations: 306.8 kB / 461.4 MB, free: 4.312 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.628e-05/0.08688, allocations: 84.95 kB / 461.5 MB, free: 4.211 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.0869, allocations: 4 kB / 461.5 MB, free: 4.207 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.044e-05/0.08699, allocations: 4 kB / 461.5 MB, free: 4.203 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.997e-05/0.08702, allocations: 19.98 kB / 461.6 MB, free: 4.184 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.08704, allocations: 8 kB / 461.6 MB, free: 4.176 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.686e-05/0.08709, allocations: 92.8 kB / 461.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08709, allocations: 0 / 461.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003063/0.0874, allocations: 32 kB / 461.7 MB, free: 4.055 MB / 334.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.034e-05/0.0875, allocations: 103.1 kB / 461.8 MB, free: 3.941 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003556/0.08786, allocations: 226.7 kB / 462 MB, free: 3.707 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.08788, allocations: 0 / 462 MB, free: 3.707 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00019/0.08807, allocations: 162.6 kB / 462.2 MB, free: 3.535 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.08844, allocations: 23.64 kB / 462.2 MB, free: 3.516 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005876/0.08904, allocations: 398 kB / 462.6 MB, free: 3.094 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.0893, allocations: 0.7045 MB / 463.3 MB, free: 2.363 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.753e-05/0.08935, allocations: 13.08 kB / 463.3 MB, free: 2.348 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.668e-05/0.08939, allocations: 15.44 kB / 463.3 MB, free: 2.332 MB / 334.1 MB Notification: Performance of SimCode: time 1.573e-06/0.0894, allocations: 3.938 kB / 463.3 MB, free: 2.328 MB / 334.1 MB Notification: Performance of Templates: time 0.003694/0.0931, allocations: 1.399 MB / 464.7 MB, free: 0.9844 MB / 334.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe 2>&1)