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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 195.5 kB / 16.14 MB, free: 6.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.601/1.601, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.003106/0.003105, allocations: 0.5659 MB / 290.5 MB, free: 1.93 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001005/0.001005, allocations: 59.91 kB / 350.9 MB, free: 2.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1391, allocations: 49.6 MB / 400.5 MB, free: 1.184 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.3074/0.4466, allocations: 1.688 MB / 402.2 MB, free: 9.984 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003344/0.447, allocations: 95.75 kB / 402.2 MB, free: 9.949 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.636e-05/0.4471, allocations: 5.625 kB / 402.3 MB, free: 9.945 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.558e-05/0.4472, allocations: 11.33 kB / 402.3 MB, free: 9.941 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001258/0.4474, allocations: 26.92 kB / 402.3 MB, free: 9.926 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001374/0.4475, allocations: 24.11 kB / 402.3 MB, free: 9.922 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001605/0.4477, allocations: 100.7 kB / 402.4 MB, free: 9.895 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.4478, allocations: 31.89 kB / 402.4 MB, free: 9.891 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.565e-05/0.4479, allocations: 41.39 kB / 402.5 MB, free: 9.879 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.4481, allocations: 40.44 kB / 402.5 MB, free: 9.871 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.752e-05/0.4481, allocations: 6.5 kB / 402.5 MB, free: 9.871 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.498e-05/0.4481, allocations: 5.906 kB / 402.5 MB, free: 9.871 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.54e-05/0.4482, allocations: 16.98 kB / 402.6 MB, free: 9.867 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.509e-05/0.4483, allocations: 53.11 kB / 402.6 MB, free: 9.848 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002449/0.4485, allocations: 105 kB / 402.7 MB, free: 9.828 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.4485, allocations: 0.5 kB / 402.7 MB, free: 9.828 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4485, allocations: 0.5312 kB / 402.7 MB, free: 9.828 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.4486, allocations: 4.594 kB / 402.7 MB, free: 9.824 MB / 286.1 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.0005636/0.4491, allocations: 392.6 kB / 403.1 MB, free: 9.449 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.4492, allocations: 9.797 kB / 403.1 MB, free: 9.449 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.701e-05/0.4492, allocations: 14.78 kB / 403.1 MB, free: 9.441 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.4493, allocations: 192.3 kB / 403.3 MB, free: 9.234 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.4494, allocations: 7.562 kB / 403.3 MB, free: 9.234 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.244e-05/0.4494, allocations: 14.62 kB / 403.3 MB, free: 9.23 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002376/0.4497, allocations: 96.19 kB / 403.4 MB, free: 9.191 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.4497, allocations: 4.844 kB / 403.4 MB, free: 9.188 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.4497, allocations: 7.891 kB / 403.4 MB, free: 9.188 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.4497, allocations: 3.109 kB / 403.4 MB, free: 9.188 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.4498, allocations: 54.16 kB / 403.5 MB, free: 9.188 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005383/0.4504, allocations: 391.6 kB / 403.9 MB, free: 8.898 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002133/0.4506, allocations: 104.3 kB / 404 MB, free: 8.867 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.934e-05/0.4507, allocations: 38.34 kB / 404 MB, free: 8.859 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.4507, allocations: 0.9688 kB / 404 MB, free: 8.859 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.4508, allocations: 32.23 kB / 404 MB, free: 8.82 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.4508, allocations: 0 / 404 MB, free: 8.82 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.00113/0.4519, allocations: 0.6838 MB / 404.7 MB, free: 8.344 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.4519, allocations: 53.66 kB / 404.8 MB, free: 8.281 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.917e-05/0.452, allocations: 122.1 kB / 404.9 MB, free: 8.184 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.4521, allocations: 29.52 kB / 404.9 MB, free: 8.152 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.791e-05/0.4521, allocations: 99.78 kB / 405 MB, free: 8.062 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.301e-05/0.4522, allocations: 55.05 kB / 405.1 MB, free: 8.027 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.082e-05/0.4523, allocations: 37.78 kB / 405.1 MB, free: 8.008 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.469e-05/0.4524, allocations: 320.1 kB / 405.4 MB, free: 7.695 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.659e-05/0.4524, allocations: 36.52 kB / 405.5 MB, free: 7.691 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.831e-05/0.4525, allocations: 57.77 kB / 405.5 MB, free: 7.668 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001615/0.4527, allocations: 99.3 kB / 405.6 MB, free: 7.641 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.4527, allocations: 4 kB / 405.6 MB, free: 7.637 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002984/0.453, allocations: 171 kB / 405.8 MB, free: 7.578 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.453, allocations: 6.516 kB / 405.8 MB, free: 7.578 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.4531, allocations: 0 / 405.8 MB, free: 7.578 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001478/0.4532, allocations: 32.67 kB / 405.8 MB, free: 7.57 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.4533, allocations: 25.97 kB / 405.9 MB, free: 7.566 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001008/0.4544, allocations: 1.454 MB / 407.3 MB, free: 6.211 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.845e-05/0.4544, allocations: 4.719 kB / 407.3 MB, free: 6.211 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.4544, allocations: 3.906 kB / 407.3 MB, free: 6.211 MB / 286.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.755e-05/0.4545, allocations: 140.7 kB / 407.5 MB, free: 6.078 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.403e-05/0.4546, allocations: 12.91 kB / 407.5 MB, free: 6.07 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.223e-05/0.4546, allocations: 16.2 kB / 407.5 MB, free: 6.055 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.4546, allocations: 2.016 kB / 407.5 MB, free: 6.055 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.4546, allocations: 1.469 kB / 407.5 MB, free: 6.055 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.4546, allocations: 5.766 kB / 407.5 MB, free: 6.051 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006507/0.4553, allocations: 0.5349 MB / 408 MB, free: 5.574 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.4553, allocations: 1.219 kB / 408 MB, free: 5.574 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.4555, allocations: 32.25 kB / 408.1 MB, free: 5.566 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-05/0.4555, allocations: 17.31 kB / 408.1 MB, free: 5.559 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.4555, allocations: 6.094 kB / 408.1 MB, free: 5.555 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006529/0.4562, allocations: 1.269 MB / 409.4 MB, free: 4.25 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.4562, allocations: 1.062 kB / 409.4 MB, free: 4.25 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003599/0.4566, allocations: 317 kB / 409.7 MB, free: 4.012 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.879e-05/0.4566, allocations: 86.31 kB / 409.7 MB, free: 3.914 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.4567, allocations: 6.797 kB / 409.8 MB, free: 3.91 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.444e-05/0.4567, allocations: 2.312 kB / 409.8 MB, free: 3.91 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.555e-05/0.4568, allocations: 16.91 kB / 409.8 MB, free: 3.902 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.4568, allocations: 4.734 kB / 409.8 MB, free: 3.902 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.415e-05/0.4568, allocations: 95.25 kB / 409.9 MB, free: 3.824 MB / 286.1 MB Notification: Performance of sort global known variables: time 3e-07/0.4569, allocations: 1.156 kB / 409.9 MB, free: 3.824 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003079/0.4572, allocations: 33.41 kB / 409.9 MB, free: 3.816 MB / 286.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.412e-05/0.4573, allocations: 97.19 kB / 410 MB, free: 3.723 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003945/0.4577, allocations: 223.7 kB / 410.2 MB, free: 3.574 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4577, allocations: 0 / 410.2 MB, free: 3.574 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000166/0.4579, allocations: 172.1 kB / 410.4 MB, free: 3.441 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004085/0.4583, allocations: 24.91 kB / 410.4 MB, free: 3.434 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006582/0.4589, allocations: 438.6 kB / 410.8 MB, free: 3.086 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001928/0.4591, allocations: 0.7096 MB / 411.5 MB, free: 2.387 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.823e-05/0.4592, allocations: 8.312 kB / 411.6 MB, free: 2.387 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.855e-05/0.4592, allocations: 14.03 kB / 411.6 MB, free: 2.379 MB / 286.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4592, allocations: 4 kB / 411.6 MB, free: 2.375 MB / 286.1 MB Notification: Performance of Templates: time 0.004984/0.4642, allocations: 1.316 MB / 412.9 MB, free: 2.285 MB / 286.1 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)