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+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 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.001246/0.001246, allocations: 173.8 kB / 16.12 MB, free: 5.699 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.35/1.35, allocations: 223.3 MB / 240.1 MB, free: 9.973 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.0007759/0.0007759, allocations: 102.9 kB / 291.3 MB, free: 10.58 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.00224/0.00224, allocations: 0.5468 MB / 343 MB, free: 6.918 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003542/0.0003542, allocations: 9.469 kB / 404.2 MB, free: 65.76 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07621/0.07658, allocations: 50.58 MB / 454.8 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2874/0.364, allocations: 75.19 MB / 0.5175 GB, free: 6.957 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001677/0.3642, allocations: 69.45 kB / 0.5176 GB, free: 6.918 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001216/0.3655, allocations: 0.5944 MB / 0.5182 GB, free: 6.375 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3655, allocations: 0 / 0.5182 GB, free: 6.375 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.246e-06/0.3655, allocations: 4 kB / 0.5182 GB, free: 6.371 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.0002629/0.3658, allocations: 328.5 kB / 0.5185 GB, free: 6.004 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.3658, allocations: 8.656 kB / 0.5185 GB, free: 5.996 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.966e-05/0.3659, allocations: 12.84 kB / 0.5185 GB, free: 5.984 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.366, allocations: 160.4 kB / 0.5187 GB, free: 5.789 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.366, allocations: 4 kB / 0.5187 GB, free: 5.789 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.366, allocations: 4.375 kB / 0.5187 GB, free: 5.785 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.3661, allocations: 49.25 kB / 0.5187 GB, free: 5.738 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.3661, allocations: 4.172 kB / 0.5187 GB, free: 5.734 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.3662, allocations: 7.938 kB / 0.5187 GB, free: 5.727 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3662, allocations: 0 / 0.5187 GB, free: 5.727 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.153e-05/0.3662, allocations: 11.94 kB / 0.5188 GB, free: 5.719 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000305/0.3665, allocations: 255.2 kB / 0.519 GB, free: 5.43 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.567e-05/0.3666, allocations: 50.75 kB / 0.519 GB, free: 5.379 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.7e-05/0.3667, allocations: 27.34 kB / 0.5191 GB, free: 5.355 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.3667, allocations: 0 / 0.5191 GB, free: 5.355 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.3667, allocations: 38.44 kB / 0.5191 GB, free: 5.312 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.3667, allocations: 0 / 0.5191 GB, free: 5.312 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006948/0.3674, allocations: 0.4991 MB / 0.5196 GB, free: 4.762 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.3675, allocations: 51.41 kB / 0.5196 GB, free: 4.699 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.435e-05/0.3676, allocations: 105.5 kB / 0.5197 GB, free: 4.59 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.3676, allocations: 25.7 kB / 0.5198 GB, free: 4.559 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.735e-05/0.3676, allocations: 80.14 kB / 0.5198 GB, free: 4.477 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.426e-05/0.3677, allocations: 38.67 kB / 0.5199 GB, free: 4.445 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-06/0.3677, allocations: 0 / 0.5199 GB, free: 4.445 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.3678, allocations: 322.7 kB / 0.5202 GB, free: 4.125 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.566e-05/0.3678, allocations: 15.45 kB / 0.5202 GB, free: 4.117 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.381e-05/0.3679, allocations: 32.95 kB / 0.5202 GB, free: 4.082 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.0003732/0.3683, allocations: 246 kB / 0.5205 GB, free: 3.824 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3683, allocations: 0 / 0.5205 GB, free: 3.824 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001579/0.3684, allocations: 98.69 kB / 0.5206 GB, free: 3.734 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.3685, allocations: 4 kB / 0.5206 GB, free: 3.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.3685, allocations: 4 kB / 0.5206 GB, free: 3.727 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001199/0.3686, allocations: 24.16 kB / 0.5206 GB, free: 3.703 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.825e-05/0.3687, allocations: 15.98 kB / 0.5206 GB, free: 3.688 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009878/0.3697, allocations: 1.286 MB / 0.5219 GB, free: 2.312 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.251e-05/0.3697, allocations: 2.438 kB / 0.5219 GB, free: 2.312 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.3697, allocations: 4.031 kB / 0.5219 GB, free: 2.309 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 () * 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 (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 0.0001224/0.3699, allocations: 121.8 kB / 0.522 GB, free: 2.184 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.022e-05/0.3699, allocations: 11.84 kB / 0.522 GB, free: 2.172 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.762e-05/0.3699, allocations: 11.27 kB / 0.522 GB, free: 2.152 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3699, allocations: 0 / 0.522 GB, free: 2.152 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3699, allocations: 4 kB / 0.522 GB, free: 2.148 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.3699, allocations: 0 / 0.522 GB, free: 2.148 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004544/0.3704, allocations: 366.8 kB / 0.5224 GB, free: 1.746 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.3704, allocations: 0 / 0.5224 GB, free: 1.746 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.962e-05/0.3705, allocations: 8 kB / 0.5224 GB, free: 1.738 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.548e-05/0.3706, allocations: 24.78 kB / 0.5224 GB, free: 1.715 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.3706, allocations: 0.875 kB / 0.5224 GB, free: 1.715 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009089/0.3715, allocations: 1.294 MB / 0.5237 GB, free: 348 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.3715, allocations: 4.031 kB / 0.5237 GB, free: 344 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.3718, allocations: 227.7 kB / 0.5239 GB, free: 108 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.094e-05/0.3718, allocations: 81.14 kB / 0.524 GB, free: 8 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.027e-05/0.3718, allocations: 4 kB / 0.524 GB, free: 4 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.639e-05/0.3719, allocations: 7.938 kB / 0.524 GB, free: 0 / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.147e-05/0.3719, allocations: 9.734 kB / 0.524 GB, free: 15.99 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.3719, allocations: 4 kB / 0.524 GB, free: 15.99 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.698e-05/0.372, allocations: 86.47 kB / 0.5241 GB, free: 15.91 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.372, allocations: 8 kB / 0.5241 GB, free: 15.9 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002406/0.3723, allocations: 19.88 kB / 0.5241 GB, free: 15.88 MB / 346.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 () * 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 (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.0001013/0.3724, allocations: 91.25 kB / 0.5242 GB, free: 15.79 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002814/0.3727, allocations: 169.5 kB / 0.5243 GB, free: 15.62 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3727, allocations: 0 / 0.5243 GB, free: 15.62 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001578/0.3728, allocations: 145.6 kB / 0.5245 GB, free: 15.47 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.3731, allocations: 8.422 kB / 0.5245 GB, free: 15.47 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003167/0.3734, allocations: 185.1 kB / 0.5247 GB, free: 15.26 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002229/0.3736, allocations: 0.6888 MB / 0.5253 GB, free: 14.55 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.502e-05/0.3737, allocations: 7.984 kB / 0.5253 GB, free: 14.54 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.446e-05/0.3737, allocations: 7.438 kB / 0.5254 GB, free: 14.54 MB / 346.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3737, allocations: 0 / 0.5254 GB, free: 14.54 MB / 346.7 MB Notification: Performance of Templates: time 0.002489/0.3762, allocations: 0.6307 MB / 0.526 GB, free: 13.96 MB / 346.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)