Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.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.TwoMassesReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006495/0.006496, allocations: 169.5 kB / 15.11 MB, free: 5.984 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.535/1.535, allocations: 223.2 MB / 239 MB, free: 68 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 97.39 kB / 290.2 MB, free: 4.551 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.002561/0.002561, allocations: 0.5546 MB / 341.9 MB, free: 12.37 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003619/0.0003619, allocations: 4 kB / 402.9 MB, free: 15.27 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3693, allocations: 50.56 MB / 453.5 MB, free: 80.09 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1087/0.478, allocations: 76.5 MB / 0.5176 GB, free: 3.484 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002035/0.4783, allocations: 67.97 kB / 0.5176 GB, free: 3.418 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005975/0.4843, allocations: 2.427 MB / 0.52 GB, free: 0.9805 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.4843, allocations: 0 / 0.52 GB, free: 0.9805 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.269e-05/0.4843, allocations: 4 kB / 0.52 GB, free: 0.9766 MB / 346.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.0005829/0.4849, allocations: 383.2 kB / 0.5204 GB, free: 0.5508 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.485, allocations: 8.031 kB / 0.5204 GB, free: 0.543 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.114e-05/0.4851, allocations: 15.86 kB / 0.5204 GB, free: 0.5273 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.4853, allocations: 178.9 kB / 0.5206 GB, free: 320 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.4853, allocations: 4.188 kB / 0.5206 GB, free: 316 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.67e-05/0.4854, allocations: 12 kB / 0.5206 GB, free: 304 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002533/0.4856, allocations: 94.16 kB / 0.5207 GB, free: 208 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.4857, allocations: 3.906 kB / 0.5207 GB, free: 204 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.4857, allocations: 0 / 0.5207 GB, free: 204 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.4857, allocations: 4 kB / 0.5207 GB, free: 200 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001956/0.4859, allocations: 60.48 kB / 0.5207 GB, free: 140 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.487, allocations: 381.5 kB / 0.5211 GB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/0.4872, allocations: 106.4 kB / 0.5212 GB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.4872, allocations: 0 / 0.5212 GB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.4873, allocations: 38.56 kB / 0.5212 GB, free: 15.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.383e-06/0.4873, allocations: 0 / 0.5212 GB, free: 15.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.001406/0.4887, allocations: 0.6667 MB / 0.5219 GB, free: 14.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.841e-05/0.4888, allocations: 59.3 kB / 0.522 GB, free: 14.72 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.4889, allocations: 117.1 kB / 0.5221 GB, free: 14.6 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.489, allocations: 33.7 kB / 0.5221 GB, free: 14.56 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.4891, allocations: 104.2 kB / 0.5222 GB, free: 14.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.233e-05/0.4892, allocations: 55.19 kB / 0.5222 GB, free: 14.4 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/0.4892, allocations: 4 kB / 0.5223 GB, free: 14.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001983/0.4894, allocations: 322.8 kB / 0.5226 GB, free: 14.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.698e-05/0.4895, allocations: 31.92 kB / 0.5226 GB, free: 14.04 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.465e-05/0.4896, allocations: 60.97 kB / 0.5226 GB, free: 13.97 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.439e-05/0.4896, allocations: 51.44 kB / 0.5227 GB, free: 13.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.4896, allocations: 0 / 0.5227 GB, free: 13.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002974/0.49, allocations: 162.3 kB / 0.5229 GB, free: 13.76 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.49, allocations: 4 kB / 0.5229 GB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.321e-06/0.49, allocations: 4 kB / 0.5229 GB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001539/0.4902, allocations: 24.84 kB / 0.5229 GB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/0.4904, allocations: 27.92 kB / 0.5229 GB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001594/0.492, allocations: 1.452 MB / 0.5243 GB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.939e-05/0.492, allocations: 3.984 kB / 0.5243 GB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.4921, allocations: 12 kB / 0.5243 GB, free: 12.09 MB / 362.7 MB 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 () * Number of clocked 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 0.0001565/0.4922, allocations: 121.9 kB / 0.5245 GB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.638e-05/0.4923, allocations: 11.81 kB / 0.5245 GB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.625e-05/0.4923, allocations: 20.83 kB / 0.5245 GB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.4923, allocations: 64 / 0.5245 GB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.4923, allocations: 4 kB / 0.5245 GB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.4924, allocations: 0 / 0.5245 GB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008657/0.4932, allocations: 0.5479 MB / 0.525 GB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.4933, allocations: 7.953 kB / 0.525 GB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/0.4934, allocations: 23.98 kB / 0.5251 GB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.493e-05/0.4935, allocations: 16.86 kB / 0.5251 GB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.075e-05/0.4935, allocations: 12.08 kB / 0.5251 GB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001217/0.4947, allocations: 1.273 MB / 0.5263 GB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.4948, allocations: 12.03 kB / 0.5263 GB, free: 9.812 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004579/0.4952, allocations: 342.1 kB / 0.5267 GB, free: 9.438 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.241e-05/0.4953, allocations: 89.03 kB / 0.5268 GB, free: 9.332 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.4953, allocations: 4 kB / 0.5268 GB, free: 9.328 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.024e-05/0.4954, allocations: 7.953 kB / 0.5268 GB, free: 9.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.039e-05/0.4955, allocations: 15.92 kB / 0.5268 GB, free: 9.305 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.4955, allocations: 8 kB / 0.5268 GB, free: 9.297 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.394e-05/0.4956, allocations: 91.27 kB / 0.5269 GB, free: 9.207 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4956, allocations: 0 / 0.5269 GB, free: 9.207 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003326/0.4959, allocations: 32 kB / 0.5269 GB, free: 9.176 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass1.s,mass1.v) * 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 (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.0001866/0.4961, allocations: 107.2 kB / 0.527 GB, free: 9.059 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004454/0.4965, allocations: 218.6 kB / 0.5272 GB, free: 8.832 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.4966, allocations: 0 / 0.5272 GB, free: 8.832 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001937/0.4968, allocations: 166.8 kB / 0.5274 GB, free: 8.656 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.4971, allocations: 21.3 kB / 0.5274 GB, free: 8.637 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00076/0.4979, allocations: 463.1 kB / 0.5278 GB, free: 8.148 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.4983, allocations: 0.7203 MB / 0.5285 GB, free: 7.402 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.701e-05/0.4983, allocations: 12.64 kB / 0.5286 GB, free: 7.391 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.109e-05/0.4984, allocations: 11.44 kB / 0.5286 GB, free: 7.379 MB / 362.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4984, allocations: 4 kB / 0.5286 GB, free: 7.375 MB / 362.7 MB Notification: Performance of Templates: time 0.00413/0.5025, allocations: 1.242 MB / 0.5298 GB, free: 6.18 MB / 362.7 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe 2>&1)