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.001282/0.001282, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001303/0.001303, allocations: 195.9 kB / 16.14 MB, free: 6.664 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.459/1.459, allocations: 222.9 MB / 239.8 MB, free: 4.594 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.003358/0.003358, allocations: 0.5624 MB / 290.5 MB, free: 1.91 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 60.14 kB / 350.9 MB, free: 2.777 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.118, allocations: 49.6 MB / 400.5 MB, free: 1.141 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent): time 0.2486/0.3666, allocations: 1.706 MB / 402.2 MB, free: 9.93 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002732/0.3669, allocations: 95.19 kB / 402.3 MB, free: 9.895 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.004e-05/0.367, allocations: 2.562 kB / 402.3 MB, free: 9.895 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.096e-05/0.3671, allocations: 9.578 kB / 402.3 MB, free: 9.891 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.3672, allocations: 27.88 kB / 402.3 MB, free: 9.875 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001426/0.3674, allocations: 28.06 kB / 402.3 MB, free: 9.871 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001461/0.3676, allocations: 104.3 kB / 402.4 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.3677, allocations: 29 kB / 402.5 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.494e-05/0.3678, allocations: 31.62 kB / 402.5 MB, free: 9.832 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.3679, allocations: 48.03 kB / 402.5 MB, free: 9.816 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.266e-05/0.3679, allocations: 9.594 kB / 402.5 MB, free: 9.816 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.53e-05/0.368, allocations: 5.812 kB / 402.6 MB, free: 9.816 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.777e-05/0.368, allocations: 17.69 kB / 402.6 MB, free: 9.812 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.135e-05/0.3681, allocations: 44.89 kB / 402.6 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001914/0.3683, allocations: 107.8 kB / 402.7 MB, free: 9.777 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3683, allocations: 0 / 402.7 MB, free: 9.777 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3683, allocations: 0.6562 kB / 402.7 MB, free: 9.777 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.3683, allocations: 4.531 kB / 402.7 MB, free: 9.773 MB / 286.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.0005028/0.3688, allocations: 398.4 kB / 403.1 MB, free: 9.395 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.3689, allocations: 9.438 kB / 403.1 MB, free: 9.395 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.748e-05/0.3689, allocations: 23.52 kB / 403.1 MB, free: 9.383 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.3691, allocations: 182.9 kB / 403.3 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.3691, allocations: 7.812 kB / 403.3 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.122e-05/0.3691, allocations: 13.72 kB / 403.3 MB, free: 9.18 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002139/0.3694, allocations: 97.48 kB / 403.4 MB, free: 9.141 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.3694, allocations: 1.125 kB / 403.4 MB, free: 9.141 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.3694, allocations: 5.344 kB / 403.4 MB, free: 9.141 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.3694, allocations: 3.062 kB / 403.5 MB, free: 9.141 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/0.3696, allocations: 58 kB / 403.5 MB, free: 9.141 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005735/0.3701, allocations: 396.5 kB / 403.9 MB, free: 8.844 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.3703, allocations: 96.61 kB / 404 MB, free: 8.82 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.231e-05/0.3704, allocations: 36.53 kB / 404 MB, free: 8.812 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.3704, allocations: 1.688 kB / 404 MB, free: 8.812 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.3705, allocations: 40 kB / 404.1 MB, free: 8.77 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.874e-06/0.3705, allocations: 0 / 404.1 MB, free: 8.77 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.001154/0.3716, allocations: 0.6888 MB / 404.8 MB, free: 8.293 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.3717, allocations: 54.62 kB / 404.8 MB, free: 8.23 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.654e-05/0.3718, allocations: 125.9 kB / 404.9 MB, free: 8.129 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.3718, allocations: 26.86 kB / 405 MB, free: 8.098 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.125e-05/0.3719, allocations: 102 kB / 405.1 MB, free: 8.008 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.932e-05/0.3719, allocations: 54.17 kB / 405.1 MB, free: 7.973 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.942e-05/0.372, allocations: 30.86 kB / 405.1 MB, free: 7.957 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.788e-05/0.372, allocations: 325.1 kB / 405.5 MB, free: 7.645 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.308e-05/0.3721, allocations: 33.64 kB / 405.5 MB, free: 7.645 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.415e-05/0.3722, allocations: 68.2 kB / 405.6 MB, free: 7.613 MB / 286.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.0007683/0.373, allocations: 404.1 kB / 406 MB, free: 7.391 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.373, allocations: 1.625 kB / 406 MB, free: 7.391 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002515/0.3732, allocations: 167.2 kB / 406.1 MB, free: 7.336 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.3733, allocations: 9.781 kB / 406.1 MB, free: 7.332 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3733, allocations: 0 / 406.1 MB, free: 7.332 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001368/0.3734, allocations: 27.88 kB / 406.2 MB, free: 7.324 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.523e-05/0.3735, allocations: 27.22 kB / 406.2 MB, free: 7.324 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009098/0.3744, allocations: 1.446 MB / 407.6 MB, free: 5.926 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.825e-05/0.3745, allocations: 5.438 kB / 407.6 MB, free: 5.922 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.3745, allocations: 4.344 kB / 407.6 MB, free: 5.922 MB / 286.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 8.938e-05/0.3746, allocations: 140.6 kB / 407.8 MB, free: 5.785 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.42e-05/0.3746, allocations: 12.91 kB / 407.8 MB, free: 5.777 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.033e-05/0.3747, allocations: 15.61 kB / 407.8 MB, free: 5.762 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.3747, allocations: 3.562 kB / 407.8 MB, free: 5.762 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3747, allocations: 1.094 kB / 407.8 MB, free: 5.762 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.3747, allocations: 0.75 kB / 407.8 MB, free: 5.762 MB / 286.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.0006068/0.3753, allocations: 0.5992 MB / 408.4 MB, free: 5.211 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.3753, allocations: 2.422 kB / 408.4 MB, free: 5.211 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/0.3755, allocations: 27.08 kB / 408.4 MB, free: 5.207 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.46e-05/0.3755, allocations: 21.75 kB / 408.5 MB, free: 5.195 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.3756, allocations: 16.02 kB / 408.5 MB, free: 5.184 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000586/0.3761, allocations: 1.263 MB / 409.7 MB, free: 3.887 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.3762, allocations: 6.125 kB / 409.7 MB, free: 3.883 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003254/0.3765, allocations: 309.7 kB / 410 MB, free: 3.648 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.03e-05/0.3765, allocations: 84.92 kB / 410.1 MB, free: 3.551 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.3766, allocations: 9.531 kB / 410.1 MB, free: 3.543 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.307e-05/0.3766, allocations: 1.5 kB / 410.1 MB, free: 3.543 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.319e-05/0.3767, allocations: 14.7 kB / 410.2 MB, free: 3.539 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.3767, allocations: 4.188 kB / 410.2 MB, free: 3.539 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.023e-05/0.3767, allocations: 94.84 kB / 410.2 MB, free: 3.461 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3767, allocations: 0 / 410.2 MB, free: 3.461 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003032/0.3771, allocations: 33.97 kB / 410.3 MB, free: 3.453 MB / 286.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 9.485e-05/0.3772, allocations: 101.6 kB / 410.4 MB, free: 3.355 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004096/0.3776, allocations: 233.2 kB / 410.6 MB, free: 3.203 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3776, allocations: 0 / 410.6 MB, free: 3.203 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.3777, allocations: 173 kB / 410.8 MB, free: 3.07 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.3781, allocations: 14.55 kB / 410.8 MB, free: 3.066 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006285/0.3787, allocations: 435.2 kB / 411.2 MB, free: 2.723 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001937/0.3789, allocations: 0.7046 MB / 411.9 MB, free: 2.027 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.472e-05/0.379, allocations: 14.02 kB / 411.9 MB, free: 2.023 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.367e-05/0.379, allocations: 13.88 kB / 411.9 MB, free: 2.016 MB / 286.1 MB Notification: Performance of SimCode: time 6.72e-07/0.379, allocations: 0 / 411.9 MB, free: 2.016 MB / 286.1 MB Notification: Performance of Templates: time 0.005491/0.3845, allocations: 1.379 MB / 413.3 MB, free: 1.922 MB / 286.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)