Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.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.ConsistentInitialization.Mechanical.TwoMassesFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002779/0.002779, allocations: 175.2 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.702/1.702, allocations: 221.4 MB / 234.6 MB, free: 14.39 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.001258/0.001258, allocations: 82.5 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.003876/0.003876, allocations: 0.5556 MB / 337 MB, free: 9.496 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.927e-05/3.93e-05, allocations: 3.984 kB / 395.5 MB, free: 70.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.127, allocations: 50.57 MB / 446 MB, free: 19.98 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4592/0.5864, allocations: 76.46 MB / 0.5103 GB, free: 11.37 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000202/0.5866, allocations: 59.03 kB / 0.5103 GB, free: 11.34 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007675/0.5943, allocations: 2.955 MB / 0.5132 GB, free: 8.844 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.5943, allocations: 0 / 0.5132 GB, free: 8.844 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.5944, allocations: 0 / 0.5132 GB, free: 8.844 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004465/0.5948, allocations: 373.8 kB / 0.5136 GB, free: 8.438 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.5949, allocations: 8.031 kB / 0.5136 GB, free: 8.43 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/0.5949, allocations: 15.84 kB / 0.5136 GB, free: 8.414 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.5951, allocations: 178.8 kB / 0.5137 GB, free: 8.199 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.5951, allocations: 7.875 kB / 0.5138 GB, free: 8.195 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.179e-05/0.5951, allocations: 11.38 kB / 0.5138 GB, free: 8.188 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.5953, allocations: 89.17 kB / 0.5139 GB, free: 8.117 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.5954, allocations: 0 / 0.5139 GB, free: 8.117 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.5954, allocations: 6.75 kB / 0.5139 GB, free: 8.113 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.5954, allocations: 4 kB / 0.5139 GB, free: 8.109 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.5955, allocations: 55.12 kB / 0.5139 GB, free: 8.07 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000627/0.5961, allocations: 381.1 kB / 0.5143 GB, free: 7.695 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.5963, allocations: 97.44 kB / 0.5144 GB, free: 7.617 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.053e-05/0.5964, allocations: 39.39 kB / 0.5144 GB, free: 7.586 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.5964, allocations: 7.938 kB / 0.5144 GB, free: 7.578 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.5965, allocations: 30.56 kB / 0.5144 GB, free: 7.539 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/0.5965, allocations: 0 / 0.5144 GB, free: 7.539 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.00113/0.5976, allocations: 0.6586 MB / 0.5151 GB, free: 6.867 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.5977, allocations: 51.41 kB / 0.5151 GB, free: 6.805 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.096e-05/0.5978, allocations: 116.7 kB / 0.5152 GB, free: 6.691 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.5978, allocations: 29.58 kB / 0.5153 GB, free: 6.66 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.129e-05/0.5979, allocations: 99.36 kB / 0.5154 GB, free: 6.559 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.028e-05/0.5979, allocations: 54.77 kB / 0.5154 GB, free: 6.512 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.154e-06/0.5979, allocations: 3.188 kB / 0.5154 GB, free: 6.512 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.598, allocations: 330.7 kB / 0.5157 GB, free: 6.184 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.415e-05/0.5981, allocations: 31.81 kB / 0.5158 GB, free: 6.164 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.267e-05/0.5982, allocations: 56.2 kB / 0.5158 GB, free: 6.117 MB / 330.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass2.v = $START.mass2.v ($START.mass1.v = $START.mass2.v) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass1.s = $START.mass1.s ($START.mass2.s + (-0.5) * (mass2.L + mass1.L) = $START.mass1.s) Notification: Performance of analyzeInitialSystem (initialization): time 0.00055/0.5987, allocations: 321.7 kB / 0.5161 GB, free: 5.801 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.5987, allocations: 0 / 0.5161 GB, free: 5.801 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000232/0.599, allocations: 159.7 kB / 0.5163 GB, free: 5.668 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.599, allocations: 8 kB / 0.5163 GB, free: 5.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.599, allocations: 256 / 0.5163 GB, free: 5.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000116/0.5991, allocations: 36.06 kB / 0.5163 GB, free: 5.625 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.463e-05/0.5993, allocations: 35.3 kB / 0.5164 GB, free: 5.594 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001101/0.6004, allocations: 1.432 MB / 0.5178 GB, free: 4.113 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.238e-05/0.6004, allocations: 3.25 kB / 0.5178 GB, free: 4.113 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.6004, allocations: 4.031 kB / 0.5178 GB, free: 4.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: mass2.v = $START.mass2.v mass1.s = $START.mass1.s. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.97e-05/0.6005, allocations: 124.8 kB / 0.5179 GB, free: 3.988 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.062e-05/0.6006, allocations: 7.906 kB / 0.5179 GB, free: 3.98 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.946e-05/0.6006, allocations: 14.56 kB / 0.5179 GB, free: 3.969 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.6006, allocations: 4 kB / 0.5179 GB, free: 3.965 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.6006, allocations: 0 / 0.5179 GB, free: 3.965 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.6007, allocations: 4.062 kB / 0.5179 GB, free: 3.961 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005953/0.6013, allocations: 0.5865 MB / 0.5185 GB, free: 3.344 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.6013, allocations: 4 kB / 0.5185 GB, free: 3.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.6014, allocations: 27.08 kB / 0.5185 GB, free: 3.316 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.008e-05/0.6015, allocations: 24.8 kB / 0.5185 GB, free: 3.289 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.6015, allocations: 11.23 kB / 0.5186 GB, free: 3.281 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007711/0.6023, allocations: 1.272 MB / 0.5198 GB, free: 1.918 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.6023, allocations: 4.031 kB / 0.5198 GB, free: 1.914 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003141/0.6026, allocations: 334.7 kB / 0.5201 GB, free: 1.594 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.769e-05/0.6027, allocations: 85.05 kB / 0.5202 GB, free: 1.492 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.6027, allocations: 4 kB / 0.5202 GB, free: 1.488 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.321e-05/0.6028, allocations: 6.797 kB / 0.5202 GB, free: 1.484 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.766e-05/0.6028, allocations: 18.88 kB / 0.5202 GB, free: 1.469 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.707e-06/0.6028, allocations: 4 kB / 0.5202 GB, free: 1.465 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.958e-05/0.6029, allocations: 97.22 kB / 0.5203 GB, free: 1.375 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.322e-06/0.6029, allocations: 0 / 0.5203 GB, free: 1.375 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002879/0.6032, allocations: 35.25 kB / 0.5204 GB, free: 1.344 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass2.s,mass2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001073/0.6033, allocations: 98.38 kB / 0.5205 GB, free: 1.242 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003452/0.6036, allocations: 222.8 kB / 0.5207 GB, free: 1.043 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6036, allocations: 4.062 kB / 0.5207 GB, free: 1.039 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001708/0.6038, allocations: 172.6 kB / 0.5208 GB, free: 0.8711 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.6041, allocations: 25.78 kB / 0.5209 GB, free: 0.8555 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005029/0.6046, allocations: 284.4 kB / 0.5211 GB, free: 0.5664 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.6048, allocations: 0.7087 MB / 0.5218 GB, free: 15.83 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.757e-05/0.6049, allocations: 12.77 kB / 0.5218 GB, free: 15.82 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.756e-05/0.6049, allocations: 15.44 kB / 0.5218 GB, free: 15.81 MB / 346.7 MB Notification: Performance of SimCode: time 2.7e-07/0.6049, allocations: 0 / 0.5218 GB, free: 15.81 MB / 346.7 MB Notification: Performance of Templates: time 0.003689/0.6086, allocations: 1.285 MB / 0.5231 GB, free: 14.57 MB / 346.7 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe 2>&1)