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.005742/0.005742, allocations: 101.8 kB / 15.73 MB, free: 5.492 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.00121/0.00121, allocations: 187.1 kB / 16.67 MB, free: 5.422 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.00435/0.00435, allocations: 0.5672 MB / 291.1 MB, free: 14.17 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 59.89 kB / 402.4 MB, free: 32.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07579/0.07701, allocations: 49.59 MB / 452 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent): time 0.002588/0.07964, allocations: 1.661 MB / 453.7 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002437/0.07991, allocations: 91.69 kB / 453.8 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.255e-05/0.07997, allocations: 4 kB / 453.8 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.775e-05/0.08002, allocations: 11.86 kB / 453.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.08014, allocations: 31.7 kB / 453.8 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000115/0.08026, allocations: 23.97 kB / 453.8 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.08039, allocations: 103.5 kB / 453.9 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.08053, allocations: 47.97 kB / 454 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.741e-05/0.08059, allocations: 35.86 kB / 454 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.934e-05/0.08069, allocations: 51.72 kB / 454.1 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.925e-05/0.08072, allocations: 8 kB / 454.1 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.862e-05/0.08075, allocations: 8 kB / 454.1 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.614e-05/0.08078, allocations: 23.91 kB / 454.1 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.366e-05/0.08084, allocations: 47.8 kB / 454.2 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.08098, allocations: 107.6 kB / 454.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.08099, allocations: 0 / 454.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.08099, allocations: 0 / 454.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.081, allocations: 0 / 454.3 MB, free: 12.25 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.0004762/0.0815, allocations: 399.4 kB / 454.6 MB, free: 11.8 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.08153, allocations: 19.83 kB / 454.7 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.494e-05/0.08157, allocations: 8.844 kB / 454.7 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.08175, allocations: 192.2 kB / 454.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.08177, allocations: 4.562 kB / 454.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.778e-05/0.0818, allocations: 8.375 kB / 454.9 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.08199, allocations: 100.3 kB / 455 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.08201, allocations: 8 kB / 455 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.08203, allocations: 0 / 455 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.08204, allocations: 4 kB / 455 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.08215, allocations: 55.97 kB / 455 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005064/0.08267, allocations: 392.5 kB / 455.4 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.08285, allocations: 106.5 kB / 455.5 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.375e-05/0.08293, allocations: 45 kB / 455.6 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.08294, allocations: 0 / 455.6 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.08297, allocations: 34.56 kB / 455.6 MB, free: 10.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.272e-06/0.08298, allocations: 0 / 455.6 MB, free: 10.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001064/0.08405, allocations: 0.6851 MB / 456.3 MB, free: 9.953 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.0841, allocations: 51.41 kB / 456.3 MB, free: 9.891 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.182e-05/0.08419, allocations: 129.7 kB / 456.5 MB, free: 9.754 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.08422, allocations: 29.7 kB / 456.5 MB, free: 9.719 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.213e-05/0.08429, allocations: 100.3 kB / 456.6 MB, free: 9.613 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.903e-05/0.08433, allocations: 55.19 kB / 456.6 MB, free: 9.559 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.146e-05/0.08439, allocations: 33.72 kB / 456.7 MB, free: 9.52 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.909e-05/0.08449, allocations: 322.8 kB / 457 MB, free: 9.195 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.916e-05/0.08457, allocations: 35.98 kB / 457 MB, free: 9.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.412e-05/0.08466, allocations: 62.52 kB / 457.1 MB, free: 9.09 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.0007888/0.08545, allocations: 417.1 kB / 457.5 MB, free: 8.641 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.08547, allocations: 0 / 457.5 MB, free: 8.641 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002654/0.08574, allocations: 166.2 kB / 457.7 MB, free: 8.469 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.08576, allocations: 4 kB / 457.7 MB, free: 8.465 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.08577, allocations: 0 / 457.7 MB, free: 8.465 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001289/0.08591, allocations: 36.81 kB / 457.7 MB, free: 8.426 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.952e-05/0.08602, allocations: 23.98 kB / 457.7 MB, free: 8.402 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001272/0.0873, allocations: 1.623 MB / 459.3 MB, free: 6.633 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.437e-05/0.08737, allocations: 4 kB / 459.4 MB, free: 6.629 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.08738, allocations: 4 kB / 459.4 MB, free: 6.625 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.0001162/0.08751, allocations: 133.7 kB / 459.5 MB, free: 6.484 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.783e-05/0.08755, allocations: 11.81 kB / 459.5 MB, free: 6.473 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.3e-05/0.08759, allocations: 16.91 kB / 459.5 MB, free: 6.461 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.0876, allocations: 7.984 kB / 459.5 MB, free: 6.453 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.08761, allocations: 0 / 459.5 MB, free: 6.453 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.08762, allocations: 0 / 459.5 MB, free: 6.453 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.0006706/0.08829, allocations: 0.5941 MB / 460.1 MB, free: 5.766 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.08831, allocations: 3.938 kB / 460.1 MB, free: 5.762 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.08845, allocations: 36.02 kB / 460.2 MB, free: 5.727 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.908e-05/0.08852, allocations: 16.86 kB / 460.2 MB, free: 5.707 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.08855, allocations: 4 kB / 460.2 MB, free: 5.703 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009206/0.08947, allocations: 1.367 MB / 461.5 MB, free: 4.199 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.08949, allocations: 3.938 kB / 461.5 MB, free: 4.195 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003527/0.08985, allocations: 306.7 kB / 461.8 MB, free: 3.867 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.608e-05/0.0899, allocations: 89.03 kB / 461.9 MB, free: 3.762 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.08993, allocations: 4 kB / 461.9 MB, free: 3.758 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.04e-05/0.09002, allocations: 7.938 kB / 461.9 MB, free: 3.75 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.301e-05/0.09006, allocations: 11.98 kB / 462 MB, free: 3.738 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.617e-06/0.09008, allocations: 4 kB / 462 MB, free: 3.734 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.535e-05/0.09015, allocations: 104.9 kB / 462.1 MB, free: 3.633 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.09016, allocations: 0 / 462.1 MB, free: 3.633 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003371/0.0905, allocations: 28 kB / 462.1 MB, free: 3.605 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 0.0001145/0.09062, allocations: 95.25 kB / 462.2 MB, free: 3.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004537/0.09108, allocations: 230.2 kB / 462.4 MB, free: 3.266 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.0911, allocations: 8.062 kB / 462.4 MB, free: 3.258 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001957/0.0913, allocations: 162.6 kB / 462.6 MB, free: 3.086 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.09168, allocations: 31.19 kB / 462.6 MB, free: 3.059 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007213/0.09241, allocations: 390.8 kB / 463 MB, free: 2.641 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.09272, allocations: 0.7046 MB / 463.7 MB, free: 1.91 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.924e-05/0.09279, allocations: 17.08 kB / 463.7 MB, free: 1.891 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.316e-05/0.09282, allocations: 15.44 kB / 463.7 MB, free: 1.875 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.09283, allocations: 0 / 463.7 MB, free: 1.875 MB / 334.1 MB Notification: Performance of Templates: time 0.00428/0.09712, allocations: 1.467 MB / 465.2 MB, free: 476 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)