Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.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.TwoMassesFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 106.8 kB / 16.41 MB, free: 6.453 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.001068/0.001068, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.228/1.228, allocations: 222.9 MB / 241 MB, free: 15.16 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.002504/0.002504, allocations: 0.5684 MB / 291.8 MB, free: 14.18 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 63.91 kB / 403.1 MB, free: 32.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07244/0.07359, allocations: 49.6 MB / 452.7 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState): time 0.002324/0.07596, allocations: 1.638 MB / 454.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002426/0.07622, allocations: 95.69 kB / 454.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.885e-05/0.07628, allocations: 0 / 454.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.158e-05/0.07634, allocations: 23.84 kB / 454.4 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.118e-05/0.07645, allocations: 31.7 kB / 454.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000115/0.07657, allocations: 19.92 kB / 454.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.0767, allocations: 111.5 kB / 454.6 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.07683, allocations: 39.95 kB / 454.6 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.556e-05/0.07691, allocations: 47.8 kB / 454.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.244e-05/0.077, allocations: 47.78 kB / 454.7 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.07702, allocations: 8 kB / 454.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.997e-05/0.07705, allocations: 8 kB / 454.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.344e-05/0.07707, allocations: 19.92 kB / 454.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.988e-05/0.07713, allocations: 51.78 kB / 454.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000125/0.07726, allocations: 107.6 kB / 454.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.07727, allocations: 4 kB / 454.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.07728, allocations: 0 / 454.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.07729, 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.0004205/0.07771, allocations: 395.4 kB / 455.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.07775, allocations: 15.89 kB / 455.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.189e-05/0.07778, allocations: 8.844 kB / 455.3 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.07793, allocations: 192.1 kB / 455.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.07795, allocations: 12.56 kB / 455.5 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/0.07798, allocations: 8.375 kB / 455.5 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.07815, allocations: 96.22 kB / 455.6 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.07816, allocations: 0 / 455.6 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.07818, allocations: 4 kB / 455.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.07819, allocations: 4 kB / 455.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.0783, allocations: 55.95 kB / 455.7 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004439/0.07875, allocations: 388.6 kB / 456.1 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/0.07891, allocations: 106.5 kB / 456.2 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.495e-05/0.07897, allocations: 37.02 kB / 456.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.07899, allocations: 4 kB / 456.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.07902, allocations: 34.55 kB / 456.3 MB, free: 10.78 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.022e-06/0.07902, allocations: 0 / 456.3 MB, free: 10.78 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009506/0.07998, allocations: 0.6889 MB / 456.9 MB, free: 9.992 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.08001, allocations: 51.41 kB / 457 MB, free: 9.93 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.197e-05/0.0801, allocations: 125.7 kB / 457.1 MB, free: 9.797 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.08012, allocations: 33.7 kB / 457.1 MB, free: 9.758 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.621e-05/0.08017, allocations: 96.27 kB / 457.2 MB, free: 9.656 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.522e-05/0.08021, allocations: 55.2 kB / 457.3 MB, free: 9.602 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.742e-05/0.08027, allocations: 41.7 kB / 457.3 MB, free: 9.555 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.059e-05/0.08036, allocations: 322.8 kB / 457.7 MB, free: 9.23 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.369e-05/0.08042, allocations: 28 kB / 457.7 MB, free: 9.203 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.416e-05/0.0805, allocations: 70.44 kB / 457.7 MB, free: 9.125 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.a = $START.mass2.a ($START.mass1.a = $START.mass2.a) Notification: Performance of analyzeInitialSystem (initialization): time 0.0004869/0.08099, allocations: 369.9 kB / 458.1 MB, free: 8.723 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.081, allocations: 0 / 458.1 MB, free: 8.723 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001815/0.08119, allocations: 145.5 kB / 458.3 MB, free: 8.574 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.08121, allocations: 4 kB / 458.3 MB, free: 8.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.08122, allocations: 0 / 458.3 MB, free: 8.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.08123, allocations: 7.984 kB / 458.3 MB, free: 8.562 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.0814, allocations: 39.97 kB / 458.3 MB, free: 8.523 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.08141, allocations: 4.031 kB / 458.3 MB, free: 8.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.451e-05/0.08146, allocations: 4 kB / 458.3 MB, free: 8.516 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.08147, allocations: 7.984 kB / 458.3 MB, free: 8.508 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.a = $START.mass2.a. 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.841e-05/0.08157, allocations: 137.7 kB / 458.5 MB, free: 8.363 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.162e-05/0.0816, allocations: 11.89 kB / 458.5 MB, free: 8.352 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.728e-05/0.08165, allocations: 16.78 kB / 458.5 MB, free: 8.332 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.08165, allocations: 4 kB / 458.5 MB, free: 8.328 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.08166, allocations: 0 / 458.5 MB, free: 8.328 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.08167, allocations: 4 kB / 458.5 MB, free: 8.324 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.0005535/0.08223, allocations: 0.594 MB / 459.1 MB, free: 7.637 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.08224, allocations: 0 / 459.1 MB, free: 7.637 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.08236, allocations: 35.92 kB / 459.1 MB, free: 7.602 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.149e-05/0.08246, allocations: 20.94 kB / 459.1 MB, free: 7.578 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.08248, allocations: 7.938 kB / 459.1 MB, free: 7.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008098/0.0833, allocations: 1.367 MB / 460.5 MB, free: 6.066 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.08331, allocations: 0 / 460.5 MB, free: 6.066 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002922/0.08361, allocations: 318.5 kB / 460.8 MB, free: 5.73 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.456e-05/0.08366, allocations: 85.02 kB / 460.9 MB, free: 5.629 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.08368, allocations: 0 / 460.9 MB, free: 5.629 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.705e-05/0.08376, allocations: 8 kB / 460.9 MB, free: 5.621 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.504e-05/0.08379, allocations: 11.92 kB / 460.9 MB, free: 5.609 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-06/0.0838, allocations: 8 kB / 460.9 MB, free: 5.602 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.643e-05/0.08385, allocations: 96.8 kB / 461 MB, free: 5.508 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.08386, allocations: 0 / 461 MB, free: 5.508 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002553/0.08412, allocations: 32.06 kB / 461.1 MB, free: 5.477 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.412e-05/0.0842, allocations: 99.19 kB / 461.2 MB, free: 5.371 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001999/0.0844, allocations: 102.7 kB / 461.3 MB, free: 5.273 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.08442, allocations: 0 / 461.3 MB, free: 5.273 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002075/0.08463, allocations: 166.6 kB / 461.4 MB, free: 5.098 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.08495, allocations: 20.23 kB / 461.4 MB, free: 5.078 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00053/0.08549, allocations: 411.9 kB / 461.8 MB, free: 4.633 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/0.08571, allocations: 0.7084 MB / 462.5 MB, free: 3.898 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.08575, allocations: 19.38 kB / 462.6 MB, free: 3.879 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.08576, allocations: 0 / 462.6 MB, free: 3.879 MB / 334.1 MB Notification: Performance of Templates: time 0.002807/0.08857, allocations: 1.721 MB / 464.3 MB, free: 2.168 MB / 334.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe 2>&1)