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.001085/0.001085, allocations: 108.7 kB / 16.41 MB, free: 6.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.0009812/0.0009812, allocations: 183 kB / 17.34 MB, free: 5.762 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.242/1.242, allocations: 222.9 MB / 241 MB, free: 15.15 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.002627/0.002627, allocations: 0.5672 MB / 291.8 MB, free: 14.19 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 63.89 kB / 403.1 MB, free: 32.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07265/0.07382, allocations: 49.59 MB / 452.7 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent): time 0.00243/0.07629, allocations: 1.665 MB / 454.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002437/0.07655, allocations: 87.69 kB / 454.4 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.137e-05/0.07661, allocations: 7.938 kB / 454.4 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.529e-05/0.07667, allocations: 11.86 kB / 454.5 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.114e-05/0.07676, allocations: 35.7 kB / 454.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001231/0.07689, allocations: 19.98 kB / 454.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.07702, allocations: 111.5 kB / 454.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.07716, allocations: 39.97 kB / 454.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.969e-05/0.07723, allocations: 43.8 kB / 454.7 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.003e-05/0.07732, allocations: 47.72 kB / 454.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.07734, allocations: 8 kB / 454.8 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.04e-05/0.07737, allocations: 8 kB / 454.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.412e-05/0.0774, allocations: 31.91 kB / 454.8 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.612e-05/0.07745, allocations: 43.8 kB / 454.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.07759, allocations: 111.6 kB / 454.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.0776, allocations: 4 kB / 455 MB, free: 12.24 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.0776, allocations: 0 / 455 MB, free: 12.24 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.07762, allocations: 0 / 455 MB, free: 12.24 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.0004303/0.07805, allocations: 391.4 kB / 455.3 MB, free: 11.81 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.882e-05/0.07809, allocations: 15.89 kB / 455.4 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.56e-05/0.07813, allocations: 12.84 kB / 455.4 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.07828, allocations: 188.2 kB / 455.5 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.0783, allocations: 8.562 kB / 455.6 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.503e-05/0.07833, allocations: 8.375 kB / 455.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.0785, allocations: 93.97 kB / 455.7 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.07852, allocations: 0 / 455.7 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.07854, allocations: 4 kB / 455.7 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.07855, allocations: 4 kB / 455.7 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.07866, allocations: 59.95 kB / 455.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004687/0.07914, allocations: 392.5 kB / 456.1 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.07931, allocations: 98.48 kB / 456.2 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.759e-05/0.07938, allocations: 33.08 kB / 456.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.0794, allocations: 7.938 kB / 456.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.07943, allocations: 38.55 kB / 456.3 MB, free: 10.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.183e-06/0.07943, allocations: 0 / 456.3 MB, free: 10.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009797/0.08042, allocations: 0.6857 MB / 457 MB, free: 9.969 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.08046, allocations: 55.41 kB / 457 MB, free: 9.902 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.547e-05/0.08055, allocations: 125.7 kB / 457.1 MB, free: 9.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.08058, allocations: 29.7 kB / 457.2 MB, free: 9.734 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.219e-05/0.08063, allocations: 104.3 kB / 457.3 MB, free: 9.625 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.438e-05/0.08067, allocations: 51.2 kB / 457.3 MB, free: 9.574 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.613e-05/0.08072, allocations: 37.7 kB / 457.4 MB, free: 9.531 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.08084, allocations: 318.8 kB / 457.7 MB, free: 9.211 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.621e-05/0.0809, allocations: 31.98 kB / 457.7 MB, free: 9.18 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.259e-05/0.08098, allocations: 68.31 kB / 457.8 MB, free: 9.105 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.0006638/0.08165, allocations: 417.4 kB / 458.2 MB, free: 8.656 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.08166, allocations: 11.94 kB / 458.2 MB, free: 8.645 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002401/0.08191, allocations: 162.2 kB / 458.3 MB, free: 8.477 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.08193, allocations: 8 kB / 458.4 MB, free: 8.469 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.08194, allocations: 0 / 458.4 MB, free: 8.469 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001129/0.08206, allocations: 24.84 kB / 458.4 MB, free: 8.441 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.112e-05/0.08216, allocations: 31.92 kB / 458.4 MB, free: 8.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001119/0.08328, allocations: 1.611 MB / 460 MB, free: 6.652 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.649e-05/0.08334, allocations: 4 kB / 460 MB, free: 6.648 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-06/0.08336, allocations: 8.094 kB / 460 MB, free: 6.641 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 9.63e-05/0.08346, allocations: 137.7 kB / 460.2 MB, free: 6.496 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.166e-05/0.0835, allocations: 11.81 kB / 460.2 MB, free: 6.484 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.885e-05/0.08353, allocations: 16.84 kB / 460.2 MB, free: 6.473 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.08354, allocations: 0 / 460.2 MB, free: 6.473 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.08355, allocations: 4 kB / 460.2 MB, free: 6.469 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.08355, allocations: 0 / 460.2 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.0006102/0.08417, allocations: 0.598 MB / 460.8 MB, free: 5.777 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.08418, allocations: 3.938 kB / 460.8 MB, free: 5.773 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.0843, allocations: 27.98 kB / 460.8 MB, free: 5.746 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.645e-05/0.08438, allocations: 16.84 kB / 460.8 MB, free: 5.727 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.0844, allocations: 8.062 kB / 460.9 MB, free: 5.719 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008245/0.08523, allocations: 1.375 MB / 462.2 MB, free: 4.207 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.08524, allocations: 0 / 462.2 MB, free: 4.207 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003031/0.08555, allocations: 314.3 kB / 462.5 MB, free: 3.875 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.582e-05/0.08561, allocations: 85.17 kB / 462.6 MB, free: 3.773 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.08563, allocations: 8 kB / 462.6 MB, free: 3.766 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.639e-05/0.08571, allocations: 7.938 kB / 462.6 MB, free: 3.758 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.232e-05/0.08574, allocations: 11.98 kB / 462.6 MB, free: 3.746 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.08575, allocations: 8 kB / 462.7 MB, free: 3.738 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.877e-05/0.0858, allocations: 95.2 kB / 462.7 MB, free: 3.645 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.08581, allocations: 0 / 462.7 MB, free: 3.645 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002879/0.0861, allocations: 32 kB / 462.8 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 8.267e-05/0.08619, allocations: 99.25 kB / 462.9 MB, free: 3.504 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000358/0.08655, allocations: 222.6 kB / 463.1 MB, free: 3.273 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.08657, allocations: 0 / 463.1 MB, free: 3.273 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001687/0.08674, allocations: 162.6 kB / 463.2 MB, free: 3.102 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.08706, allocations: 25.11 kB / 463.3 MB, free: 3.078 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005899/0.08766, allocations: 425.1 kB / 463.7 MB, free: 2.621 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.08791, allocations: 0.7124 MB / 464.4 MB, free: 1.883 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.326e-05/0.08795, allocations: 15.44 kB / 464.4 MB, free: 1.867 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.08796, allocations: 0 / 464.4 MB, free: 1.867 MB / 334.1 MB Notification: Performance of Templates: time 0.003255/0.09122, allocations: 1.974 MB / 466.4 MB, free: 15.91 MB / 350.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)