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.006998/0.006998, allocations: 102 kB / 15.73 MB, free: 6.035 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.001595/0.001595, allocations: 187.9 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.002546/0.002546, allocations: 0.5585 MB / 291.1 MB, free: 1.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 61.45 kB / 402.4 MB, free: 9.395 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08984/0.09114, allocations: 49.61 MB / 452 MB, free: 5.355 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState): time 0.002489/0.09366, allocations: 1.652 MB / 453.7 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002465/0.09392, allocations: 99.67 kB / 453.8 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.173e-05/0.09399, allocations: 0 / 453.8 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.083e-05/0.09404, allocations: 15.86 kB / 453.8 MB, free: 3.582 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.547e-05/0.09415, allocations: 31.7 kB / 453.8 MB, free: 3.551 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001245/0.09428, allocations: 19.97 kB / 453.8 MB, free: 3.531 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.09442, allocations: 111.5 kB / 453.9 MB, free: 3.422 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.09455, allocations: 35.97 kB / 454 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.716e-05/0.09463, allocations: 43.86 kB / 454 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.672e-05/0.09472, allocations: 39.84 kB / 454 MB, free: 3.305 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.09474, allocations: 8 kB / 454.1 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.813e-05/0.09477, allocations: 8 kB / 454.1 MB, free: 3.289 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.753e-05/0.0948, allocations: 23.92 kB / 454.1 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.174e-05/0.09487, allocations: 51.73 kB / 454.1 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.095, allocations: 103.7 kB / 454.2 MB, free: 3.113 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.09501, allocations: 0 / 454.2 MB, free: 3.113 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.09502, allocations: 0 / 454.2 MB, free: 3.113 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.09503, allocations: 4 kB / 454.2 MB, free: 3.109 MB / 318.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.0004845/0.09552, allocations: 403.3 kB / 454.6 MB, free: 2.664 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.09556, allocations: 15.89 kB / 454.6 MB, free: 2.648 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.839e-05/0.0956, allocations: 8.844 kB / 454.7 MB, free: 2.641 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.09577, allocations: 188.2 kB / 454.8 MB, free: 2.418 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.09579, allocations: 8.562 kB / 454.9 MB, free: 2.41 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/0.09582, allocations: 12.3 kB / 454.9 MB, free: 2.398 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.096, allocations: 99.3 kB / 455 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.09603, allocations: 0 / 455 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.09605, allocations: 15.91 kB / 455 MB, free: 2.281 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.09606, allocations: 4 kB / 455 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.09617, allocations: 55.91 kB / 455 MB, free: 2.223 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005025/0.09668, allocations: 380.6 kB / 455.4 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.09686, allocations: 102.5 kB / 455.5 MB, free: 1.691 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.78e-05/0.09692, allocations: 32.86 kB / 455.5 MB, free: 1.656 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.09694, allocations: 7.984 kB / 455.5 MB, free: 1.648 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.09696, allocations: 34.5 kB / 455.6 MB, free: 1.605 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.132e-06/0.09697, allocations: 0 / 455.6 MB, free: 1.605 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.001038/0.09801, allocations: 0.6888 MB / 456.3 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/0.09805, allocations: 51.41 kB / 456.3 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.651e-05/0.09815, allocations: 126 kB / 456.4 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.09817, allocations: 25.7 kB / 456.5 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.228e-05/0.09824, allocations: 104.3 kB / 456.6 MB, free: 500 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.775e-05/0.09829, allocations: 59.19 kB / 456.6 MB, free: 440 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.787e-05/0.09835, allocations: 37.7 kB / 456.7 MB, free: 396 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.9e-05/0.09846, allocations: 326.8 kB / 457 MB, free: 60 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.039e-05/0.09852, allocations: 31.98 kB / 457 MB, free: 28 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.89e-05/0.09863, allocations: 64.31 kB / 457.1 MB, free: 15.95 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.0005239/0.09916, allocations: 372.9 kB / 457.4 MB, free: 15.55 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-06/0.09917, allocations: 0 / 457.4 MB, free: 15.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002013/0.09937, allocations: 145.5 kB / 457.6 MB, free: 15.4 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.0994, allocations: 4 kB / 457.6 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.0994, allocations: 0 / 457.6 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.09942, allocations: 4 kB / 457.6 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.0996, allocations: 39.91 kB / 457.6 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.09962, allocations: 3.938 kB / 457.6 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.075e-05/0.09967, allocations: 12.03 kB / 457.6 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.09969, allocations: 4 kB / 457.6 MB, free: 15.33 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 0.0001015/0.09979, allocations: 133.7 kB / 457.8 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.238e-05/0.09983, allocations: 11.84 kB / 457.8 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.912e-05/0.09988, allocations: 12.84 kB / 457.8 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.09989, allocations: 4 kB / 457.8 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.0999, allocations: 0 / 457.8 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.0999, allocations: 0 / 457.8 MB, free: 15.16 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.0006461/0.1006, allocations: 0.5979 MB / 458.4 MB, free: 14.47 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1006, allocations: 0 / 458.4 MB, free: 14.47 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/0.1007, allocations: 23.98 kB / 458.4 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.618e-05/0.1008, allocations: 29.03 kB / 458.5 MB, free: 14.42 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.1008, allocations: 3.938 kB / 458.5 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009207/0.1018, allocations: 1.367 MB / 459.8 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1018, allocations: 7.969 kB / 459.8 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003415/0.1021, allocations: 310.5 kB / 460.1 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.83e-05/0.1022, allocations: 85.14 kB / 460.2 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.1022, allocations: 8 kB / 460.2 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.121e-05/0.1023, allocations: 4 kB / 460.2 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.447e-05/0.1023, allocations: 19.86 kB / 460.3 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.1023, allocations: 4 kB / 460.3 MB, free: 12.44 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.897e-05/0.1024, allocations: 95.27 kB / 460.3 MB, free: 12.34 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1024, allocations: 4 kB / 460.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002708/0.1027, allocations: 28 kB / 460.4 MB, free: 12.31 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.287e-05/0.1028, allocations: 95.25 kB / 460.5 MB, free: 12.21 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002179/0.103, allocations: 107.8 kB / 460.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.103, allocations: 0 / 460.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002365/0.1033, allocations: 166.6 kB / 460.7 MB, free: 11.93 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.1036, allocations: 23.28 kB / 460.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005677/0.1042, allocations: 386.2 kB / 461.1 MB, free: 11.5 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.1044, allocations: 0.7045 MB / 461.8 MB, free: 10.77 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.823e-05/0.1045, allocations: 17.02 kB / 461.9 MB, free: 10.75 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.492e-05/0.1045, allocations: 15.44 kB / 461.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1045, allocations: 0 / 461.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of Templates: time 0.003735/0.1083, allocations: 1.397 MB / 463.3 MB, free: 9.391 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)