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.001128/0.001128, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 221.5 MB / 229.6 MB, free: 3.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009046/0.0009048, allocations: 92.05 kB / 280.5 MB, free: 1.141 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.003372/0.003373, allocations: 0.5671 MB / 331.8 MB, free: 13.77 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.584e-05/1.579e-05, allocations: 0 / 388.6 MB, free: 76.06 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1131, allocations: 50.57 MB / 439.1 MB, free: 25.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3811/0.4942, allocations: 74.45 MB / 0.5016 GB, free: 5.477 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/0.4946, allocations: 60.66 kB / 0.5016 GB, free: 5.445 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001332/0.4959, allocations: 0.6001 MB / 0.5022 GB, free: 4.914 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.4959, allocations: 0 / 0.5022 GB, free: 4.914 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.4959, allocations: 0 / 0.5022 GB, free: 4.914 MB / 314.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.0002419/0.4962, allocations: 320.7 kB / 0.5025 GB, free: 4.562 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.4962, allocations: 12.03 kB / 0.5025 GB, free: 4.551 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.312e-05/0.4963, allocations: 9.141 kB / 0.5025 GB, free: 4.543 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.4964, allocations: 163.1 kB / 0.5027 GB, free: 4.344 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.4964, allocations: 4 kB / 0.5027 GB, free: 4.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.4964, allocations: 4 kB / 0.5027 GB, free: 4.336 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.873e-05/0.4965, allocations: 18.33 kB / 0.5027 GB, free: 4.324 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.224e-05/0.4966, allocations: 34.7 kB / 0.5027 GB, free: 4.289 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.4966, allocations: 4 kB / 0.5028 GB, free: 4.285 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.4966, allocations: 7.891 kB / 0.5028 GB, free: 4.277 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.4967, allocations: 3.984 kB / 0.5028 GB, free: 4.273 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002646/0.4969, allocations: 216.7 kB / 0.503 GB, free: 4.027 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.103e-05/0.497, allocations: 56.97 kB / 0.503 GB, free: 3.977 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.663e-05/0.4971, allocations: 16.36 kB / 0.503 GB, free: 3.961 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.4971, allocations: 4 kB / 0.503 GB, free: 3.957 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.4971, allocations: 30.56 kB / 0.5031 GB, free: 3.918 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.4971, allocations: 0 / 0.5031 GB, free: 3.918 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006437/0.4978, allocations: 486.4 kB / 0.5035 GB, free: 3.375 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.4978, allocations: 51.41 kB / 0.5036 GB, free: 3.312 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.29e-05/0.4979, allocations: 89 kB / 0.5037 GB, free: 3.219 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.959e-06/0.4979, allocations: 25.7 kB / 0.5037 GB, free: 3.188 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.006e-05/0.4979, allocations: 87.14 kB / 0.5038 GB, free: 3.102 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/0.4979, allocations: 26.61 kB / 0.5038 GB, free: 3.078 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-06/0.4979, allocations: 0 / 0.5038 GB, free: 3.078 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.838e-05/0.498, allocations: 322.1 kB / 0.5041 GB, free: 2.758 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.176e-05/0.4981, allocations: 11.25 kB / 0.5041 GB, free: 2.75 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.265e-05/0.4981, allocations: 24.47 kB / 0.5041 GB, free: 2.727 MB / 314.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.000253/0.4983, allocations: 204.6 kB / 0.5043 GB, free: 2.5 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.4984, allocations: 0 / 0.5043 GB, free: 2.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001284/0.4985, allocations: 84.5 kB / 0.5044 GB, free: 2.418 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.4985, allocations: 11.94 kB / 0.5044 GB, free: 2.406 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.4985, allocations: 7.922 kB / 0.5044 GB, free: 2.398 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000108/0.4986, allocations: 16.3 kB / 0.5045 GB, free: 2.383 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.05e-05/0.4987, allocations: 15.98 kB / 0.5045 GB, free: 2.367 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006947/0.4994, allocations: 1.231 MB / 0.5057 GB, free: 1.059 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.849e-05/0.4995, allocations: 4.031 kB / 0.5057 GB, free: 1.055 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.4995, allocations: 0.75 kB / 0.5057 GB, free: 1.055 MB / 314.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 6.825e-05/0.4995, allocations: 116.2 kB / 0.5058 GB, free: 0.9375 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.144e-05/0.4996, allocations: 3.906 kB / 0.5058 GB, free: 0.9336 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.972e-05/0.4996, allocations: 8.469 kB / 0.5058 GB, free: 0.918 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.4996, allocations: 4 kB / 0.5058 GB, free: 0.9141 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.4996, allocations: 0 / 0.5058 GB, free: 0.9141 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.4996, allocations: 0 / 0.5058 GB, free: 0.9141 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002952/0.4999, allocations: 339.1 kB / 0.5061 GB, free: 0.5469 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.4999, allocations: 0 / 0.5061 GB, free: 0.5469 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.734e-05/0.5, allocations: 16.16 kB / 0.5061 GB, free: 0.5312 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.105e-05/0.5, allocations: 20 kB / 0.5062 GB, free: 0.5117 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.5001, allocations: 7.938 kB / 0.5062 GB, free: 0.5039 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006943/0.5008, allocations: 1.239 MB / 0.5074 GB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.5008, allocations: 0 / 0.5074 GB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002209/0.501, allocations: 258.5 kB / 0.5076 GB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.552e-05/0.5011, allocations: 81.09 kB / 0.5077 GB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.002e-05/0.5011, allocations: 4.031 kB / 0.5077 GB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.022e-05/0.5011, allocations: 0 / 0.5077 GB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.988e-05/0.5011, allocations: 7.984 kB / 0.5077 GB, free: 14.81 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.5012, allocations: 4 kB / 0.5077 GB, free: 14.8 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.094e-05/0.5012, allocations: 75.28 kB / 0.5078 GB, free: 14.73 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5012, allocations: 4.062 kB / 0.5078 GB, free: 14.73 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002334/0.5014, allocations: 16 kB / 0.5078 GB, free: 14.71 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.0001102/0.5016, allocations: 98.77 kB / 0.5079 GB, free: 14.61 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000257/0.5018, allocations: 155.4 kB / 0.5081 GB, free: 14.45 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5018, allocations: 0 / 0.5081 GB, free: 14.45 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.502, allocations: 134.4 kB / 0.5082 GB, free: 14.32 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001395/0.5021, allocations: 10.11 kB / 0.5082 GB, free: 14.31 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002267/0.5024, allocations: 130.1 kB / 0.5083 GB, free: 14.16 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.5026, allocations: 0.6885 MB / 0.509 GB, free: 13.45 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.917e-05/0.5027, allocations: 192 / 0.509 GB, free: 13.44 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.737e-05/0.5027, allocations: 11.44 kB / 0.509 GB, free: 13.43 MB / 330.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5027, allocations: 4 kB / 0.509 GB, free: 13.43 MB / 330.7 MB Notification: Performance of Templates: time 0.002504/0.5052, allocations: 0.6109 MB / 0.5096 GB, free: 12.88 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)