Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.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.TwoMassesEquationsFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 174.9 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.552/1.552, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0009908/0.0009914, allocations: 91.77 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.003801/0.003801, allocations: 0.5617 MB / 337 MB, free: 9.488 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.31e-05/3.313e-05, allocations: 0 / 395.5 MB, free: 70.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1326, allocations: 50.58 MB / 446 MB, free: 19.98 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4742/0.6068, allocations: 75.08 MB / 0.5089 GB, free: 12.75 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/0.6071, allocations: 66.56 kB / 0.509 GB, free: 12.71 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001418/0.6086, allocations: 0.5796 MB / 0.5095 GB, free: 12.18 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.6086, allocations: 1.031 kB / 0.5095 GB, free: 12.18 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.6086, allocations: 0 / 0.5095 GB, free: 12.18 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.0003449/0.6089, allocations: 330 kB / 0.5098 GB, free: 11.82 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.609, allocations: 12.03 kB / 0.5099 GB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.01e-05/0.609, allocations: 8.484 kB / 0.5099 GB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.6092, allocations: 163.1 kB / 0.51 GB, free: 11.6 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.6092, allocations: 6.656 kB / 0.51 GB, free: 11.6 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.6092, allocations: 4 kB / 0.51 GB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.6094, allocations: 44.31 kB / 0.5101 GB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.6094, allocations: 0 / 0.5101 GB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.6094, allocations: 0 / 0.5101 GB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.6094, allocations: 8 kB / 0.5101 GB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.404e-05/0.6094, allocations: 19.2 kB / 0.5101 GB, free: 11.53 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003004/0.6098, allocations: 240 kB / 0.5103 GB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.193e-05/0.6099, allocations: 52.69 kB / 0.5104 GB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.534e-05/0.6099, allocations: 20.36 kB / 0.5104 GB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.905e-06/0.6099, allocations: 0 / 0.5104 GB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.61, allocations: 43.2 kB / 0.5104 GB, free: 11.13 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 9.11e-07/0.61, allocations: 0 / 0.5104 GB, free: 11.13 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007402/0.6107, allocations: 0.4966 MB / 0.5109 GB, free: 10.57 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.6108, allocations: 51.41 kB / 0.511 GB, free: 10.51 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.913e-05/0.6108, allocations: 96.81 kB / 0.5111 GB, free: 10.41 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.6109, allocations: 25.7 kB / 0.5111 GB, free: 10.38 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.008e-05/0.6109, allocations: 87.27 kB / 0.5112 GB, free: 10.3 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.265e-05/0.6109, allocations: 30.8 kB / 0.5112 GB, free: 10.27 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-06/0.611, allocations: 0 / 0.5112 GB, free: 10.27 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.6111, allocations: 314.6 kB / 0.5115 GB, free: 9.957 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.808e-05/0.6111, allocations: 15.69 kB / 0.5115 GB, free: 9.945 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.142e-05/0.6112, allocations: 32.14 kB / 0.5116 GB, free: 9.914 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002433/0.6114, allocations: 199.5 kB / 0.5117 GB, free: 9.691 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.6114, allocations: 3.938 kB / 0.5117 GB, free: 9.688 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001528/0.6116, allocations: 92.88 kB / 0.5118 GB, free: 9.602 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.506e-05/0.6117, allocations: 7.984 kB / 0.5118 GB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.6117, allocations: 7.5 kB / 0.5118 GB, free: 9.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000115/0.6118, allocations: 16.8 kB / 0.5119 GB, free: 9.574 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.271e-05/0.6119, allocations: 19.92 kB / 0.5119 GB, free: 9.555 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001032/0.6129, allocations: 1.282 MB / 0.5131 GB, free: 8.184 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.212e-05/0.613, allocations: 0 / 0.5131 GB, free: 8.184 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.613, allocations: 7.969 kB / 0.5131 GB, free: 8.176 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 () * 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.0001228/0.6131, allocations: 116.3 kB / 0.5133 GB, free: 8.059 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.167e-05/0.6131, allocations: 384 / 0.5133 GB, free: 8.059 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.49e-05/0.6132, allocations: 7.906 kB / 0.5133 GB, free: 8.051 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.6132, allocations: 7.984 kB / 0.5133 GB, free: 8.043 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.6132, allocations: 0 / 0.5133 GB, free: 8.043 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.6132, allocations: 3.984 kB / 0.5133 GB, free: 8.039 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004336/0.6136, allocations: 371.5 kB / 0.5136 GB, free: 7.629 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.6136, allocations: 0 / 0.5136 GB, free: 7.629 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.055e-05/0.6137, allocations: 11.98 kB / 0.5136 GB, free: 7.617 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-05/0.6138, allocations: 24.28 kB / 0.5137 GB, free: 7.594 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.6138, allocations: 3.953 kB / 0.5137 GB, free: 7.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009141/0.6147, allocations: 1.288 MB / 0.5149 GB, free: 6.219 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.6147, allocations: 0 / 0.5149 GB, free: 6.219 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002538/0.615, allocations: 257 kB / 0.5152 GB, free: 5.945 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.852e-05/0.615, allocations: 81.02 kB / 0.5152 GB, free: 5.848 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/0.6151, allocations: 8 kB / 0.5153 GB, free: 5.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.129e-05/0.6151, allocations: 3.375 kB / 0.5153 GB, free: 5.84 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.223e-05/0.6152, allocations: 19.94 kB / 0.5153 GB, free: 5.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.6152, allocations: 4 kB / 0.5153 GB, free: 5.816 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.323e-05/0.6152, allocations: 79.41 kB / 0.5154 GB, free: 5.738 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.6152, allocations: 0 / 0.5154 GB, free: 5.738 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002468/0.6155, allocations: 15.44 kB / 0.5154 GB, free: 5.727 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.000114/0.6156, allocations: 98.73 kB / 0.5155 GB, free: 5.621 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003009/0.6159, allocations: 164.1 kB / 0.5156 GB, free: 5.461 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.6159, allocations: 0 / 0.5156 GB, free: 5.461 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001594/0.6161, allocations: 146.2 kB / 0.5158 GB, free: 5.312 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001343/0.6162, allocations: 6.188 kB / 0.5158 GB, free: 5.309 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002375/0.6165, allocations: 138.6 kB / 0.5159 GB, free: 5.152 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.6168, allocations: 0.6887 MB / 0.5166 GB, free: 4.438 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.908e-05/0.6168, allocations: 4.188 kB / 0.5166 GB, free: 4.43 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.413e-05/0.6168, allocations: 11.38 kB / 0.5166 GB, free: 4.422 MB / 330.7 MB Notification: Performance of SimCode: time 3.9e-07/0.6168, allocations: 0 / 0.5166 GB, free: 4.422 MB / 330.7 MB Notification: Performance of Templates: time 0.002516/0.6193, allocations: 0.6382 MB / 0.5172 GB, free: 3.836 MB / 330.7 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe 2>&1)