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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/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) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 174.3 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 221.4 MB / 234.6 MB, free: 14.44 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008302/0.0008303, allocations: 94.31 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.002376/0.002376, allocations: 0.5607 MB / 337 MB, free: 9.496 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.965e-05/2.967e-05, allocations: 1.375 kB / 395.5 MB, free: 70.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1039, allocations: 50.58 MB / 446 MB, free: 20 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4108/0.5148, allocations: 75.11 MB / 0.5089 GB, free: 12.7 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/0.5151, allocations: 67.95 kB / 0.509 GB, free: 12.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001419/0.5165, allocations: 0.594 MB / 0.5096 GB, free: 12.12 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.5165, allocations: 0 / 0.5096 GB, free: 12.12 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.365e-06/0.5166, allocations: 0.5 kB / 0.5096 GB, free: 12.12 MB / 330.7 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.0003002/0.5169, allocations: 326.9 kB / 0.5099 GB, free: 11.76 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/0.5169, allocations: 12.03 kB / 0.5099 GB, free: 11.75 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.244e-05/0.517, allocations: 8.484 kB / 0.5099 GB, free: 11.74 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.5171, allocations: 167 kB / 0.5101 GB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.5172, allocations: 7.281 kB / 0.5101 GB, free: 11.53 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.771e-05/0.5172, allocations: 7.812 kB / 0.5101 GB, free: 11.53 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.5173, allocations: 44.75 kB / 0.5101 GB, free: 11.48 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.5173, allocations: 0 / 0.5101 GB, free: 11.48 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.5174, allocations: 0 / 0.5101 GB, free: 11.48 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.5174, allocations: 0 / 0.5101 GB, free: 11.48 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.826e-05/0.5174, allocations: 18.83 kB / 0.5101 GB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003324/0.5178, allocations: 250.7 kB / 0.5104 GB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.5179, allocations: 48.83 kB / 0.5104 GB, free: 11.13 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.911e-05/0.5179, allocations: 27.66 kB / 0.5105 GB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.5179, allocations: 0 / 0.5105 GB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.518, allocations: 34.56 kB / 0.5105 GB, free: 11.07 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.518, allocations: 0 / 0.5105 GB, free: 11.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007703/0.5188, allocations: 0.4944 MB / 0.511 GB, free: 10.51 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.5188, allocations: 51.41 kB / 0.511 GB, free: 10.45 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.022e-05/0.5189, allocations: 92.62 kB / 0.5111 GB, free: 10.36 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.5189, allocations: 29.7 kB / 0.5111 GB, free: 10.32 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.169e-05/0.519, allocations: 86.33 kB / 0.5112 GB, free: 10.23 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/0.519, allocations: 30.92 kB / 0.5112 GB, free: 10.21 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-06/0.519, allocations: 3.375 kB / 0.5112 GB, free: 10.21 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.5191, allocations: 310.8 kB / 0.5115 GB, free: 9.895 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.863e-05/0.5192, allocations: 19.06 kB / 0.5116 GB, free: 9.879 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.989e-05/0.5192, allocations: 28.66 kB / 0.5116 GB, free: 9.852 MB / 330.7 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.0002898/0.5195, allocations: 204 kB / 0.5118 GB, free: 9.625 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.5195, allocations: 0 / 0.5118 GB, free: 9.625 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001467/0.5197, allocations: 91.94 kB / 0.5119 GB, free: 9.539 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.5197, allocations: 11.98 kB / 0.5119 GB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.5197, allocations: 3.5 kB / 0.5119 GB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001202/0.5198, allocations: 20.67 kB / 0.5119 GB, free: 9.508 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.101e-05/0.5199, allocations: 15.98 kB / 0.5119 GB, free: 9.492 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009971/0.5209, allocations: 1.29 MB / 0.5132 GB, free: 8.113 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.359e-05/0.521, allocations: 4.031 kB / 0.5132 GB, free: 8.109 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.521, allocations: 2.312 kB / 0.5132 GB, free: 8.109 MB / 330.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.755e-05/0.5211, allocations: 116.1 kB / 0.5133 GB, free: 7.992 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.126e-05/0.5211, allocations: 0 / 0.5133 GB, free: 7.992 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.187e-05/0.5211, allocations: 11.97 kB / 0.5133 GB, free: 7.98 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.5212, allocations: 0 / 0.5133 GB, free: 7.98 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.5212, allocations: 0 / 0.5133 GB, free: 7.98 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.5212, allocations: 3.984 kB / 0.5133 GB, free: 7.977 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004311/0.5216, allocations: 370.2 kB / 0.5137 GB, free: 7.566 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.5216, allocations: 0 / 0.5137 GB, free: 7.566 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-05/0.5217, allocations: 11.98 kB / 0.5137 GB, free: 7.555 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.896e-05/0.5218, allocations: 27.47 kB / 0.5137 GB, free: 7.527 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.5218, allocations: 3.953 kB / 0.5137 GB, free: 7.523 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009084/0.5227, allocations: 1.288 MB / 0.515 GB, free: 6.152 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.5227, allocations: 3.938 kB / 0.515 GB, free: 6.148 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000254/0.523, allocations: 256.5 kB / 0.5152 GB, free: 5.875 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.153e-05/0.523, allocations: 81.02 kB / 0.5153 GB, free: 5.777 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.523, allocations: 7.969 kB / 0.5153 GB, free: 5.773 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.024e-05/0.5231, allocations: 0 / 0.5153 GB, free: 5.773 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.477e-05/0.5231, allocations: 16 kB / 0.5153 GB, free: 5.758 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.5232, allocations: 4 kB / 0.5153 GB, free: 5.754 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.716e-05/0.5232, allocations: 83.03 kB / 0.5154 GB, free: 5.676 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5232, allocations: 0 / 0.5154 GB, free: 5.676 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002379/0.5234, allocations: 8 kB / 0.5154 GB, free: 5.668 MB / 330.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001416/0.5236, allocations: 101.6 kB / 0.5155 GB, free: 5.559 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002949/0.5239, allocations: 168.8 kB / 0.5157 GB, free: 5.395 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.5239, allocations: 96 / 0.5157 GB, free: 5.395 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.5241, allocations: 149.1 kB / 0.5158 GB, free: 5.242 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001375/0.5242, allocations: 10.34 kB / 0.5158 GB, free: 5.238 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002465/0.5245, allocations: 130.5 kB / 0.5159 GB, free: 5.09 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.5248, allocations: 0.6926 MB / 0.5166 GB, free: 4.371 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.671e-05/0.5248, allocations: 4.188 kB / 0.5166 GB, free: 4.363 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.673e-05/0.5248, allocations: 7.438 kB / 0.5166 GB, free: 4.359 MB / 330.7 MB Notification: Performance of SimCode: time 3.186e-06/0.5248, allocations: 0 / 0.5166 GB, free: 4.359 MB / 330.7 MB Notification: Performance of Templates: time 0.002779/0.5276, allocations: 0.6448 MB / 0.5173 GB, free: 3.77 MB / 330.7 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)