Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.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.TwoMassesEquationsFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent") translateModel(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 107.5 kB / 16.41 MB, free: 6.496 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.001174/0.001174, allocations: 187 kB / 17.34 MB, free: 5.766 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.312/1.312, allocations: 222.9 MB / 241 MB, free: 15.07 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.003095/0.003095, allocations: 0.5632 MB / 291.8 MB, free: 14.17 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 63.89 kB / 403.1 MB, free: 32.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07379/0.07502, allocations: 49.59 MB / 452.7 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent): time 0.0016/0.07666, allocations: 0.5275 MB / 453.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001488/0.07684, allocations: 24.23 kB / 453.2 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.312e-05/0.07688, allocations: 3.938 kB / 453.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.878e-05/0.0769, allocations: 4 kB / 453.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.809e-05/0.07693, allocations: 3.938 kB / 453.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001184/0.07706, allocations: 11.98 kB / 453.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.98e-05/0.07712, allocations: 15.98 kB / 453.3 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.272e-05/0.07717, allocations: 0 / 453.3 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.948e-05/0.0772, allocations: 7.938 kB / 453.3 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.006e-05/0.07727, allocations: 15.97 kB / 453.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.07729, allocations: 0 / 453.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.002e-05/0.0773, allocations: 7.938 kB / 453.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.862e-05/0.07733, allocations: 7.938 kB / 453.3 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.67e-05/0.07736, allocations: 15.92 kB / 453.3 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 5.194e-05/0.07742, allocations: 8 kB / 453.3 MB, free: 13.86 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.07743, allocations: 3.984 kB / 453.4 MB, free: 13.85 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.07744, allocations: 3.938 kB / 453.4 MB, free: 13.85 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.07745, allocations: 0 / 453.4 MB, free: 13.85 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003606/0.07782, allocations: 335.5 kB / 453.7 MB, free: 13.47 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.07786, allocations: 11.89 kB / 453.7 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.058e-05/0.07789, allocations: 8.844 kB / 453.7 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.07801, allocations: 160.4 kB / 453.9 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.07803, allocations: 8.375 kB / 453.9 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.07806, allocations: 4.375 kB / 453.9 MB, free: 13.24 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.855e-05/0.07816, allocations: 54.23 kB / 453.9 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.07818, allocations: 192 / 453.9 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.0782, allocations: 3.938 kB / 453.9 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.0782, allocations: 0 / 453.9 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.855e-05/0.07825, allocations: 15.94 kB / 453.9 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003338/0.07859, allocations: 249 kB / 454.2 MB, free: 12.87 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.428e-05/0.07869, allocations: 50.56 kB / 454.2 MB, free: 12.81 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.668e-05/0.07874, allocations: 24.91 kB / 454.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.436e-06/0.07875, allocations: 4 kB / 454.3 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.07878, allocations: 38.5 kB / 454.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.07878, allocations: 0 / 454.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006823/0.07947, allocations: 0.4981 MB / 454.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.07951, allocations: 51.41 kB / 454.9 MB, free: 12.08 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.189e-05/0.07958, allocations: 97.84 kB / 454.9 MB, free: 11.97 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.07961, allocations: 33.7 kB / 455 MB, free: 11.93 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.116e-05/0.07965, allocations: 80.14 kB / 455.1 MB, free: 11.85 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.09e-05/0.07969, allocations: 31.59 kB / 455.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.783e-05/0.07973, allocations: 25.72 kB / 455.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.07984, allocations: 318.8 kB / 455.4 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.04e-05/0.07988, allocations: 19.92 kB / 455.4 MB, free: 11.45 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.838e-05/0.07992, allocations: 33.7 kB / 455.5 MB, free: 11.41 MB / 334.1 MB Error: The initialization problem is inconsistent due to the following equation: x1 = 0.0 (1.0 = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.0003418/0.08027, allocations: 252.6 kB / 455.7 MB, free: 11.12 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.08028, allocations: 4 kB / 455.7 MB, free: 11.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000168/0.08045, allocations: 98.61 kB / 455.8 MB, free: 11.01 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.708e-05/0.08049, allocations: 7.938 kB / 455.8 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.0805, allocations: 4 kB / 455.8 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001147/0.08062, allocations: 28.77 kB / 455.9 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.414e-05/0.08069, allocations: 8 kB / 455.9 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001/0.0817, allocations: 1.379 MB / 457.3 MB, free: 9.438 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.575e-05/0.08174, allocations: 4 kB / 457.3 MB, free: 9.434 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.08175, allocations: 4.031 kB / 457.3 MB, free: 9.43 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: x1 = 0.0 v1 = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 7 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001037/0.08186, allocations: 122.4 kB / 457.4 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.896e-05/0.0819, allocations: 7.906 kB / 457.4 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.483e-05/0.08193, allocations: 11.95 kB / 457.4 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.08193, allocations: 0 / 457.4 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.08194, allocations: 4 kB / 457.4 MB, free: 9.277 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.08195, allocations: 3.938 kB / 457.4 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004114/0.08237, allocations: 361.8 kB / 457.8 MB, free: 8.852 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.08238, allocations: 4.312 kB / 457.8 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.888e-05/0.08243, allocations: 12 kB / 457.8 MB, free: 8.836 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.954e-05/0.08251, allocations: 28.91 kB / 457.8 MB, free: 8.805 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.08253, allocations: 4 kB / 457.8 MB, free: 8.801 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008879/0.08342, allocations: 1.385 MB / 459.2 MB, free: 7.277 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.08344, allocations: 0 / 459.2 MB, free: 7.277 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.08367, allocations: 234.8 kB / 459.4 MB, free: 7.02 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.162e-05/0.08372, allocations: 81.14 kB / 459.5 MB, free: 6.922 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.658e-06/0.08373, allocations: 0 / 459.5 MB, free: 6.922 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.073e-05/0.0838, allocations: 7.938 kB / 459.5 MB, free: 6.914 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.347e-05/0.08383, allocations: 11.98 kB / 459.5 MB, free: 6.902 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.08384, allocations: 0 / 459.5 MB, free: 6.902 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.58e-05/0.08388, allocations: 83.34 kB / 459.6 MB, free: 6.82 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.08389, allocations: 0 / 459.6 MB, free: 6.82 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002464/0.08414, allocations: 12 kB / 459.6 MB, free: 6.809 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (x2,v2) * 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 (6): * Single equations (assignments): 5 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.877e-05/0.08423, allocations: 107.1 kB / 459.7 MB, free: 6.695 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000284/0.08452, allocations: 162.7 kB / 459.9 MB, free: 6.523 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.08454, allocations: 3.938 kB / 459.9 MB, free: 6.52 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001741/0.08472, allocations: 146.6 kB / 460 MB, free: 6.363 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.08495, allocations: 4 kB / 460 MB, free: 6.359 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003114/0.08527, allocations: 202.4 kB / 460.2 MB, free: 6.117 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.08552, allocations: 0.7007 MB / 460.9 MB, free: 5.391 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.009e-05/0.08555, allocations: 7.438 kB / 460.9 MB, free: 5.383 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.08555, allocations: 4 kB / 460.9 MB, free: 5.379 MB / 334.1 MB Notification: Performance of Templates: time 0.002335/0.08789, allocations: 0.9375 MB / 461.9 MB, free: 4.445 MB / 334.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe 2>&1)