Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.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.TwoMassesEquationsReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState") [: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.0009158/0.0009158, allocations: 180.1 kB / 7.453 MB, free: 1.547 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.027/1.027, allocations: 221.4 MB / 229.3 MB, free: 8.387 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008071/0.000807, allocations: 93.2 kB / 280.1 MB, free: 7.816 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.002021/0.002021, allocations: 0.5622 MB / 331.5 MB, free: 4.422 MB / 274.8 MB Notification: Performance of FrontEnd - loaded program: time 5.981e-06/6.001e-06, allocations: 0 / 388 MB, free: 67.25 MB / 290.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06455/0.06458, allocations: 50.57 MB / 438.6 MB, free: 16.79 MB / 290.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2044/0.269, allocations: 74.59 MB / 0.5012 GB, free: 5.957 MB / 322.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001661/0.2692, allocations: 67.47 kB / 0.5012 GB, free: 5.922 MB / 322.8 MB Notification: Performance of FrontEnd: time 0.001266/0.2705, allocations: 320.5 kB / 0.5015 GB, free: 5.676 MB / 322.8 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.2705, allocations: 0.5625 kB / 0.5015 GB, free: 5.676 MB / 322.8 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.0002372/0.2707, allocations: 326.7 kB / 0.5018 GB, free: 5.316 MB / 322.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.2708, allocations: 8.031 kB / 0.5019 GB, free: 5.309 MB / 322.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.703e-05/0.2708, allocations: 7.875 kB / 0.5019 GB, free: 5.305 MB / 322.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.2709, allocations: 167.8 kB / 0.502 GB, free: 5.102 MB / 322.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.2709, allocations: 3.984 kB / 0.502 GB, free: 5.098 MB / 322.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.271, allocations: 4 kB / 0.502 GB, free: 5.094 MB / 322.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.733e-05/0.271, allocations: 11.91 kB / 0.502 GB, free: 5.082 MB / 322.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.62e-05/0.2711, allocations: 40.88 kB / 0.5021 GB, free: 5.039 MB / 322.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.2711, allocations: 7.422 kB / 0.5021 GB, free: 5.035 MB / 322.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.2711, allocations: 0 / 0.5021 GB, free: 5.035 MB / 322.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.2711, allocations: 0 / 0.5021 GB, free: 5.035 MB / 322.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003019/0.2714, allocations: 272.9 kB / 0.5023 GB, free: 4.734 MB / 322.8 MB Notification: Performance of preOpt comSubExp (simulation): time 4.822e-05/0.2715, allocations: 26.12 kB / 0.5024 GB, free: 4.707 MB / 322.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.049e-05/0.2715, allocations: 12.36 kB / 0.5024 GB, free: 4.695 MB / 322.8 MB Notification: Performance of preOpt evalFunc (simulation): time 6.863e-06/0.2715, allocations: 0 / 0.5024 GB, free: 4.695 MB / 322.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.2716, allocations: 34.5 kB / 0.5024 GB, free: 4.652 MB / 322.8 MB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.2716, allocations: 4 kB / 0.5024 GB, free: 4.648 MB / 322.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001963/0.2718, allocations: 65.91 kB / 0.5025 GB, free: 4.582 MB / 322.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.076e-05/0.2718, allocations: 55.41 kB / 0.5025 GB, free: 4.516 MB / 322.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.49e-05/0.2719, allocations: 88.16 kB / 0.5026 GB, free: 4.426 MB / 322.8 MB Notification: Performance of collectPreVariables (initialization): time 9.909e-06/0.2719, allocations: 29.7 kB / 0.5026 GB, free: 4.391 MB / 322.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.759e-05/0.2719, allocations: 84.08 kB / 0.5027 GB, free: 4.305 MB / 322.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.529e-05/0.2719, allocations: 15.61 kB / 0.5027 GB, free: 4.293 MB / 322.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-06/0.2719, allocations: 0 / 0.5027 GB, free: 4.293 MB / 322.8 MB Notification: Performance of setup shared object (initialization): time 8.6e-05/0.272, allocations: 321.7 kB / 0.503 GB, free: 3.973 MB / 322.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.578e-05/0.2721, allocations: 4 kB / 0.5031 GB, free: 3.969 MB / 322.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.852e-05/0.2721, allocations: 22.09 kB / 0.5031 GB, free: 3.945 MB / 322.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.181e-05/0.2721, allocations: 15.8 kB / 0.5031 GB, free: 3.934 MB / 322.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.2721, allocations: 0 / 0.5031 GB, free: 3.934 MB / 322.8 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.068e-05/0.2722, allocations: 48.83 kB / 0.5031 GB, free: 3.883 MB / 322.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.007e-06/0.2722, allocations: 7.984 kB / 0.5031 GB, free: 3.875 MB / 322.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.2722, allocations: 4 kB / 0.5031 GB, free: 3.871 MB / 322.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.258e-06/0.2722, allocations: 3.938 kB / 0.5031 GB, free: 3.867 MB / 322.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.919e-05/0.2723, allocations: 13.5 kB / 0.5032 GB, free: 3.855 MB / 322.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.035e-06/0.2723, allocations: 4.031 kB / 0.5032 GB, free: 3.852 MB / 322.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.923e-05/0.2724, allocations: 3.906 kB / 0.5032 GB, free: 3.848 MB / 322.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.2724, allocations: 3.125 kB / 0.5032 GB, free: 3.848 MB / 322.8 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 (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.047e-05/0.2724, allocations: 112.9 kB / 0.5033 GB, free: 3.73 MB / 322.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/0.2725, allocations: 3.906 kB / 0.5033 GB, free: 3.727 MB / 322.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.34e-05/0.2725, allocations: 7.953 kB / 0.5033 GB, free: 3.715 MB / 322.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.2725, allocations: 4 kB / 0.5033 GB, free: 3.711 MB / 322.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.2725, allocations: 0 / 0.5033 GB, free: 3.711 MB / 322.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2725, allocations: 3.984 kB / 0.5033 GB, free: 3.707 MB / 322.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001111/0.2726, allocations: 141.5 kB / 0.5034 GB, free: 3.535 MB / 322.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.2727, allocations: 0 / 0.5034 GB, free: 3.535 MB / 322.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.665e-05/0.2727, allocations: 4 kB / 0.5034 GB, free: 3.531 MB / 322.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001086/0.2728, allocations: 25.88 kB / 0.5035 GB, free: 3.508 MB / 322.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.2728, allocations: 0 / 0.5035 GB, free: 3.508 MB / 322.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007599/0.2736, allocations: 1.185 MB / 0.5046 GB, free: 2.23 MB / 322.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2736, allocations: 0 / 0.5046 GB, free: 2.23 MB / 322.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001395/0.2738, allocations: 171.4 kB / 0.5048 GB, free: 2.055 MB / 322.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.764e-05/0.2738, allocations: 89.08 kB / 0.5049 GB, free: 1.949 MB / 322.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.173e-06/0.2738, allocations: 0 / 0.5049 GB, free: 1.949 MB / 322.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.796e-05/0.2739, allocations: 0 / 0.5049 GB, free: 1.949 MB / 322.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.571e-05/0.2739, allocations: 4.719 kB / 0.5049 GB, free: 1.945 MB / 322.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.2739, allocations: 4 kB / 0.5049 GB, free: 1.941 MB / 322.8 MB Notification: Performance of sort global known variables: time 2.435e-05/0.2739, allocations: 78.59 kB / 0.505 GB, free: 1.867 MB / 322.8 MB Notification: Performance of remove unused functions: time 0.0001998/0.2741, allocations: 8 kB / 0.505 GB, free: 1.859 MB / 322.8 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 8.79e-05/0.2742, allocations: 95.25 kB / 0.505 GB, free: 1.754 MB / 322.8 MB Notification: Performance of simCode: created initialization part: time 6.194e-05/0.2743, allocations: 27.11 kB / 0.5051 GB, free: 1.73 MB / 322.8 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.2743, allocations: 0 / 0.5051 GB, free: 1.73 MB / 322.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.2744, allocations: 109.7 kB / 0.5052 GB, free: 1.617 MB / 322.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001132/0.2746, allocations: 11.84 kB / 0.5052 GB, free: 1.605 MB / 322.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000172/0.2747, allocations: 95.75 kB / 0.5053 GB, free: 1.492 MB / 322.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002196/0.275, allocations: 0.6955 MB / 0.506 GB, free: 0.7734 MB / 322.8 MB Notification: Performance of SimCode: time 2.3e-07/0.275, allocations: 0 / 0.506 GB, free: 0.7734 MB / 322.8 MB Notification: Performance of Templates: time 0.001828/0.2768, allocations: 454.6 kB / 0.5064 GB, free: 384 kB / 322.8 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe 2>&1)