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.001278/0.001278, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001166/0.001166, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.24/1.24, allocations: 222.9 MB / 241 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.002552/0.002552, allocations: 0.569 MB / 291.8 MB, free: 14.16 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 59.89 kB / 403.1 MB, free: 32.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08385/0.0851, allocations: 49.59 MB / 452.7 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState): time 0.002528/0.08768, allocations: 1.638 MB / 454.3 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002674/0.08796, allocations: 91.67 kB / 454.4 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.965e-05/0.08803, allocations: 4 kB / 454.4 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.488e-05/0.0881, allocations: 23.73 kB / 454.4 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001025/0.08821, allocations: 31.77 kB / 454.5 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001243/0.08834, allocations: 23.91 kB / 454.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.08848, allocations: 103.5 kB / 454.6 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.08863, allocations: 39.95 kB / 454.6 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.388e-05/0.08871, allocations: 43.86 kB / 454.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.127e-05/0.0888, allocations: 47.78 kB / 454.7 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.08883, allocations: 12 kB / 454.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.284e-05/0.08886, allocations: 8 kB / 454.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.439e-05/0.08889, allocations: 23.86 kB / 454.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.564e-05/0.08895, allocations: 51.78 kB / 454.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.0891, allocations: 103.6 kB / 454.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.08911, allocations: 0 / 454.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.08911, allocations: 0 / 454.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.08912, allocations: 0 / 454.9 MB, free: 12.27 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.0004962/0.08962, allocations: 399.4 kB / 455.3 MB, free: 11.83 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.08966, allocations: 11.89 kB / 455.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.822e-05/0.08971, allocations: 12.84 kB / 455.3 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.08988, allocations: 196.1 kB / 455.5 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.0899, allocations: 8.562 kB / 455.5 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.046e-05/0.08994, allocations: 8.375 kB / 455.5 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.09012, allocations: 93.97 kB / 455.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.09014, allocations: 0 / 455.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.09016, allocations: 4 kB / 455.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.09017, allocations: 8 kB / 455.6 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.09028, allocations: 53.84 kB / 455.7 MB, free: 11.4 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005206/0.09081, allocations: 384.6 kB / 456.1 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.09099, allocations: 102.5 kB / 456.2 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.204e-05/0.09106, allocations: 48.94 kB / 456.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.09108, allocations: 4 kB / 456.2 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.0911, allocations: 38.56 kB / 456.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.353e-06/0.09111, allocations: 0 / 456.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001063/0.09218, allocations: 0.6846 MB / 456.9 MB, free: 9.988 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.09222, allocations: 55.41 kB / 457 MB, free: 9.922 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.09234, allocations: 129.7 kB / 457.1 MB, free: 9.785 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.09236, allocations: 29.7 kB / 457.1 MB, free: 9.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.642e-05/0.09242, allocations: 96.28 kB / 457.2 MB, free: 9.648 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.99e-05/0.09247, allocations: 59.19 kB / 457.3 MB, free: 9.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.562e-05/0.09253, allocations: 37.66 kB / 457.3 MB, free: 9.547 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.09264, allocations: 318.8 kB / 457.6 MB, free: 9.227 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.523e-05/0.0927, allocations: 35.94 kB / 457.7 MB, free: 9.191 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.136e-05/0.09278, allocations: 61.14 kB / 457.7 MB, free: 9.125 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.09292, allocations: 106.4 kB / 457.8 MB, free: 9.016 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.09293, allocations: 0 / 457.8 MB, free: 9.016 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001814/0.09312, allocations: 145.5 kB / 458 MB, free: 8.867 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.09314, allocations: 7.938 kB / 458 MB, free: 8.859 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.09315, allocations: 0 / 458 MB, free: 8.859 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.09317, allocations: 0 / 458 MB, free: 8.859 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.09335, allocations: 47.95 kB / 458 MB, free: 8.812 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.09336, allocations: 0 / 458 MB, free: 8.812 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.238e-05/0.09341, allocations: 0 / 458 MB, free: 8.812 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.09342, allocations: 4 kB / 458 MB, free: 8.809 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 (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 8.773e-05/0.09351, allocations: 134.4 kB / 458.2 MB, free: 8.668 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.153e-05/0.09355, allocations: 11.84 kB / 458.2 MB, free: 8.656 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.161e-05/0.0936, allocations: 16.84 kB / 458.2 MB, free: 8.637 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.0936, allocations: 0 / 458.2 MB, free: 8.637 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.09362, allocations: 4 kB / 458.2 MB, free: 8.633 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.09362, allocations: 0 / 458.2 MB, free: 8.633 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005644/0.09419, allocations: 0.4897 MB / 458.7 MB, free: 8.074 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.0942, allocations: 0 / 458.7 MB, free: 8.074 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.09433, allocations: 31.98 kB / 458.7 MB, free: 8.043 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001082/0.09444, allocations: 24.88 kB / 458.8 MB, free: 8.016 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.09447, allocations: 8 kB / 458.8 MB, free: 8.008 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009357/0.09541, allocations: 1.367 MB / 460.1 MB, free: 6.504 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.09543, allocations: 0 / 460.1 MB, free: 6.504 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003571/0.09579, allocations: 310.7 kB / 460.4 MB, free: 6.172 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.732e-05/0.09586, allocations: 85.05 kB / 460.5 MB, free: 6.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.0959, allocations: 0 / 460.5 MB, free: 6.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.276e-05/0.09599, allocations: 11.94 kB / 460.5 MB, free: 6.059 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.934e-05/0.09603, allocations: 7.984 kB / 460.5 MB, free: 6.051 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.09604, allocations: 11.94 kB / 460.5 MB, free: 6.039 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.322e-05/0.09612, allocations: 96.8 kB / 460.6 MB, free: 5.945 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.09614, allocations: 0 / 460.6 MB, free: 5.945 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002505/0.0964, allocations: 32.06 kB / 460.7 MB, free: 5.914 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 0.0001019/0.09651, allocations: 95.25 kB / 460.8 MB, free: 5.812 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001899/0.09671, allocations: 99.84 kB / 460.9 MB, free: 5.715 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.09671, allocations: 0 / 460.9 MB, free: 5.715 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002402/0.09696, allocations: 162.6 kB / 461 MB, free: 5.543 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.09734, allocations: 36.16 kB / 461.1 MB, free: 5.508 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006139/0.09796, allocations: 404 kB / 461.5 MB, free: 5.07 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.09825, allocations: 0.7084 MB / 462.2 MB, free: 4.336 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.91e-05/0.0983, allocations: 15.44 kB / 462.2 MB, free: 4.32 MB / 334.1 MB Notification: Performance of SimCode: time 2e-07/0.0983, allocations: 0 / 462.2 MB, free: 4.32 MB / 334.1 MB Notification: Performance of Templates: time 0.00339/0.1017, allocations: 1.728 MB / 463.9 MB, free: 2.605 MB / 334.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)