Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.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.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent") translateModel(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent") [: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.002106/0.002106, allocations: 183 kB / 7.461 MB, free: 2.5 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.041/1.041, allocations: 221.4 MB / 229.3 MB, free: 3.098 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.0008422/0.0008422, allocations: 95.77 kB / 280.1 MB, free: 1.285 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.00243/0.00243, allocations: 0.5525 MB / 331.5 MB, free: 13.92 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.827e-06/3.857e-06, allocations: 0 / 388 MB, free: 76.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06802/0.06803, allocations: 50.57 MB / 438.6 MB, free: 26.03 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2041/0.2722, allocations: 74.37 MB / 0.5009 GB, free: 5.676 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001784/0.2724, allocations: 65.47 kB / 0.501 GB, free: 5.641 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.001056/0.2735, allocations: 286.7 kB / 0.5013 GB, free: 5.434 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.493e-06/0.2735, allocations: 5.031 kB / 0.5013 GB, free: 5.43 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.0001716/0.2737, allocations: 318.7 kB / 0.5016 GB, free: 5.078 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.2737, allocations: 8.031 kB / 0.5016 GB, free: 5.07 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.637e-05/0.2738, allocations: 8.078 kB / 0.5016 GB, free: 5.062 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.668e-05/0.2738, allocations: 171 kB / 0.5018 GB, free: 4.855 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.2739, allocations: 0 / 0.5018 GB, free: 4.855 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.2739, allocations: 5.5 kB / 0.5018 GB, free: 4.852 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.237e-05/0.274, allocations: 18.98 kB / 0.5018 GB, free: 4.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.14e-05/0.274, allocations: 40.88 kB / 0.5018 GB, free: 4.797 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-06/0.274, allocations: 0 / 0.5018 GB, free: 4.797 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.274, allocations: 0 / 0.5018 GB, free: 4.797 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.2741, allocations: 0 / 0.5018 GB, free: 4.797 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001588/0.2742, allocations: 225.3 kB / 0.502 GB, free: 4.543 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.91e-05/0.2743, allocations: 40.89 kB / 0.5021 GB, free: 4.504 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.511e-05/0.2743, allocations: 20.05 kB / 0.5021 GB, free: 4.484 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.278e-06/0.2743, allocations: 0 / 0.5021 GB, free: 4.484 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.221e-05/0.2743, allocations: 30.56 kB / 0.5021 GB, free: 4.445 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 7.81e-07/0.2743, allocations: 0 / 0.5021 GB, free: 4.445 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004659/0.2748, allocations: 481.8 kB / 0.5026 GB, free: 3.91 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.377e-05/0.2748, allocations: 52.06 kB / 0.5026 GB, free: 3.848 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.473e-05/0.2749, allocations: 89 kB / 0.5027 GB, free: 3.754 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.714e-06/0.2749, allocations: 29.52 kB / 0.5028 GB, free: 3.723 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.161e-05/0.2749, allocations: 87.28 kB / 0.5028 GB, free: 3.637 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.971e-05/0.2749, allocations: 27.31 kB / 0.5029 GB, free: 3.613 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-06/0.2749, allocations: 4 kB / 0.5029 GB, free: 3.609 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.247e-05/0.275, allocations: 318.8 kB / 0.5032 GB, free: 3.289 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.033e-05/0.275, allocations: 22.31 kB / 0.5032 GB, free: 3.273 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.491e-05/0.275, allocations: 21.22 kB / 0.5032 GB, free: 3.25 MB / 314.7 MB Error: The initialization problem is inconsistent due to the following equation: x1 = 0.0 (1.0 = 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.0001939/0.2752, allocations: 203.9 kB / 0.5034 GB, free: 3.027 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.2752, allocations: 0 / 0.5034 GB, free: 3.027 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001207/0.2754, allocations: 89 kB / 0.5035 GB, free: 2.941 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.267e-06/0.2754, allocations: 8 kB / 0.5035 GB, free: 2.934 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.2754, allocations: 3.938 kB / 0.5035 GB, free: 2.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.79e-05/0.2755, allocations: 19.91 kB / 0.5035 GB, free: 2.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.713e-05/0.2755, allocations: 15.91 kB / 0.5035 GB, free: 2.895 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000557/0.2761, allocations: 1.223 MB / 0.5047 GB, free: 1.586 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.989e-05/0.2761, allocations: 0 / 0.5047 GB, free: 1.586 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.2761, allocations: 4 kB / 0.5047 GB, free: 1.582 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 4.881e-05/0.2762, allocations: 113.3 kB / 0.5048 GB, free: 1.465 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.2762, allocations: 6.375 kB / 0.5049 GB, free: 1.461 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.516e-05/0.2763, allocations: 14.31 kB / 0.5049 GB, free: 1.453 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.2763, allocations: 0 / 0.5049 GB, free: 1.453 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.2763, allocations: 7.906 kB / 0.5049 GB, free: 1.445 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.2763, allocations: 4.031 kB / 0.5049 GB, free: 1.441 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002611/0.2765, allocations: 328.3 kB / 0.5052 GB, free: 1.082 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.2766, allocations: 0 / 0.5052 GB, free: 1.082 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.494e-05/0.2766, allocations: 12.06 kB / 0.5052 GB, free: 1.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.484e-05/0.2767, allocations: 28.16 kB / 0.5052 GB, free: 1.043 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.792e-06/0.2767, allocations: 0 / 0.5052 GB, free: 1.043 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005465/0.2772, allocations: 1.225 MB / 0.5064 GB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.872e-06/0.2772, allocations: 4 kB / 0.5064 GB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001886/0.2774, allocations: 250 kB / 0.5067 GB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.891e-05/0.2775, allocations: 89 kB / 0.5068 GB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.646e-06/0.2775, allocations: 0 / 0.5068 GB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.754e-05/0.2776, allocations: 0 / 0.5068 GB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.37e-05/0.2776, allocations: 4 kB / 0.5068 GB, free: 15.35 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.2776, allocations: 8.062 kB / 0.5068 GB, free: 15.34 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.332e-05/0.2776, allocations: 75.42 kB / 0.5068 GB, free: 15.27 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002206/0.2778, allocations: 16 kB / 0.5069 GB, free: 15.25 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 0.0001029/0.278, allocations: 99.12 kB / 0.5069 GB, free: 15.15 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002221/0.2782, allocations: 141 kB / 0.5071 GB, free: 15.01 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2782, allocations: 96 / 0.5071 GB, free: 15.01 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.2783, allocations: 141.1 kB / 0.5072 GB, free: 14.87 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001274/0.2785, allocations: 8.844 kB / 0.5072 GB, free: 14.86 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000213/0.2787, allocations: 127.3 kB / 0.5073 GB, free: 14.71 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002306/0.2789, allocations: 0.703 MB / 0.508 GB, free: 13.99 MB / 330.7 MB Notification: Performance of SimCode: time 2.61e-07/0.279, allocations: 8 kB / 0.508 GB, free: 13.98 MB / 330.7 MB Notification: Performance of Templates: time 0.002076/0.281, allocations: 0.6835 MB / 0.5087 GB, free: 13.35 MB / 330.7 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe 2>&1)