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.001076/0.001076, allocations: 172.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 221.5 MB / 229.6 MB, free: 7.52 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.001105/0.001105, allocations: 91.34 kB / 280.5 MB, free: 5.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.003435/0.003435, allocations: 0.5606 MB / 331.8 MB, free: 14.53 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.864e-05/1.871e-05, allocations: 0 / 388.6 MB, free: 5.727 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3271, allocations: 50.58 MB / 439.2 MB, free: 19.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1129/0.44, allocations: 74.4 MB / 0.5015 GB, free: 8.832 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/0.4404, allocations: 71.91 kB / 0.5016 GB, free: 8.762 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001501/0.4419, allocations: 0.569 MB / 0.5022 GB, free: 8.191 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4419, allocations: 4 kB / 0.5022 GB, free: 8.188 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.4419, allocations: 4 kB / 0.5022 GB, free: 8.184 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000362/0.4423, allocations: 314.5 kB / 0.5025 GB, free: 7.832 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/0.4424, allocations: 8.031 kB / 0.5025 GB, free: 7.824 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.569e-05/0.4424, allocations: 15.86 kB / 0.5025 GB, free: 7.809 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.4426, allocations: 159.1 kB / 0.5026 GB, free: 7.613 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.4426, allocations: 0 / 0.5026 GB, free: 7.613 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.628e-05/0.4426, allocations: 7.984 kB / 0.5026 GB, free: 7.605 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.599e-05/0.4427, allocations: 8 kB / 0.5027 GB, free: 7.598 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.581e-05/0.4428, allocations: 45.69 kB / 0.5027 GB, free: 7.547 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.4429, allocations: 3.938 kB / 0.5027 GB, free: 7.543 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.4429, allocations: 7.922 kB / 0.5027 GB, free: 7.535 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.4429, allocations: 3.953 kB / 0.5027 GB, free: 7.531 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000535/0.4434, allocations: 263.2 kB / 0.503 GB, free: 7.23 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.4436, allocations: 42.62 kB / 0.503 GB, free: 7.18 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.875e-05/0.4436, allocations: 12.86 kB / 0.503 GB, free: 7.164 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.4436, allocations: 0 / 0.503 GB, free: 7.164 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.4437, allocations: 41.84 kB / 0.5031 GB, free: 7.117 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 3.115e-06/0.4437, allocations: 0 / 0.5031 GB, free: 7.117 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003224/0.444, allocations: 70.42 kB / 0.5031 GB, free: 7.039 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/0.4441, allocations: 51.41 kB / 0.5032 GB, free: 6.977 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.611e-05/0.4442, allocations: 89 kB / 0.5033 GB, free: 6.883 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.4442, allocations: 25.7 kB / 0.5033 GB, free: 6.852 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.324e-05/0.4443, allocations: 92.08 kB / 0.5034 GB, free: 6.758 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.535e-05/0.4443, allocations: 15.8 kB / 0.5034 GB, free: 6.742 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.4443, allocations: 0 / 0.5034 GB, free: 6.742 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.4445, allocations: 314.8 kB / 0.5037 GB, free: 6.426 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.081e-05/0.4445, allocations: 4 kB / 0.5037 GB, free: 6.422 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.535e-05/0.4446, allocations: 17.72 kB / 0.5037 GB, free: 6.398 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.461e-05/0.4446, allocations: 19.92 kB / 0.5037 GB, free: 6.379 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.4446, allocations: 4 kB / 0.5037 GB, free: 6.375 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001541/0.4448, allocations: 62.5 kB / 0.5038 GB, free: 6.305 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/0.4448, allocations: 8 kB / 0.5038 GB, free: 6.297 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.4448, allocations: 3.938 kB / 0.5038 GB, free: 6.293 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001803/0.445, allocations: 20.84 kB / 0.5038 GB, free: 6.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.862e-05/0.4451, allocations: 7.938 kB / 0.5038 GB, free: 6.262 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001103/0.4462, allocations: 1.197 MB / 0.505 GB, free: 4.945 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.703e-05/0.4463, allocations: 0 / 0.505 GB, free: 4.945 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.4463, allocations: 4.031 kB / 0.505 GB, free: 4.941 MB / 346.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 () * 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.675e-05/0.4464, allocations: 105.4 kB / 0.5051 GB, free: 4.832 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.589e-05/0.4464, allocations: 11.84 kB / 0.5051 GB, free: 4.82 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.312e-05/0.4464, allocations: 12.11 kB / 0.5051 GB, free: 4.805 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.4465, allocations: 0 / 0.5051 GB, free: 4.805 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.155e-06/0.4465, allocations: 3.938 kB / 0.5051 GB, free: 4.801 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4465, allocations: 0 / 0.5051 GB, free: 4.801 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.4466, allocations: 138.2 kB / 0.5053 GB, free: 4.629 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.4467, allocations: 4 kB / 0.5053 GB, free: 4.625 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.399e-05/0.4467, allocations: 0 / 0.5053 GB, free: 4.625 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.047e-05/0.4468, allocations: 24.84 kB / 0.5053 GB, free: 4.598 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.4468, allocations: 0 / 0.5053 GB, free: 4.598 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008803/0.4477, allocations: 1.205 MB / 0.5065 GB, free: 3.281 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4477, allocations: 0 / 0.5065 GB, free: 3.281 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001865/0.4479, allocations: 164.4 kB / 0.5066 GB, free: 3.102 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.369e-05/0.448, allocations: 84.95 kB / 0.5067 GB, free: 3 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.044e-05/0.448, allocations: 7.984 kB / 0.5067 GB, free: 2.992 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.44e-05/0.448, allocations: 0 / 0.5067 GB, free: 2.992 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.135e-05/0.448, allocations: 3.984 kB / 0.5067 GB, free: 2.988 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.4481, allocations: 4.156 kB / 0.5067 GB, free: 2.984 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.973e-05/0.4481, allocations: 83.28 kB / 0.5068 GB, free: 2.902 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4481, allocations: 0 / 0.5068 GB, free: 2.902 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002289/0.4483, allocations: 12 kB / 0.5068 GB, free: 2.891 MB / 346.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 () * 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.0001241/0.4485, allocations: 95.23 kB / 0.5069 GB, free: 2.785 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002866/0.4488, allocations: 129.7 kB / 0.507 GB, free: 2.648 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4488, allocations: 4.062 kB / 0.507 GB, free: 2.645 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001347/0.4489, allocations: 117.8 kB / 0.5071 GB, free: 2.52 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001459/0.4491, allocations: 0 / 0.5071 GB, free: 2.52 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002761/0.4494, allocations: 108 kB / 0.5072 GB, free: 2.395 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004239/0.4498, allocations: 0.6846 MB / 0.5079 GB, free: 1.684 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.141e-05/0.4498, allocations: 0 / 0.5079 GB, free: 1.684 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.844e-05/0.4499, allocations: 11.44 kB / 0.5079 GB, free: 1.672 MB / 346.7 MB Notification: Performance of SimCode: time 6.11e-07/0.4499, allocations: 4 kB / 0.5079 GB, free: 1.668 MB / 346.7 MB Notification: Performance of Templates: time 0.002963/0.4528, allocations: 498.8 kB / 0.5084 GB, free: 1.223 MB / 346.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)