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.0009936/0.0009936, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001041/0.001041, allocations: 190.1 kB / 16.25 MB, free: 6.633 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.454/1.454, allocations: 222.9 MB / 239.9 MB, free: 4.504 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.00346/0.00346, allocations: 0.5543 MB / 290.6 MB, free: 1.828 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001699/0.001699, allocations: 59.91 kB / 351.1 MB, free: 2.629 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1548, allocations: 49.6 MB / 400.6 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent): time 0.002059/0.157, allocations: 0.5871 MB / 401.2 MB, free: 412 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001843/0.1572, allocations: 23.89 kB / 401.3 MB, free: 388 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.637e-05/0.1572, allocations: 0 / 401.3 MB, free: 388 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.693e-05/0.1572, allocations: 0 / 401.3 MB, free: 388 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.927e-05/0.1573, allocations: 3.938 kB / 401.3 MB, free: 384 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00016/0.1574, allocations: 12 kB / 401.3 MB, free: 372 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.803e-05/0.1575, allocations: 15.97 kB / 401.3 MB, free: 356 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.083e-05/0.1576, allocations: 8 kB / 401.3 MB, free: 348 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.729e-05/0.1576, allocations: 11.92 kB / 401.3 MB, free: 336 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.977e-05/0.1577, allocations: 11.92 kB / 401.3 MB, free: 324 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.1577, allocations: 8 kB / 401.3 MB, free: 316 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.067e-05/0.1577, allocations: 0 / 401.3 MB, free: 316 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.712e-05/0.1577, allocations: 0 / 401.3 MB, free: 316 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.712e-05/0.1578, allocations: 11.94 kB / 401.3 MB, free: 304 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.864e-05/0.1578, allocations: 15.91 kB / 401.4 MB, free: 288 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1579, allocations: 0 / 401.4 MB, free: 288 kB / 286.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.1579, allocations: 0 / 401.4 MB, free: 288 kB / 286.1 MB Notification: Performance of Transformations before backend: time 7.794e-06/0.1579, allocations: 0 / 401.4 MB, free: 288 kB / 286.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.2548/0.4127, allocations: 333.2 kB / 401.7 MB, free: 10.71 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.435e-05/0.4128, allocations: 14.11 kB / 401.7 MB, free: 10.71 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.23e-05/0.4129, allocations: 5.25 kB / 401.7 MB, free: 10.71 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.413, allocations: 166.1 kB / 401.9 MB, free: 10.51 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.413, allocations: 6 kB / 401.9 MB, free: 10.51 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.269e-05/0.4131, allocations: 4.531 kB / 401.9 MB, free: 10.51 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.4132, allocations: 45.38 kB / 401.9 MB, free: 10.48 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.4133, allocations: 192 / 401.9 MB, free: 10.48 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.4133, allocations: 8.75 kB / 401.9 MB, free: 10.48 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.4133, allocations: 1.062 kB / 401.9 MB, free: 10.48 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.581e-05/0.4133, allocations: 14.31 kB / 401.9 MB, free: 10.48 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003497/0.4137, allocations: 250.9 kB / 402.2 MB, free: 10.21 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.4138, allocations: 50.91 kB / 402.2 MB, free: 10.19 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.641e-05/0.4139, allocations: 24.48 kB / 402.3 MB, free: 10.18 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.4139, allocations: 1.125 kB / 402.3 MB, free: 10.18 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.4139, allocations: 37.34 kB / 402.3 MB, free: 10.14 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.414, allocations: 0 / 402.3 MB, free: 10.14 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007839/0.4147, allocations: 0.5048 MB / 402.8 MB, free: 9.695 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.4148, allocations: 52.88 kB / 402.9 MB, free: 9.633 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.128e-05/0.4149, allocations: 98.27 kB / 403 MB, free: 9.535 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.4149, allocations: 31.67 kB / 403 MB, free: 9.504 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.378e-05/0.4149, allocations: 88.59 kB / 403.1 MB, free: 9.422 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.29e-05/0.415, allocations: 28.72 kB / 403.1 MB, free: 9.402 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.326e-05/0.415, allocations: 28.3 kB / 403.1 MB, free: 9.387 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 7.632e-05/0.4151, allocations: 318 kB / 403.4 MB, free: 9.07 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.157e-05/0.4151, allocations: 14.53 kB / 403.4 MB, free: 9.07 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.695e-05/0.4152, allocations: 36.47 kB / 403.5 MB, free: 9.051 MB / 286.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.0004638/0.4157, allocations: 247.1 kB / 403.7 MB, free: 8.848 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.4157, allocations: 2.062 kB / 403.7 MB, free: 8.848 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001824/0.4159, allocations: 101 kB / 403.8 MB, free: 8.801 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.4159, allocations: 9.281 kB / 403.8 MB, free: 8.797 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.4159, allocations: 1.062 kB / 403.8 MB, free: 8.797 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001464/0.4161, allocations: 26.81 kB / 403.9 MB, free: 8.785 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.697e-05/0.4162, allocations: 14.06 kB / 403.9 MB, free: 8.781 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000966/0.4171, allocations: 1.382 MB / 405.3 MB, free: 7.426 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.197e-05/0.4172, allocations: 4.75 kB / 405.3 MB, free: 7.422 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.4172, allocations: 2.656 kB / 405.3 MB, free: 7.422 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: 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 8.89e-05/0.4173, allocations: 121.3 kB / 405.4 MB, free: 7.301 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/0.4173, allocations: 2.688 kB / 405.4 MB, free: 7.301 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.786e-05/0.4173, allocations: 11.12 kB / 405.4 MB, free: 7.285 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.4174, allocations: 0.9062 kB / 405.4 MB, free: 7.285 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.4174, allocations: 0.6094 kB / 405.4 MB, free: 7.285 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.4174, allocations: 1.25 kB / 405.4 MB, free: 7.285 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004259/0.4178, allocations: 373.6 kB / 405.8 MB, free: 6.941 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.4178, allocations: 1.781 kB / 405.8 MB, free: 6.941 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.915e-05/0.4179, allocations: 8.766 kB / 405.8 MB, free: 6.941 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.808e-05/0.418, allocations: 28.05 kB / 405.8 MB, free: 6.93 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.418, allocations: 1.562 kB / 405.8 MB, free: 6.93 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007331/0.4187, allocations: 1.388 MB / 407.2 MB, free: 5.582 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.4187, allocations: 1 kB / 407.2 MB, free: 5.582 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002274/0.419, allocations: 234 kB / 407.4 MB, free: 5.402 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.491e-05/0.419, allocations: 79.86 kB / 407.5 MB, free: 5.309 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.419, allocations: 7.312 kB / 407.5 MB, free: 5.309 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.916e-05/0.4191, allocations: 5.125 kB / 407.5 MB, free: 5.305 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/0.4191, allocations: 18.34 kB / 407.5 MB, free: 5.301 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.4192, allocations: 7.438 kB / 407.5 MB, free: 5.297 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.599e-05/0.4192, allocations: 78.88 kB / 407.6 MB, free: 5.223 MB / 286.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4192, allocations: 0 / 407.6 MB, free: 5.223 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002364/0.4194, allocations: 12.09 kB / 407.6 MB, free: 5.223 MB / 286.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.919e-05/0.4195, allocations: 97.38 kB / 407.7 MB, free: 5.133 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003055/0.4198, allocations: 169.4 kB / 407.9 MB, free: 5.016 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4199, allocations: 5.438 kB / 407.9 MB, free: 5.012 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.42, allocations: 143 kB / 408 MB, free: 4.898 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.4203, allocations: 8.359 kB / 408 MB, free: 4.895 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003279/0.4206, allocations: 191.9 kB / 408.2 MB, free: 4.719 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001591/0.4208, allocations: 0.6845 MB / 408.9 MB, free: 4.023 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.166e-05/0.4208, allocations: 3.844 kB / 408.9 MB, free: 4.023 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.096e-05/0.4208, allocations: 9.844 kB / 408.9 MB, free: 4.02 MB / 286.1 MB Notification: Performance of SimCode: time 1.283e-06/0.4208, allocations: 0 / 408.9 MB, free: 4.02 MB / 286.1 MB Notification: Performance of Templates: time 0.003431/0.4243, allocations: 0.6906 MB / 409.6 MB, free: 3.98 MB / 286.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)