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") [: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.001875/0.001875, allocations: 186.1 kB / 7.46 MB, free: 2.516 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.038/1.038, allocations: 221.4 MB / 229.3 MB, free: 3.004 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.0007909/0.0007912, allocations: 103.7 kB / 280.1 MB, free: 1.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.002111/0.002111, allocations: 0.5568 MB / 331.4 MB, free: 13.88 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.328e-06/4.348e-06, allocations: 0 / 388 MB, free: 76.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06837/0.06839, allocations: 50.56 MB / 438.6 MB, free: 26.02 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2/0.2685, allocations: 74.34 MB / 0.5009 GB, free: 5.715 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001577/0.2687, allocations: 69.02 kB / 0.501 GB, free: 5.68 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.0009858/0.2697, allocations: 269.8 kB / 0.5012 GB, free: 5.48 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.2697, allocations: 0 / 0.5012 GB, free: 5.48 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.0001602/0.2698, allocations: 319.2 kB / 0.5015 GB, free: 5.129 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.767e-05/0.2699, allocations: 8.031 kB / 0.5015 GB, free: 5.121 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.743e-05/0.2699, allocations: 7.906 kB / 0.5016 GB, free: 5.113 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.026e-05/0.27, allocations: 171.2 kB / 0.5017 GB, free: 4.906 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.27, allocations: 0 / 0.5017 GB, free: 4.906 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.27, allocations: 4 kB / 0.5017 GB, free: 4.902 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.805e-05/0.2701, allocations: 15.53 kB / 0.5017 GB, free: 4.891 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.331e-05/0.2701, allocations: 41.12 kB / 0.5018 GB, free: 4.848 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.2702, allocations: 0 / 0.5018 GB, free: 4.848 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.243e-06/0.2702, allocations: 2.625 kB / 0.5018 GB, free: 4.848 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.616e-06/0.2702, allocations: 0 / 0.5018 GB, free: 4.848 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002351/0.2704, allocations: 272.4 kB / 0.502 GB, free: 4.551 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.757e-05/0.2705, allocations: 29.16 kB / 0.5021 GB, free: 4.52 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.565e-05/0.2705, allocations: 8.859 kB / 0.5021 GB, free: 4.508 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.2705, allocations: 4 kB / 0.5021 GB, free: 4.504 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.378e-06/0.2705, allocations: 34.25 kB / 0.5021 GB, free: 4.465 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.2705, allocations: 0 / 0.5021 GB, free: 4.465 MB / 314.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001862/0.2707, allocations: 61.97 kB / 0.5022 GB, free: 4.398 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.15e-05/0.2708, allocations: 55.41 kB / 0.5022 GB, free: 4.332 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.501e-05/0.2708, allocations: 92.5 kB / 0.5023 GB, free: 4.238 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.161e-06/0.2708, allocations: 25.7 kB / 0.5023 GB, free: 4.207 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.515e-05/0.2708, allocations: 84.08 kB / 0.5024 GB, free: 4.121 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.373e-05/0.2708, allocations: 19.42 kB / 0.5024 GB, free: 4.105 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.414e-06/0.2709, allocations: 0 / 0.5024 GB, free: 4.105 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.309e-05/0.2709, allocations: 317.9 kB / 0.5027 GB, free: 3.789 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.369e-05/0.2709, allocations: 11.88 kB / 0.5027 GB, free: 3.781 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.945e-05/0.2709, allocations: 23.53 kB / 0.5028 GB, free: 3.754 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.843e-05/0.271, allocations: 11.55 kB / 0.5028 GB, free: 3.746 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.271, allocations: 0 / 0.5028 GB, free: 3.746 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.716e-05/0.2711, allocations: 61.86 kB / 0.5028 GB, free: 3.684 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.607e-06/0.2711, allocations: 9.938 kB / 0.5028 GB, free: 3.676 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.2711, allocations: 0 / 0.5028 GB, free: 3.676 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001003/0.2712, allocations: 24.72 kB / 0.5029 GB, free: 3.648 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.428e-05/0.2712, allocations: 11.94 kB / 0.5029 GB, free: 3.637 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000534/0.2718, allocations: 1.195 MB / 0.5041 GB, free: 2.352 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.896e-05/0.2718, allocations: 1.438 kB / 0.5041 GB, free: 2.352 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.2718, allocations: 4.031 kB / 0.5041 GB, free: 2.348 MB / 314.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 3.799e-05/0.2719, allocations: 104.9 kB / 0.5042 GB, free: 2.238 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.266e-05/0.2719, allocations: 0 / 0.5042 GB, free: 2.238 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.52e-05/0.2719, allocations: 19.36 kB / 0.5042 GB, free: 2.219 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.2719, allocations: 0 / 0.5042 GB, free: 2.219 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.2719, allocations: 0 / 0.5042 GB, free: 2.219 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.2719, allocations: 4.094 kB / 0.5042 GB, free: 2.215 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.511e-05/0.272, allocations: 141.5 kB / 0.5043 GB, free: 2.043 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.272, allocations: 3.938 kB / 0.5043 GB, free: 2.039 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.411e-05/0.2721, allocations: 4 kB / 0.5043 GB, free: 2.035 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.493e-05/0.2721, allocations: 16.84 kB / 0.5043 GB, free: 2.016 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.2722, allocations: 1.562 kB / 0.5043 GB, free: 2.016 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004451/0.2726, allocations: 1.195 MB / 0.5055 GB, free: 0.7344 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2726, allocations: 0 / 0.5055 GB, free: 0.7344 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000112/0.2727, allocations: 179.3 kB / 0.5057 GB, free: 0.5547 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.103e-05/0.2728, allocations: 77.11 kB / 0.5058 GB, free: 472 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.083e-06/0.2728, allocations: 0 / 0.5058 GB, free: 472 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.843e-05/0.2728, allocations: 3.906 kB / 0.5058 GB, free: 468 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.457e-05/0.2728, allocations: 8.078 kB / 0.5058 GB, free: 460 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.2728, allocations: 3.984 kB / 0.5058 GB, free: 456 kB / 314.7 MB Notification: Performance of sort global known variables: time 1.395e-05/0.2729, allocations: 78.47 kB / 0.5058 GB, free: 380 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.000204/0.2731, allocations: 12 kB / 0.5059 GB, free: 368 kB / 314.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 6.054e-05/0.2731, allocations: 95.31 kB / 0.5059 GB, free: 260 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001602/0.2733, allocations: 121.1 kB / 0.5061 GB, free: 132 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2733, allocations: 0 / 0.5061 GB, free: 132 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.647e-05/0.2734, allocations: 128.1 kB / 0.5062 GB, free: 0 / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001102/0.2735, allocations: 0 / 0.5062 GB, free: 0 / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001888/0.2737, allocations: 104.4 kB / 0.5063 GB, free: 15.88 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001795/0.2739, allocations: 0.6915 MB / 0.507 GB, free: 15.16 MB / 330.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2739, allocations: 0 / 0.507 GB, free: 15.16 MB / 330.7 MB Notification: Performance of Templates: time 0.001883/0.2758, allocations: 0.5396 MB / 0.5075 GB, free: 14.68 MB / 330.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)