Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") Notification: Performance of loadModel(Modelica): time 1.885/1.885, allocations: 171.2 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004262/0.0004264, allocations: 8 kB / 233.8 MB, free: 2.398 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09326/0.09372, allocations: 38.77 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.413/0.5068, allocations: 71.11 MB / 343.7 MB, free: 2.25 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000247/0.5071, allocations: 80.02 kB / 343.8 MB, free: 2.207 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02978/0.5369, allocations: 6.507 MB / 350.3 MB, free: 12.58 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5369, allocations: 0 / 350.3 MB, free: 12.58 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.678e-05/0.537, allocations: 8 kB / 350.3 MB, free: 12.57 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.002653/0.5397, allocations: 0.7446 MB / 351.1 MB, free: 11.8 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.5397, allocations: 8.031 kB / 351.1 MB, free: 11.79 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002408/0.54, allocations: 47.44 kB / 351.1 MB, free: 11.74 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000648/0.5406, allocations: 299.9 kB / 351.4 MB, free: 11.44 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.742e-05/0.5407, allocations: 33.44 kB / 351.4 MB, free: 11.42 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.5408, allocations: 40.91 kB / 351.5 MB, free: 11.39 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002063/0.5429, allocations: 0.5236 MB / 352 MB, free: 10.98 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.14e-05/0.543, allocations: 0 / 352 MB, free: 10.98 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.658e-05/0.5431, allocations: 21.56 kB / 352 MB, free: 10.97 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/0.5431, allocations: 8 kB / 352 MB, free: 10.96 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002776/0.5459, allocations: 0.5675 MB / 352.6 MB, free: 10.52 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004501/0.5505, allocations: 1.408 MB / 354 MB, free: 9.348 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002043/0.5526, allocations: 474.5 kB / 354.5 MB, free: 8.992 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.153e-05/0.5527, allocations: 12.12 kB / 354.5 MB, free: 8.984 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.9e-05/0.5527, allocations: 42.16 kB / 354.5 MB, free: 8.938 MB / 282.7 MB Notification: Performance of pre-optimization done (n=40): time 3.347e-06/0.5528, allocations: 0 / 354.5 MB, free: 8.938 MB / 282.7 MB Notification: Performance of matching and sorting (n=40): time 0.008676/0.5614, allocations: 1.435 MB / 356 MB, free: 7.633 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/0.5616, allocations: 165.5 kB / 356.1 MB, free: 7.438 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005281/0.5621, allocations: 268 kB / 356.4 MB, free: 7.211 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.305e-05/0.5622, allocations: 36.83 kB / 356.4 MB, free: 7.172 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001853/0.5624, allocations: 211.2 kB / 356.6 MB, free: 7 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001673/0.5626, allocations: 138.6 kB / 356.8 MB, free: 6.883 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.952e-05/0.5627, allocations: 11.12 kB / 356.8 MB, free: 6.879 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.5628, allocations: 340.8 kB / 357.1 MB, free: 6.551 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009699/0.5638, allocations: 203.8 kB / 357.3 MB, free: 6.398 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/0.5649, allocations: 295.8 kB / 357.6 MB, free: 6.133 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/0.566, allocations: 221.4 kB / 357.8 MB, free: 5.977 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.566, allocations: 4 kB / 357.8 MB, free: 5.973 MB / 282.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.004192/0.5702, allocations: 0.8255 MB / 358.6 MB, free: 5.285 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/0.5702, allocations: 8 kB / 358.6 MB, free: 5.277 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.5703, allocations: 0 / 358.6 MB, free: 5.277 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002281/0.5726, allocations: 333.2 kB / 359 MB, free: 4.988 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007287/0.5733, allocations: 93.83 kB / 359.1 MB, free: 4.898 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002098/0.5754, allocations: 1.364 MB / 360.4 MB, free: 3.602 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009392/0.5764, allocations: 98.53 kB / 360.5 MB, free: 3.512 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.662e-05/0.5765, allocations: 23.48 kB / 360.5 MB, free: 3.492 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 31 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 9,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0003246/0.5768, allocations: 162.1 kB / 360.7 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.5769, allocations: 31.62 kB / 360.7 MB, free: 3.32 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003964/0.5809, allocations: 0.7957 MB / 361.5 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.692e-05/0.581, allocations: 4.188 kB / 361.5 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/0.581, allocations: 0 / 361.5 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.79e-05/0.581, allocations: 7.922 kB / 361.5 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.582, allocations: 464.7 kB / 362 MB, free: 2.266 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.5821, allocations: 0 / 362 MB, free: 2.266 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006239/0.5827, allocations: 67.89 kB / 362.1 MB, free: 2.203 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002297/0.585, allocations: 343.1 kB / 362.4 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.154e-05/0.5852, allocations: 11.69 kB / 362.4 MB, free: 1.902 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002094/0.5873, allocations: 1.385 MB / 363.8 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.5873, allocations: 0 / 363.8 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004903/0.5922, allocations: 1.096 MB / 364.9 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003186/0.5926, allocations: 147.1 kB / 365 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.5927, allocations: 10.38 kB / 365 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007171/0.5935, allocations: 59.44 kB / 365.1 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.5936, allocations: 31.14 kB / 365.1 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-05/0.5936, allocations: 11.25 kB / 365.1 MB, free: 15.46 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003849/0.594, allocations: 193 kB / 365.3 MB, free: 15.3 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.594, allocations: 0 / 365.3 MB, free: 15.3 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006414/0.5947, allocations: 115.7 kB / 365.4 MB, free: 15.2 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 10,1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002537/0.595, allocations: 119.6 kB / 365.6 MB, free: 15.08 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002471/0.5975, allocations: 0.5158 MB / 366.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.5975, allocations: 0 / 366.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00121/0.5987, allocations: 276.8 kB / 366.3 MB, free: 14.46 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005207/0.5993, allocations: 38.69 kB / 366.4 MB, free: 14.44 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002874/0.6022, allocations: 1.068 MB / 367.4 MB, free: 13.42 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000508/0.6027, allocations: 0.8037 MB / 368.3 MB, free: 12.59 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003175/0.603, allocations: 30.97 kB / 368.3 MB, free: 12.56 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.6032, allocations: 19.44 kB / 368.3 MB, free: 12.54 MB / 298.7 MB Notification: Performance of SimCode: time 1.272e-06/0.6032, allocations: 0 / 368.3 MB, free: 12.54 MB / 298.7 MB Notification: Performance of Templates: time 0.01662/0.6198, allocations: 5.24 MB / 373.5 MB, free: 7.316 MB / 298.7 MB