Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.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.TwoMassesEquationsReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007887/0.007887, allocations: 170.8 kB / 15.11 MB, free: 5.973 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.576/1.576, allocations: 223.2 MB / 239 MB, free: 1.785 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 103.7 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.003661/0.003661, allocations: 0.5546 MB / 341.9 MB, free: 10.27 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003401/0.0003401, allocations: 6.219 kB / 402.9 MB, free: 98.31 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1376, allocations: 50.57 MB / 453.5 MB, free: 59.25 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1092/0.2469, allocations: 75.15 MB / 0.5163 GB, free: 0 / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003177/0.2473, allocations: 63.97 kB / 0.5163 GB, free: 15.94 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001542/0.2489, allocations: 0.5753 MB / 0.5169 GB, free: 15.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.2489, allocations: 0 / 0.5169 GB, free: 15.36 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.2489, allocations: 0 / 0.5169 GB, free: 15.36 MB / 362.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.0003381/0.2493, allocations: 323.4 kB / 0.5172 GB, free: 15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.2493, allocations: 12.03 kB / 0.5172 GB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.756e-05/0.2494, allocations: 11.86 kB / 0.5172 GB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.2495, allocations: 175.1 kB / 0.5174 GB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.447e-06/0.2496, allocations: 4 kB / 0.5174 GB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.2496, allocations: 4 kB / 0.5174 GB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.529e-05/0.2497, allocations: 45.69 kB / 0.5174 GB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.2497, allocations: 3.938 kB / 0.5174 GB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.232e-06/0.2497, allocations: 0 / 0.5174 GB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-06/0.2497, allocations: 3.938 kB / 0.5174 GB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.167e-05/0.2498, allocations: 19.94 kB / 0.5175 GB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004324/0.2502, allocations: 294.5 kB / 0.5177 GB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.2504, allocations: 42.62 kB / 0.5178 GB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.593e-06/0.2504, allocations: 0 / 0.5178 GB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/0.2504, allocations: 37.44 kB / 0.5178 GB, free: 14.24 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 2.003e-06/0.2504, allocations: 0 / 0.5178 GB, free: 14.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004676/0.2509, allocations: 167.5 kB / 0.518 GB, free: 14.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.359e-05/0.251, allocations: 51.41 kB / 0.518 GB, free: 13.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.796e-05/0.2511, allocations: 92.98 kB / 0.5181 GB, free: 13.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.2511, allocations: 25.7 kB / 0.5181 GB, free: 13.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.658e-05/0.2512, allocations: 84.14 kB / 0.5182 GB, free: 13.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.502e-05/0.2512, allocations: 11.81 kB / 0.5182 GB, free: 13.76 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/0.2512, allocations: 0 / 0.5182 GB, free: 13.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.2514, allocations: 318.8 kB / 0.5185 GB, free: 13.44 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.835e-05/0.2515, allocations: 12 kB / 0.5185 GB, free: 13.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.61e-05/0.2515, allocations: 17.72 kB / 0.5186 GB, free: 13.4 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.668e-05/0.2516, allocations: 15.98 kB / 0.5186 GB, free: 13.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2516, allocations: 0 / 0.5186 GB, free: 13.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001716/0.2518, allocations: 82.34 kB / 0.5186 GB, free: 13.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.2518, allocations: 6.188 kB / 0.5187 GB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.2518, allocations: 0 / 0.5187 GB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001685/0.252, allocations: 24.81 kB / 0.5187 GB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.054e-05/0.252, allocations: 4 kB / 0.5187 GB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001117/0.2532, allocations: 1.265 MB / 0.5199 GB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.423e-05/0.2532, allocations: 4.031 kB / 0.5199 GB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.2532, allocations: 0 / 0.5199 GB, free: 11.86 MB / 362.7 MB 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 (5): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 9.918e-05/0.2533, allocations: 109.8 kB / 0.52 GB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.326e-05/0.2534, allocations: 11.86 kB / 0.52 GB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.356e-05/0.2534, allocations: 3.5 kB / 0.52 GB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.2534, allocations: 3.984 kB / 0.52 GB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.2534, allocations: 4.188 kB / 0.52 GB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.2534, allocations: 4 kB / 0.5201 GB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.2536, allocations: 157.6 kB / 0.5202 GB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.2536, allocations: 0 / 0.5202 GB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.379e-05/0.2537, allocations: 7.953 kB / 0.5202 GB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.043e-05/0.2538, allocations: 20.84 kB / 0.5202 GB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.2538, allocations: 0 / 0.5202 GB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009008/0.2547, allocations: 1.253 MB / 0.5215 GB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2547, allocations: 0 / 0.5215 GB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002775/0.255, allocations: 180.4 kB / 0.5216 GB, free: 9.898 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.707e-05/0.255, allocations: 77.11 kB / 0.5217 GB, free: 9.805 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.394e-06/0.2551, allocations: 3.938 kB / 0.5217 GB, free: 9.801 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.465e-05/0.2551, allocations: 4.031 kB / 0.5217 GB, free: 9.797 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.22e-05/0.2551, allocations: 7.984 kB / 0.5217 GB, free: 9.789 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.2552, allocations: 0 / 0.5217 GB, free: 9.789 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.588e-05/0.2552, allocations: 87.31 kB / 0.5218 GB, free: 9.703 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.2552, allocations: 0 / 0.5218 GB, free: 9.703 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002207/0.2554, allocations: 12 kB / 0.5218 GB, free: 9.691 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (x1,v1) * 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 (3): * Single equations (assignments): 2 * 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.0001267/0.2556, allocations: 103.2 kB / 0.5219 GB, free: 9.582 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000287/0.2559, allocations: 142.6 kB / 0.522 GB, free: 9.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.2559, allocations: 0 / 0.522 GB, free: 9.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001524/0.256, allocations: 126.6 kB / 0.5222 GB, free: 9.293 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001595/0.2562, allocations: 9.266 kB / 0.5222 GB, free: 9.285 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003135/0.2565, allocations: 152 kB / 0.5223 GB, free: 9.105 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.2568, allocations: 0.6848 MB / 0.523 GB, free: 8.395 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.659e-05/0.2569, allocations: 0 / 0.523 GB, free: 8.395 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.749e-05/0.2569, allocations: 11.44 kB / 0.523 GB, free: 8.383 MB / 362.7 MB Notification: Performance of SimCode: time 3.11e-07/0.2569, allocations: 0 / 0.523 GB, free: 8.383 MB / 362.7 MB Notification: Performance of Templates: time 0.002714/0.2596, allocations: 0.4993 MB / 0.5235 GB, free: 7.926 MB / 362.7 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe 2>&1)