Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") Notification: Performance of loadModel(Modelica): time 2.257/2.257, allocations: 194.8 MB / 211.7 MB, free: 2.883 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005128/0.0005129, allocations: 8 kB / 264.5 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1288, allocations: 44.51 MB / 309 MB, free: 360 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4556/0.5845, allocations: 76.16 MB / 385.2 MB, free: 15.48 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/0.5849, allocations: 81.78 kB / 385.3 MB, free: 15.47 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02819/0.6131, allocations: 6.422 MB / 391.7 MB, free: 14.69 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.6131, allocations: 0 / 391.7 MB, free: 14.69 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.93e-05/0.6132, allocations: 7.719 kB / 391.7 MB, free: 14.69 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.002319/0.6155, allocations: 0.7501 MB / 392.5 MB, free: 14.2 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.6156, allocations: 15.75 kB / 392.5 MB, free: 14.2 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002493/0.6159, allocations: 50.42 kB / 392.5 MB, free: 14.17 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005386/0.6164, allocations: 297 kB / 392.8 MB, free: 13.93 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.809e-05/0.6165, allocations: 26.69 kB / 392.8 MB, free: 13.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.65e-05/0.6166, allocations: 37.31 kB / 392.9 MB, free: 13.93 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001848/0.6184, allocations: 0.5322 MB / 393.4 MB, free: 13.83 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/0.6185, allocations: 0 / 393.4 MB, free: 13.83 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.307e-05/0.6186, allocations: 21.92 kB / 393.4 MB, free: 13.83 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.6186, allocations: 7.688 kB / 393.4 MB, free: 13.83 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002497/0.6211, allocations: 0.5589 MB / 394 MB, free: 13.81 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003897/0.6251, allocations: 1.414 MB / 395.4 MB, free: 13.3 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001852/0.627, allocations: 463.8 kB / 395.9 MB, free: 13.27 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.087e-05/0.6271, allocations: 8.203 kB / 395.9 MB, free: 13.26 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.6272, allocations: 42.38 kB / 395.9 MB, free: 13.22 MB / 314.7 MB Notification: Performance of pre-optimization done (n=40): time 4.669e-06/0.6272, allocations: 0 / 395.9 MB, free: 13.22 MB / 314.7 MB Notification: Performance of matching and sorting (n=40): time 0.008235/0.6354, allocations: 1.438 MB / 397.4 MB, free: 12.91 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.469e-05/0.6356, allocations: 162 kB / 397.5 MB, free: 12.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004747/0.6361, allocations: 269.1 kB / 397.8 MB, free: 12.62 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.556e-05/0.6362, allocations: 28.89 kB / 397.8 MB, free: 12.59 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.6363, allocations: 222.6 kB / 398 MB, free: 12.45 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001725/0.6365, allocations: 134.7 kB / 398.2 MB, free: 12.36 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-05/0.6366, allocations: 7 kB / 398.2 MB, free: 12.36 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.388e-05/0.6367, allocations: 341.4 kB / 398.5 MB, free: 12.05 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008903/0.6376, allocations: 204.3 kB / 398.7 MB, free: 12.05 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009536/0.6385, allocations: 303 kB / 399 MB, free: 11.94 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009227/0.6395, allocations: 215.9 kB / 399.2 MB, free: 11.93 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.6395, allocations: 0 / 399.2 MB, free: 11.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.003892/0.6434, allocations: 0.8406 MB / 400 MB, free: 11.8 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.235e-05/0.6435, allocations: 4.5 kB / 400 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.6435, allocations: 2.656 kB / 400 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002274/0.6458, allocations: 333.5 kB / 400.4 MB, free: 11.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006998/0.6465, allocations: 91.5 kB / 400.5 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001794/0.6484, allocations: 1.362 MB / 401.8 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009509/0.6494, allocations: 95.95 kB / 401.9 MB, free: 10.69 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.225e-05/0.6494, allocations: 15.5 kB / 401.9 MB, free: 10.69 MB / 314.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.0003183/0.6498, allocations: 164.5 kB / 402.1 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.6499, allocations: 34.97 kB / 402.1 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003687/0.6536, allocations: 0.7948 MB / 402.9 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/0.6536, allocations: 3.875 kB / 402.9 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.6537, allocations: 3.953 kB / 402.9 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.458e-05/0.6537, allocations: 0 / 402.9 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009102/0.6546, allocations: 462.4 kB / 403.4 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.6546, allocations: 0 / 403.4 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005737/0.6552, allocations: 67.52 kB / 403.4 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002101/0.6573, allocations: 341.6 kB / 403.8 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/0.6575, allocations: 7.531 kB / 403.8 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001696/0.6592, allocations: 1.388 MB / 405.2 MB, free: 9.141 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.6593, allocations: 4 kB / 405.2 MB, free: 9.137 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004525/0.6638, allocations: 1.105 MB / 406.3 MB, free: 8.926 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001651/0.664, allocations: 111.3 kB / 406.4 MB, free: 8.809 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.6642, allocations: 11.12 kB / 406.4 MB, free: 8.809 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007186/0.6649, allocations: 61.78 kB / 406.5 MB, free: 8.805 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.665, allocations: 24.3 kB / 406.5 MB, free: 8.805 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.339e-05/0.6651, allocations: 11.59 kB / 406.5 MB, free: 8.805 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003497/0.6654, allocations: 190.5 kB / 406.7 MB, free: 8.723 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6654, allocations: 0 / 406.7 MB, free: 8.723 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006014/0.666, allocations: 117.4 kB / 406.8 MB, free: 8.707 MB / 314.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.0002187/0.6663, allocations: 117.2 kB / 406.9 MB, free: 8.613 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002168/0.6685, allocations: 0.5096 MB / 407.4 MB, free: 8.582 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.493e-06/0.6685, allocations: 3.906 kB / 407.4 MB, free: 8.582 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001072/0.6696, allocations: 277.5 kB / 407.7 MB, free: 8.566 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005266/0.6702, allocations: 44.33 kB / 407.7 MB, free: 8.555 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002414/0.6726, allocations: 1.044 MB / 408.8 MB, free: 7.945 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.6729, allocations: 0.8133 MB / 409.6 MB, free: 7.188 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000472/0.6734, allocations: 22.61 kB / 409.6 MB, free: 7.176 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/0.6736, allocations: 22.94 kB / 409.6 MB, free: 7.168 MB / 314.7 MB Notification: Performance of SimCode: time 1.663e-06/0.6736, allocations: 0 / 409.6 MB, free: 7.168 MB / 314.7 MB Notification: Performance of Templates: time 0.015/0.6886, allocations: 5.246 MB / 414.9 MB, free: 4.504 MB / 314.7 MB