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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002508/0.002508, allocations: 176.8 kB / 7.461 MB, free: 2.488 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.045/1.045, allocations: 221.4 MB / 229.3 MB, free: 3.07 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.0008581/0.0008581, allocations: 98.23 kB / 280.1 MB, free: 1.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.002352/0.002352, allocations: 0.5568 MB / 331.4 MB, free: 13.89 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.358e-06/4.378e-06, allocations: 0 / 388 MB, free: 76.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06838/0.0684, allocations: 50.56 MB / 438.6 MB, free: 26.03 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.198/0.2664, allocations: 74.35 MB / 0.5009 GB, free: 5.684 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001327/0.2666, allocations: 62.59 kB / 0.501 GB, free: 5.652 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.0009392/0.2675, allocations: 272.4 kB / 0.5012 GB, free: 5.453 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.2675, allocations: 2.031 kB / 0.5012 GB, free: 5.453 MB / 314.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.0001655/0.2677, allocations: 318.1 kB / 0.5016 GB, free: 5.102 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.2677, allocations: 8.031 kB / 0.5016 GB, free: 5.094 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.666e-05/0.2678, allocations: 7.906 kB / 0.5016 GB, free: 5.086 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.771e-05/0.2678, allocations: 174.9 kB / 0.5017 GB, free: 4.879 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.2679, allocations: 4 kB / 0.5017 GB, free: 4.875 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.2679, allocations: 0 / 0.5017 GB, free: 4.875 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.78e-05/0.2679, allocations: 11.91 kB / 0.5018 GB, free: 4.863 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.613e-05/0.268, allocations: 41.62 kB / 0.5018 GB, free: 4.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.268, allocations: 0 / 0.5018 GB, free: 4.82 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.268, allocations: 6.609 kB / 0.5018 GB, free: 4.816 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.268, allocations: 4 kB / 0.5018 GB, free: 4.812 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001611/0.2682, allocations: 228.7 kB / 0.502 GB, free: 4.559 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.127e-05/0.2683, allocations: 37.09 kB / 0.5021 GB, free: 4.523 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.403e-05/0.2683, allocations: 12.86 kB / 0.5021 GB, free: 4.508 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.298e-06/0.2683, allocations: 0 / 0.5021 GB, free: 4.508 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.237e-05/0.2683, allocations: 42.38 kB / 0.5021 GB, free: 4.461 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 7.81e-07/0.2683, allocations: 0 / 0.5021 GB, free: 4.461 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004563/0.2688, allocations: 477.2 kB / 0.5026 GB, free: 3.926 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.746e-05/0.2688, allocations: 51.41 kB / 0.5026 GB, free: 3.863 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.126e-05/0.2689, allocations: 92.81 kB / 0.5027 GB, free: 3.77 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.672e-06/0.2689, allocations: 25.7 kB / 0.5027 GB, free: 3.738 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.138e-05/0.2689, allocations: 80.14 kB / 0.5028 GB, free: 3.656 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.059e-05/0.2689, allocations: 31.48 kB / 0.5028 GB, free: 3.629 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-06/0.2689, allocations: 4 kB / 0.5028 GB, free: 3.625 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.28e-05/0.269, allocations: 314 kB / 0.5031 GB, free: 3.312 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.961e-05/0.269, allocations: 11.75 kB / 0.5031 GB, free: 3.305 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.65e-05/0.269, allocations: 37.2 kB / 0.5032 GB, free: 3.27 MB / 314.7 MB Notification: The following equation is consistent and got removed from the initialization problem: x1 = 0.0 Notification: The following equation is consistent and got removed from the initialization problem: v1 = 0.0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0001897/0.2692, allocations: 194.4 kB / 0.5034 GB, free: 3.051 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.2692, allocations: 0 / 0.5034 GB, free: 3.051 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001202/0.2693, allocations: 91.5 kB / 0.5035 GB, free: 2.965 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/0.2694, allocations: 4 kB / 0.5035 GB, free: 2.961 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.2694, allocations: 3.938 kB / 0.5035 GB, free: 2.957 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.947e-05/0.2695, allocations: 20.73 kB / 0.5035 GB, free: 2.938 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.795e-05/0.2695, allocations: 19.83 kB / 0.5035 GB, free: 2.918 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005836/0.2701, allocations: 1.228 MB / 0.5047 GB, free: 1.605 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.978e-05/0.2702, allocations: 0 / 0.5047 GB, free: 1.605 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-06/0.2702, allocations: 0 / 0.5047 GB, free: 1.605 MB / 314.7 MB Warning: Assuming redundant initial conditions for the following 2 initial equations: 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 5.022e-05/0.2702, allocations: 116.8 kB / 0.5048 GB, free: 1.488 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.41e-05/0.2702, allocations: 4.062 kB / 0.5048 GB, free: 1.484 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.459e-05/0.2703, allocations: 8.062 kB / 0.5048 GB, free: 1.477 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.2703, allocations: 0 / 0.5048 GB, free: 1.477 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.2703, allocations: 3.906 kB / 0.5048 GB, free: 1.473 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.2703, allocations: 3.938 kB / 0.5048 GB, free: 1.469 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002634/0.2706, allocations: 339.2 kB / 0.5052 GB, free: 1.102 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2706, allocations: 0 / 0.5052 GB, free: 1.102 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.702e-05/0.2706, allocations: 8 kB / 0.5052 GB, free: 1.094 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.493e-05/0.2707, allocations: 19.78 kB / 0.5052 GB, free: 1.074 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.2707, allocations: 4 kB / 0.5052 GB, free: 1.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000569/0.2713, allocations: 1.231 MB / 0.5064 GB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2713, allocations: 0 / 0.5064 GB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001918/0.2715, allocations: 259.6 kB / 0.5066 GB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.608e-05/0.2715, allocations: 81.02 kB / 0.5067 GB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.799e-06/0.2715, allocations: 4 kB / 0.5067 GB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.735e-05/0.2716, allocations: 0 / 0.5067 GB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.475e-05/0.2716, allocations: 7.984 kB / 0.5067 GB, free: 15.37 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.2716, allocations: 0.9531 kB / 0.5067 GB, free: 15.37 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.702e-05/0.2717, allocations: 90.52 kB / 0.5068 GB, free: 15.28 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002191/0.2719, allocations: 12 kB / 0.5068 GB, free: 15.27 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 8.976e-05/0.272, allocations: 99.23 kB / 0.5069 GB, free: 15.16 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002109/0.2722, allocations: 144.2 kB / 0.5071 GB, free: 15.02 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.2722, allocations: 4 kB / 0.5071 GB, free: 15.02 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.2724, allocations: 133.5 kB / 0.5072 GB, free: 14.88 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001244/0.2725, allocations: 7.344 kB / 0.5072 GB, free: 14.88 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001945/0.2727, allocations: 125.5 kB / 0.5073 GB, free: 14.73 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001945/0.2729, allocations: 0.6989 MB / 0.508 GB, free: 14.01 MB / 330.7 MB Notification: Performance of SimCode: time 2.7e-07/0.2729, allocations: 4.188 kB / 0.508 GB, free: 14 MB / 330.7 MB Notification: Performance of Templates: time 0.002081/0.275, allocations: 0.6777 MB / 0.5087 GB, free: 13.38 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)