Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/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) 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) Running command: translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 182.8 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 222.9 MB / 239.7 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 103.8 kB / 289.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.002807/0.002807, allocations: 0.5623 MB / 340.6 MB, free: 8.215 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001079/0.001079, allocations: 63.16 kB / 400.9 MB, free: 66.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07754/0.07864, allocations: 49.59 MB / 450.5 MB, free: 16.48 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial): time 0.001661/0.08033, allocations: 0.5755 MB / 451.1 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001283/0.08048, allocations: 31.89 kB / 451.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.101e-05/0.08051, allocations: 0 / 451.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.423e-05/0.08053, allocations: 0 / 451.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.943e-05/0.08059, allocations: 3.938 kB / 451.1 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001137/0.08071, allocations: 8 kB / 451.2 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.096e-05/0.08076, allocations: 19.98 kB / 451.2 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.337e-05/0.08082, allocations: 0 / 451.2 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.216e-05/0.08085, allocations: 11.94 kB / 451.2 MB, free: 15.83 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.151e-05/0.08092, allocations: 11.92 kB / 451.2 MB, free: 15.82 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.08094, allocations: 0 / 451.2 MB, free: 15.82 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.009e-05/0.08095, allocations: 4 kB / 451.2 MB, free: 15.82 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.763e-05/0.08098, allocations: 7.984 kB / 451.2 MB, free: 15.81 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.634e-05/0.08101, allocations: 15.92 kB / 451.2 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 4.878e-05/0.08106, allocations: 11.92 kB / 451.2 MB, free: 15.78 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.08107, allocations: 3.938 kB / 451.2 MB, free: 15.78 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.08108, allocations: 0 / 451.2 MB, free: 15.78 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.08109, allocations: 4 kB / 451.2 MB, free: 15.77 MB / 298.7 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.0002869/0.08138, allocations: 331.8 kB / 451.6 MB, free: 15.4 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.08143, allocations: 8.031 kB / 451.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.08147, allocations: 4.938 kB / 451.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.211e-05/0.08156, allocations: 168.3 kB / 451.7 MB, free: 15.18 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.08158, allocations: 4.375 kB / 451.8 MB, free: 15.18 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.08161, allocations: 12.27 kB / 451.8 MB, free: 15.17 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.08172, allocations: 44.61 kB / 451.8 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.08174, allocations: 4.188 kB / 451.8 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.08176, allocations: 11.94 kB / 451.8 MB, free: 15.11 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.08177, allocations: 0 / 451.8 MB, free: 15.11 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.071e-05/0.08181, allocations: 11.98 kB / 451.8 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002887/0.08211, allocations: 237 kB / 452.1 MB, free: 14.81 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.08223, allocations: 62.56 kB / 452.1 MB, free: 14.74 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.186e-05/0.08226, allocations: 28.91 kB / 452.2 MB, free: 14.71 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.08228, allocations: 0 / 452.2 MB, free: 14.71 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.578e-05/0.08231, allocations: 34.56 kB / 452.2 MB, free: 14.67 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 9.11e-07/0.08231, allocations: 0 / 452.2 MB, free: 14.67 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006265/0.08294, allocations: 0.4981 MB / 452.7 MB, free: 14.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.08298, allocations: 55.41 kB / 452.7 MB, free: 14.01 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.249e-05/0.08305, allocations: 101.8 kB / 452.8 MB, free: 13.9 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.217e-06/0.08307, allocations: 29.64 kB / 452.9 MB, free: 13.86 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.522e-05/0.0831, allocations: 80.14 kB / 452.9 MB, free: 13.78 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.277e-05/0.08314, allocations: 27.64 kB / 453 MB, free: 13.75 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.439e-05/0.08318, allocations: 25.72 kB / 453 MB, free: 13.72 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.752e-05/0.08324, allocations: 318.8 kB / 453.3 MB, free: 13.4 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.309e-05/0.08328, allocations: 27.92 kB / 453.3 MB, free: 13.38 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.437e-05/0.08332, allocations: 33.7 kB / 453.4 MB, free: 13.34 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002517/0.08358, allocations: 235.9 kB / 453.6 MB, free: 13.06 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.08359, allocations: 0 / 453.6 MB, free: 13.06 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001406/0.08374, allocations: 99.48 kB / 453.7 MB, free: 12.96 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.08376, allocations: 8 kB / 453.7 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.08377, allocations: 0 / 453.7 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001025/0.08388, allocations: 36.7 kB / 453.7 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.098e-05/0.08395, allocations: 12 kB / 453.8 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007306/0.08468, allocations: 1.296 MB / 455 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.331e-05/0.08472, allocations: 7.938 kB / 455.1 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.08473, allocations: 4.031 kB / 455.1 MB, free: 11.45 MB / 298.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: x1 = 0.0 v1 = 0.0. 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 (8): * Single equations (assignments): 7 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001315/0.08487, allocations: 105.8 kB / 455.2 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/0.0849, allocations: 11.94 kB / 455.2 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.357e-05/0.08493, allocations: 7.969 kB / 455.2 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.08493, allocations: 0 / 455.2 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.08494, allocations: 0 / 455.2 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.08495, allocations: 8.062 kB / 455.2 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003235/0.08528, allocations: 361.8 kB / 455.5 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.207e-06/0.0853, allocations: 4 kB / 455.5 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.725e-05/0.08535, allocations: 7.984 kB / 455.6 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.355e-05/0.08542, allocations: 28.78 kB / 455.6 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.08544, allocations: 4.094 kB / 455.6 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006225/0.08607, allocations: 1.28 MB / 456.9 MB, free: 9.426 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.08608, allocations: 7.969 kB / 456.9 MB, free: 9.418 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001557/0.08765, allocations: 2.478 MB / 459.4 MB, free: 6.652 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.487e-05/0.08769, allocations: 81.14 kB / 459.4 MB, free: 6.555 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.686e-06/0.0877, allocations: 7.938 kB / 459.4 MB, free: 6.547 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.525e-05/0.08776, allocations: 4 kB / 459.4 MB, free: 6.543 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.927e-05/0.0878, allocations: 7.984 kB / 459.5 MB, free: 6.535 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.08781, allocations: 0 / 459.5 MB, free: 6.535 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.845e-05/0.08784, allocations: 91.42 kB / 459.5 MB, free: 6.445 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.08785, allocations: 0 / 459.5 MB, free: 6.445 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003277/0.08818, allocations: 19.94 kB / 459.6 MB, free: 6.426 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (x2,v2) * 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 (6): * Single equations (assignments): 5 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001056/0.08829, allocations: 95.19 kB / 459.7 MB, free: 6.324 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002815/0.08858, allocations: 162.6 kB / 459.8 MB, free: 6.152 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.283e-06/0.0886, allocations: 0 / 459.8 MB, free: 6.152 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.08874, allocations: 150.6 kB / 460 MB, free: 5.992 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.08898, allocations: 8.656 kB / 460 MB, free: 5.984 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004108/0.08939, allocations: 425.8 kB / 460.4 MB, free: 5.504 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/0.08952, allocations: 0.6887 MB / 461.1 MB, free: 4.789 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.525e-05/0.08955, allocations: 4 kB / 461.1 MB, free: 4.785 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.816e-05/0.08957, allocations: 11.44 kB / 461.1 MB, free: 4.773 MB / 298.7 MB Notification: Performance of SimCode: time 3.11e-07/0.08958, allocations: 3.938 kB / 461.1 MB, free: 4.77 MB / 298.7 MB Notification: Performance of Templates: time 0.00297/0.09255, allocations: 0.8888 MB / 462 MB, free: 3.926 MB / 298.7 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe 2>&1)