Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") Notification: Performance of loadModel(Modelica): time 1.785/1.785, allocations: 171.2 MB / 187.3 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004797/0.0004797, allocations: 8 kB / 233.8 MB, free: 3.086 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08767/0.08818, allocations: 38.77 MB / 272.5 MB, free: 12.23 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3594/0.4477, allocations: 71.11 MB / 343.7 MB, free: 2.883 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/0.448, allocations: 70.41 kB / 343.7 MB, free: 2.848 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02955/0.4776, allocations: 6.502 MB / 350.2 MB, free: 13.21 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.4776, allocations: 0 / 350.2 MB, free: 13.21 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.735e-05/0.4777, allocations: 8 kB / 350.2 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.002328/0.48, allocations: 0.7486 MB / 351 MB, free: 12.43 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.4801, allocations: 12.03 kB / 351 MB, free: 12.42 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001661/0.4803, allocations: 51.42 kB / 351 MB, free: 12.37 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005099/0.4808, allocations: 292.4 kB / 351.3 MB, free: 12.08 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.147e-05/0.4808, allocations: 28.94 kB / 351.4 MB, free: 12.06 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.481, allocations: 42.58 kB / 351.4 MB, free: 12.03 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001846/0.4828, allocations: 0.5295 MB / 351.9 MB, free: 11.61 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/0.4829, allocations: 0 / 351.9 MB, free: 11.61 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.619e-05/0.4829, allocations: 15.34 kB / 351.9 MB, free: 11.61 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.214e-05/0.483, allocations: 12 kB / 352 MB, free: 11.6 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002567/0.4856, allocations: 0.5642 MB / 352.5 MB, free: 11.15 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004161/0.4897, allocations: 1.409 MB / 353.9 MB, free: 9.984 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002046/0.4918, allocations: 477 kB / 354.4 MB, free: 9.625 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.82e-05/0.4919, allocations: 8.312 kB / 354.4 MB, free: 9.617 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.973e-05/0.492, allocations: 49.16 kB / 354.4 MB, free: 9.566 MB / 282.7 MB Notification: Performance of pre-optimization done (n=40): time 4.428e-06/0.492, allocations: 0 / 354.4 MB, free: 9.566 MB / 282.7 MB Notification: Performance of matching and sorting (n=40): time 0.008822/0.5009, allocations: 1.438 MB / 355.9 MB, free: 8.262 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001253/0.501, allocations: 162.2 kB / 356 MB, free: 8.066 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005581/0.5016, allocations: 265.3 kB / 356.3 MB, free: 7.844 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001141/0.5017, allocations: 32.95 kB / 356.3 MB, free: 7.809 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002098/0.502, allocations: 264.7 kB / 356.6 MB, free: 7.578 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001898/0.5022, allocations: 139.2 kB / 356.7 MB, free: 7.461 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.676e-05/0.5022, allocations: 6.25 kB / 356.7 MB, free: 7.461 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.5024, allocations: 324.8 kB / 357.1 MB, free: 7.141 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001031/0.5034, allocations: 205 kB / 357.3 MB, free: 6.984 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/0.5046, allocations: 307 kB / 357.6 MB, free: 6.711 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.5056, allocations: 215.2 kB / 357.8 MB, free: 6.562 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.5057, allocations: 0 / 357.8 MB, free: 6.562 MB / 282.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.004252/0.5099, allocations: 0.8147 MB / 358.6 MB, free: 5.883 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.262e-05/0.51, allocations: 4 kB / 358.6 MB, free: 5.879 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.788e-05/0.51, allocations: 8 kB / 358.6 MB, free: 5.871 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00238/0.5124, allocations: 335.3 kB / 358.9 MB, free: 5.582 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007448/0.5132, allocations: 95.39 kB / 359 MB, free: 5.492 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002279/0.5155, allocations: 1.354 MB / 360.4 MB, free: 4.203 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009893/0.5165, allocations: 106.3 kB / 360.5 MB, free: 4.105 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.814e-05/0.5166, allocations: 19.38 kB / 360.5 MB, free: 4.09 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.0003458/0.517, allocations: 162.5 kB / 360.6 MB, free: 3.949 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.5171, allocations: 35.62 kB / 360.7 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004032/0.5212, allocations: 0.7855 MB / 361.5 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/0.5212, allocations: 4 kB / 361.5 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/0.5212, allocations: 3.984 kB / 361.5 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/0.5213, allocations: 0 / 361.5 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.5223, allocations: 471.9 kB / 361.9 MB, free: 2.867 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/0.5223, allocations: 0 / 361.9 MB, free: 2.867 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006173/0.523, allocations: 79.44 kB / 362 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002268/0.5252, allocations: 333.8 kB / 362.3 MB, free: 2.504 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.55e-05/0.5254, allocations: 10.81 kB / 362.3 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002147/0.5275, allocations: 1.376 MB / 363.7 MB, free: 1.199 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.5276, allocations: 4.062 kB / 363.7 MB, free: 1.195 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004991/0.5326, allocations: 1.097 MB / 364.8 MB, free: 308 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003094/0.5329, allocations: 145.5 kB / 365 MB, free: 160 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.5331, allocations: 3.5 kB / 365 MB, free: 160 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007162/0.5338, allocations: 70.62 kB / 365 MB, free: 96 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.5339, allocations: 19.28 kB / 365.1 MB, free: 80 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/0.534, allocations: 11.69 kB / 365.1 MB, free: 72 kB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004243/0.5344, allocations: 193.9 kB / 365.3 MB, free: 15.91 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.5344, allocations: 0 / 365.3 MB, free: 15.91 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006151/0.535, allocations: 117.3 kB / 365.4 MB, free: 15.81 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.00027/0.5353, allocations: 115.1 kB / 365.5 MB, free: 15.7 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002376/0.5377, allocations: 0.5218 MB / 366 MB, free: 15.28 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.5377, allocations: 0 / 366 MB, free: 15.28 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001153/0.5389, allocations: 281.9 kB / 366.3 MB, free: 15.07 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005602/0.5395, allocations: 40.25 kB / 366.3 MB, free: 15.04 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002802/0.5423, allocations: 1.094 MB / 367.4 MB, free: 13.99 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004434/0.5428, allocations: 0.8037 MB / 368.2 MB, free: 13.16 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001743/0.543, allocations: 27.42 kB / 368.2 MB, free: 13.13 MB / 298.7 MB Notification: Performance of SimCode: time 8.42e-07/0.543, allocations: 0 / 368.2 MB, free: 13.13 MB / 298.7 MB Notification: Performance of Templates: time 0.01499/0.558, allocations: 6.803 MB / 375.1 MB, free: 6.375 MB / 298.7 MB