Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") Notification: Performance of loadModel(Modelica): time 1.592/1.592, allocations: 171.1 MB / 186.7 MB, free: 1.043 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003727/0.0003728, allocations: 16 kB / 233.2 MB, free: 3.023 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06957/0.06997, allocations: 38.77 MB / 272 MB, free: 12.17 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2815/0.3515, allocations: 71.12 MB / 343.1 MB, free: 2.871 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/0.3518, allocations: 74.16 kB / 343.2 MB, free: 2.832 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02578/0.3776, allocations: 6.484 MB / 349.7 MB, free: 13.22 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.509e-06/0.3776, allocations: 0 / 349.7 MB, free: 13.22 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.537e-05/0.3777, allocations: 12 kB / 349.7 MB, free: 13.21 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.001709/0.3794, allocations: 0.7493 MB / 350.4 MB, free: 12.43 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.3795, allocations: 8.031 kB / 350.5 MB, free: 12.43 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001337/0.3796, allocations: 47.44 kB / 350.5 MB, free: 12.38 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004709/0.3801, allocations: 307.2 kB / 350.8 MB, free: 12.07 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.719e-05/0.3802, allocations: 28.12 kB / 350.8 MB, free: 12.05 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.192e-05/0.3803, allocations: 38.97 kB / 350.9 MB, free: 12.03 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/0.3818, allocations: 0.5314 MB / 351.4 MB, free: 11.61 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.3818, allocations: 0 / 351.4 MB, free: 11.61 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.215e-05/0.3819, allocations: 18.19 kB / 351.4 MB, free: 11.6 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.3819, allocations: 8 kB / 351.4 MB, free: 11.59 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001842/0.3838, allocations: 0.5578 MB / 352 MB, free: 11.16 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003233/0.387, allocations: 1.411 MB / 353.4 MB, free: 9.984 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/0.3885, allocations: 467.6 kB / 353.8 MB, free: 9.633 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.972e-05/0.3886, allocations: 12.31 kB / 353.9 MB, free: 9.621 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.3886, allocations: 38.09 kB / 353.9 MB, free: 9.578 MB / 282.7 MB Notification: Performance of pre-optimization done (n=40): time 3.171e-06/0.3887, allocations: 4 kB / 353.9 MB, free: 9.574 MB / 282.7 MB Notification: Performance of matching and sorting (n=40): time 0.005833/0.3945, allocations: 1.443 MB / 355.3 MB, free: 8.266 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/0.3947, allocations: 166.2 kB / 355.5 MB, free: 8.066 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004485/0.3951, allocations: 235.2 kB / 355.7 MB, free: 7.863 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.453e-05/0.3952, allocations: 32.89 kB / 355.8 MB, free: 7.832 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/0.3954, allocations: 264.6 kB / 356 MB, free: 7.605 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000153/0.3956, allocations: 138.4 kB / 356.2 MB, free: 7.488 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.082e-05/0.3956, allocations: 3.938 kB / 356.2 MB, free: 7.488 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.3958, allocations: 330.3 kB / 356.5 MB, free: 7.164 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007015/0.3965, allocations: 205.9 kB / 356.7 MB, free: 7.008 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000772/0.3973, allocations: 295.3 kB / 357 MB, free: 6.746 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007182/0.398, allocations: 217.4 kB / 357.2 MB, free: 6.594 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.635e-06/0.3981, allocations: 3.938 kB / 357.2 MB, free: 6.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002939/0.401, allocations: 0.8113 MB / 358 MB, free: 5.914 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.4011, allocations: 12.03 kB / 358 MB, free: 5.902 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.043e-06/0.4011, allocations: 0 / 358 MB, free: 5.902 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001714/0.4028, allocations: 338.8 kB / 358.3 MB, free: 5.609 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004894/0.4033, allocations: 91.25 kB / 358.4 MB, free: 5.523 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00188/0.4052, allocations: 1.359 MB / 359.8 MB, free: 4.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006395/0.4059, allocations: 102.3 kB / 359.9 MB, free: 4.137 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-05/0.4059, allocations: 15.31 kB / 359.9 MB, free: 4.125 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.0002896/0.4062, allocations: 162 kB / 360.1 MB, free: 3.984 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.4064, allocations: 31.62 kB / 360.1 MB, free: 3.953 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002857/0.4092, allocations: 0.8013 MB / 360.9 MB, free: 3.309 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.779e-06/0.4093, allocations: 4 kB / 360.9 MB, free: 3.305 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.4093, allocations: 0 / 360.9 MB, free: 3.305 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.827e-06/0.4093, allocations: 3.984 kB / 360.9 MB, free: 3.301 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007812/0.4101, allocations: 469 kB / 361.4 MB, free: 2.891 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.444e-06/0.4101, allocations: 4 kB / 361.4 MB, free: 2.887 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004216/0.4105, allocations: 70.88 kB / 361.4 MB, free: 2.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001641/0.4122, allocations: 333.9 kB / 361.8 MB, free: 2.535 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.519e-05/0.4123, allocations: 11.36 kB / 361.8 MB, free: 2.527 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001815/0.4141, allocations: 1.38 MB / 363.2 MB, free: 1.223 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4141, allocations: 4.031 kB / 363.2 MB, free: 1.219 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003433/0.4176, allocations: 1.104 MB / 364.3 MB, free: 324 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002476/0.4178, allocations: 145.9 kB / 364.4 MB, free: 176 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.698e-05/0.4179, allocations: 10.88 kB / 364.4 MB, free: 172 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000508/0.4185, allocations: 59.38 kB / 364.5 MB, free: 116 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.908e-05/0.4186, allocations: 23.41 kB / 364.5 MB, free: 96 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.171e-05/0.4186, allocations: 15.12 kB / 364.5 MB, free: 84 kB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003412/0.419, allocations: 193.8 kB / 364.7 MB, free: 15.93 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.64e-07/0.419, allocations: 0 / 364.7 MB, free: 15.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005852/0.4196, allocations: 113.9 kB / 364.8 MB, free: 15.82 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.0002113/0.4198, allocations: 118.7 kB / 364.9 MB, free: 15.7 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001693/0.4215, allocations: 0.5102 MB / 365.4 MB, free: 15.3 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.767e-06/0.4215, allocations: 3.062 kB / 365.4 MB, free: 15.3 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008628/0.4224, allocations: 282.6 kB / 365.7 MB, free: 15.08 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004086/0.4228, allocations: 36.11 kB / 365.8 MB, free: 15.06 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002272/0.4251, allocations: 1.092 MB / 366.8 MB, free: 14.01 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006901/0.4258, allocations: 0.8037 MB / 367.6 MB, free: 13.18 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.426, allocations: 31.11 kB / 367.7 MB, free: 13.15 MB / 298.7 MB Notification: Performance of SimCode: time 1.445e-06/0.426, allocations: 4 kB / 367.7 MB, free: 13.15 MB / 298.7 MB Notification: Performance of Templates: time 0.01198/0.438, allocations: 6.805 MB / 374.5 MB, free: 6.387 MB / 298.7 MB