Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.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.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent") translateModel(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0047/0.0047, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001243/0.001243, allocations: 192.1 kB / 16.67 MB, free: 5.969 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.002923/0.002923, allocations: 0.5643 MB / 291.1 MB, free: 14.18 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001101/0.001101, allocations: 63.89 kB / 402.4 MB, free: 32.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07592/0.07704, allocations: 49.58 MB / 452 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent): time 0.002615/0.0797, allocations: 1.657 MB / 453.7 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002519/0.07997, allocations: 103.6 kB / 453.8 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.193e-05/0.08003, allocations: 4 kB / 453.8 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.914e-05/0.08009, allocations: 15.86 kB / 453.8 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.21e-05/0.08018, allocations: 31.66 kB / 453.8 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001102/0.08031, allocations: 19.97 kB / 453.8 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.08044, allocations: 107.5 kB / 453.9 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.08058, allocations: 35.97 kB / 454 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.703e-05/0.08064, allocations: 47.86 kB / 454 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.418e-05/0.08073, allocations: 39.78 kB / 454.1 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.08076, allocations: 8 kB / 454.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.038e-05/0.08079, allocations: 8 kB / 454.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.599e-05/0.08082, allocations: 27.91 kB / 454.1 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.816e-05/0.08088, allocations: 43.8 kB / 454.1 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001424/0.08103, allocations: 115.5 kB / 454.3 MB, free: 12.26 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.08104, allocations: 0 / 454.3 MB, free: 12.26 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.08104, allocations: 0 / 454.3 MB, free: 12.26 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.08105, allocations: 0 / 454.3 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.0004779/0.08153, allocations: 403.2 kB / 454.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.08158, allocations: 11.89 kB / 454.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.854e-05/0.08162, allocations: 12.83 kB / 454.7 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.0818, allocations: 192.2 kB / 454.9 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.08182, allocations: 8.562 kB / 454.9 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.771e-05/0.08185, allocations: 8.375 kB / 454.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.08205, allocations: 100.2 kB / 455 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.08207, allocations: 4 kB / 455 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.08209, allocations: 7.938 kB / 455 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.0821, allocations: 0 / 455 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.08221, allocations: 59.97 kB / 455.1 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005155/0.08273, allocations: 384.6 kB / 455.4 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.08291, allocations: 102.5 kB / 455.5 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.997e-05/0.08298, allocations: 44.84 kB / 455.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.986e-06/0.08299, allocations: 0 / 455.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.08302, allocations: 30.56 kB / 455.6 MB, free: 10.76 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 9.22e-07/0.08303, allocations: 0 / 455.6 MB, free: 10.76 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001016/0.08405, allocations: 0.7009 MB / 456.3 MB, free: 9.961 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.08409, allocations: 55.41 kB / 456.4 MB, free: 9.895 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.679e-05/0.08419, allocations: 121.8 kB / 456.5 MB, free: 9.766 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.08421, allocations: 25.7 kB / 456.5 MB, free: 9.734 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.378e-05/0.08427, allocations: 104.3 kB / 456.6 MB, free: 9.625 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.619e-05/0.08432, allocations: 55.48 kB / 456.7 MB, free: 9.57 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.813e-05/0.08438, allocations: 33.7 kB / 456.7 MB, free: 9.531 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.941e-05/0.08449, allocations: 326.8 kB / 457 MB, free: 9.203 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.965e-05/0.08455, allocations: 39.98 kB / 457 MB, free: 9.164 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.039e-05/0.08464, allocations: 54.56 kB / 457.1 MB, free: 9.102 MB / 334.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass1.v = $START.mass1.v ($START.mass2.v = $START.mass1.v) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass2.s = $START.mass2.s ($START.mass1.s + 0.5 * (mass1.L + mass2.L) = $START.mass2.s) Notification: Performance of analyzeInitialSystem (initialization): time 0.0006899/0.08533, allocations: 417 kB / 457.5 MB, free: 8.652 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.08534, allocations: 0 / 457.5 MB, free: 8.652 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002581/0.08561, allocations: 166.3 kB / 457.7 MB, free: 8.48 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.08563, allocations: 8 kB / 457.7 MB, free: 8.473 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.08564, allocations: 0 / 457.7 MB, free: 8.473 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001171/0.08576, allocations: 32.78 kB / 457.7 MB, free: 8.438 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.999e-05/0.08587, allocations: 32.02 kB / 457.7 MB, free: 8.406 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001135/0.08702, allocations: 1.603 MB / 459.3 MB, free: 6.656 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.896e-05/0.08708, allocations: 4 kB / 459.3 MB, free: 6.652 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/0.08709, allocations: 4.031 kB / 459.4 MB, free: 6.648 MB / 334.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: mass1.v = $START.mass1.v mass2.s = $START.mass2.s. 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 0.0001053/0.08721, allocations: 137.6 kB / 459.5 MB, free: 6.504 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.217e-05/0.08724, allocations: 11.95 kB / 459.5 MB, free: 6.492 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.192e-05/0.08728, allocations: 16.84 kB / 459.5 MB, free: 6.48 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.08729, allocations: 4.062 kB / 459.5 MB, free: 6.477 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.0873, allocations: 4 kB / 459.5 MB, free: 6.473 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.08731, allocations: 4.125 kB / 459.5 MB, free: 6.469 MB / 334.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006213/0.08793, allocations: 0.5944 MB / 460.1 MB, free: 5.781 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.299e-06/0.08795, allocations: 7.875 kB / 460.1 MB, free: 5.773 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.08807, allocations: 32.02 kB / 460.2 MB, free: 5.742 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.499e-05/0.08815, allocations: 24.86 kB / 460.2 MB, free: 5.715 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.08817, allocations: 4 kB / 460.2 MB, free: 5.711 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008167/0.08899, allocations: 1.371 MB / 461.6 MB, free: 4.203 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.08901, allocations: 4.031 kB / 461.6 MB, free: 4.199 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003218/0.08934, allocations: 302.8 kB / 461.9 MB, free: 3.875 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.666e-05/0.08938, allocations: 85.09 kB / 461.9 MB, free: 3.773 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.08941, allocations: 7.984 kB / 461.9 MB, free: 3.766 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.309e-05/0.08951, allocations: 7.938 kB / 462 MB, free: 3.758 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.862e-05/0.08954, allocations: 11.98 kB / 462 MB, free: 3.746 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.08955, allocations: 4 kB / 462 MB, free: 3.742 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.4e-05/0.08961, allocations: 95.33 kB / 462.1 MB, free: 3.648 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.08962, allocations: 4 kB / 462.1 MB, free: 3.645 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003026/0.08993, allocations: 32 kB / 462.1 MB, free: 3.613 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass2.s,mass2.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 7.837e-05/0.09001, allocations: 98.06 kB / 462.2 MB, free: 3.508 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003804/0.0904, allocations: 234.4 kB / 462.4 MB, free: 3.27 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.09041, allocations: 0 / 462.4 MB, free: 3.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001756/0.09059, allocations: 170.6 kB / 462.6 MB, free: 3.09 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.09093, allocations: 29.05 kB / 462.6 MB, free: 3.066 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005867/0.09153, allocations: 397.9 kB / 463 MB, free: 2.641 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.09178, allocations: 0.7046 MB / 463.7 MB, free: 1.91 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.389e-05/0.09183, allocations: 13.08 kB / 463.7 MB, free: 1.895 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.022e-05/0.09186, allocations: 15.44 kB / 463.7 MB, free: 1.879 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.09187, allocations: 0 / 463.7 MB, free: 1.879 MB / 334.1 MB Notification: Performance of Templates: time 0.003722/0.0956, allocations: 1.477 MB / 465.2 MB, free: 468 kB / 334.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe 2>&1)