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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.63/1.63, allocations: 171.3 MB / 179.2 MB, free: 7.496 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 1.707e-05/1.711e-05, allocations: 4 kB / 222.5 MB, free: 8.688 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06702/0.06705, allocations: 38.77 MB / 261.3 MB, free: 1.836 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2767/0.3438, allocations: 70.37 MB / 331.7 MB, free: 1.992 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000213/0.344, allocations: 70.27 kB / 331.7 MB, free: 1.957 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02472/0.3688, allocations: 6.427 MB / 338.1 MB, free: 12.47 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.061e-06/0.3688, allocations: 0 / 338.1 MB, free: 12.47 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.822e-05/0.3688, allocations: 8 kB / 338.2 MB, free: 12.46 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.001569/0.3704, allocations: 0.7112 MB / 338.9 MB, free: 11.73 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.3705, allocations: 12.03 kB / 338.9 MB, free: 11.72 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001364/0.3706, allocations: 47.44 kB / 338.9 MB, free: 11.67 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004964/0.3711, allocations: 304.5 kB / 339.2 MB, free: 11.37 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.122e-05/0.3712, allocations: 12 kB / 339.2 MB, free: 11.36 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.203e-05/0.3713, allocations: 20 kB / 339.3 MB, free: 11.34 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008549/0.3722, allocations: 329.1 kB / 339.6 MB, free: 11.14 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008555/0.373, allocations: 368.5 kB / 339.9 MB, free: 10.85 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.3731, allocations: 3.938 kB / 339.9 MB, free: 10.85 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.17e-05/0.3731, allocations: 0 / 339.9 MB, free: 10.85 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.3732, allocations: 12 kB / 340 MB, free: 10.84 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003334/0.3765, allocations: 1.339 MB / 341.3 MB, free: 9.73 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009943/0.3775, allocations: 356.5 kB / 341.6 MB, free: 9.484 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003771/0.3779, allocations: 179.2 kB / 341.8 MB, free: 9.371 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.431e-05/0.378, allocations: 11.02 kB / 341.8 MB, free: 9.363 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/0.378, allocations: 37.45 kB / 341.9 MB, free: 9.32 MB / 282.7 MB Notification: Performance of pre-optimization done (n=40): time 3.758e-06/0.3781, allocations: 0 / 341.9 MB, free: 9.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=40): time 0.001684/0.3798, allocations: 494.2 kB / 342.3 MB, free: 8.938 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.3799, allocations: 162.2 kB / 342.5 MB, free: 8.742 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002852/0.3802, allocations: 207.4 kB / 342.7 MB, free: 8.562 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.533e-05/0.3802, allocations: 25.7 kB / 342.7 MB, free: 8.531 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.3804, allocations: 261.9 kB / 343 MB, free: 8.309 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/0.3806, allocations: 134.5 kB / 343.1 MB, free: 8.191 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.778e-05/0.3806, allocations: 0 / 343.1 MB, free: 8.191 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.3808, allocations: 334 kB / 343.4 MB, free: 7.863 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002912/0.3811, allocations: 114.6 kB / 343.6 MB, free: 7.797 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003752/0.3815, allocations: 216 kB / 343.8 MB, free: 7.613 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000393/0.3819, allocations: 128.3 kB / 343.9 MB, free: 7.531 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.3819, allocations: 0 / 343.9 MB, free: 7.531 MB / 282.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002073/0.384, allocations: 0.6093 MB / 344.5 MB, free: 7.027 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.384, allocations: 4 kB / 344.5 MB, free: 7.023 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.3841, allocations: 4 kB / 344.5 MB, free: 7.02 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001145/0.3852, allocations: 256.6 kB / 344.8 MB, free: 6.809 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00046/0.3857, allocations: 87.88 kB / 344.8 MB, free: 6.723 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001603/0.3873, allocations: 1.338 MB / 346.2 MB, free: 5.461 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000604/0.3879, allocations: 79.75 kB / 346.3 MB, free: 5.383 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.117e-05/0.388, allocations: 19.23 kB / 346.3 MB, free: 5.367 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 () * 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.0001675/0.3882, allocations: 116.9 kB / 346.4 MB, free: 5.246 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.3883, allocations: 31.62 kB / 346.4 MB, free: 5.215 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002058/0.3904, allocations: 0.5985 MB / 347 MB, free: 4.738 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.3904, allocations: 4 kB / 347 MB, free: 4.734 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.597e-06/0.3904, allocations: 0 / 347 MB, free: 4.734 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.3904, allocations: 4 kB / 347 MB, free: 4.73 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006904/0.3911, allocations: 406.2 kB / 347.4 MB, free: 4.379 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.346e-06/0.3912, allocations: 4 kB / 347.4 MB, free: 4.375 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004173/0.3916, allocations: 63.95 kB / 347.5 MB, free: 4.312 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001105/0.3927, allocations: 262.4 kB / 347.7 MB, free: 4.098 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.703e-05/0.3928, allocations: 4 kB / 347.8 MB, free: 4.094 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001598/0.3944, allocations: 1.349 MB / 349.1 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.761e-06/0.3944, allocations: 0 / 349.1 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002351/0.3968, allocations: 0.8353 MB / 349.9 MB, free: 2.168 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002392/0.397, allocations: 144.5 kB / 350.1 MB, free: 2.023 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.066e-05/0.3971, allocations: 3.953 kB / 350.1 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004931/0.3976, allocations: 52.02 kB / 350.1 MB, free: 1.969 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.851e-05/0.3977, allocations: 27.14 kB / 350.2 MB, free: 1.945 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.061e-05/0.3978, allocations: 11.44 kB / 350.2 MB, free: 1.938 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002085/0.398, allocations: 161.8 kB / 350.3 MB, free: 1.809 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.65e-07/0.398, allocations: 4 kB / 350.3 MB, free: 1.805 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005616/0.3986, allocations: 99.88 kB / 350.4 MB, free: 1.707 MB / 282.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 () * 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.0002024/0.3988, allocations: 119.2 kB / 350.5 MB, free: 1.582 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009574/0.3998, allocations: 345.8 kB / 350.9 MB, free: 1.352 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.845e-06/0.3998, allocations: 0 / 350.9 MB, free: 1.352 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00052/0.4003, allocations: 197.6 kB / 351.1 MB, free: 1.215 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.4007, allocations: 34.42 kB / 351.1 MB, free: 1.191 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/0.4023, allocations: 0.5966 MB / 351.7 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005425/0.4028, allocations: 0.8034 MB / 352.5 MB, free: 15.79 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.403, allocations: 26.62 kB / 352.5 MB, free: 15.76 MB / 298.7 MB Notification: Performance of SimCode: time 1.679e-06/0.403, allocations: 0 / 352.5 MB, free: 15.76 MB / 298.7 MB Notification: Performance of Templates: time 0.012/0.415, allocations: 6.722 MB / 359.3 MB, free: 9.078 MB / 298.7 MB