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.HeatingRectifier.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.HeatingRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier") Notification: Performance of loadModel(Modelica): time 1.762/1.762, allocations: 171.1 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003642/0.0003642, allocations: 16 kB / 233.8 MB, free: 2.391 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08243/0.08282, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3776/0.4604, allocations: 68.69 MB / 341.3 MB, free: 4.715 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004124/0.4609, allocations: 79.98 kB / 341.4 MB, free: 4.672 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02082/0.4818, allocations: 4.023 MB / 345.4 MB, free: 1.246 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.4818, allocations: 0 / 345.4 MB, free: 1.246 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.846e-05/0.4818, allocations: 4 kB / 345.4 MB, free: 1.242 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.000982/0.4828, allocations: 0.5047 MB / 345.9 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.4829, allocations: 8.031 kB / 345.9 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.415e-05/0.483, allocations: 23.72 kB / 346 MB, free: 0.668 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000375/0.4834, allocations: 233.2 kB / 346.2 MB, free: 424 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/0.4834, allocations: 19.08 kB / 346.2 MB, free: 412 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.184e-05/0.4835, allocations: 26.75 kB / 346.2 MB, free: 392 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005729/0.4841, allocations: 231.5 kB / 346.4 MB, free: 208 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.4841, allocations: 3.938 kB / 346.5 MB, free: 204 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.608e-05/0.4841, allocations: 12.75 kB / 346.5 MB, free: 200 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.4842, allocations: 4 kB / 346.5 MB, free: 196 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005051/0.4847, allocations: 153 kB / 346.6 MB, free: 92 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001916/0.4866, allocations: 0.8671 MB / 347.5 MB, free: 15.29 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004393/0.4871, allocations: 149.6 kB / 347.6 MB, free: 15.19 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.998e-05/0.4871, allocations: 8 kB / 347.6 MB, free: 15.18 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/0.4872, allocations: 34.38 kB / 347.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 2.334e-06/0.4872, allocations: 0 / 347.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.001961/0.4891, allocations: 433 kB / 348.1 MB, free: 14.75 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.4892, allocations: 51.41 kB / 348.1 MB, free: 14.69 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/0.4894, allocations: 187.6 kB / 348.3 MB, free: 14.52 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.4895, allocations: 29.45 kB / 348.4 MB, free: 14.49 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.4896, allocations: 154 kB / 348.5 MB, free: 14.35 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.657e-05/0.4897, allocations: 72.95 kB / 348.6 MB, free: 14.29 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.407e-05/0.4897, allocations: 3.375 kB / 348.6 MB, free: 14.29 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.4899, allocations: 325.6 kB / 348.9 MB, free: 13.97 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/0.4901, allocations: 53.53 kB / 349 MB, free: 13.94 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002355/0.4903, allocations: 100.8 kB / 349.1 MB, free: 13.84 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000219/0.4906, allocations: 71.12 kB / 349.1 MB, free: 13.8 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.4906, allocations: 0 / 349.1 MB, free: 13.8 MB / 282.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007806/0.4914, allocations: 245.6 kB / 349.4 MB, free: 13.61 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.4914, allocations: 8 kB / 349.4 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.4914, allocations: 0 / 349.4 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00212/0.4935, allocations: 220 kB / 349.6 MB, free: 13.4 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002807/0.4938, allocations: 42.97 kB / 349.6 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006378/0.4945, allocations: 0.616 MB / 350.2 MB, free: 12.76 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002258/0.4947, allocations: 19.91 kB / 350.3 MB, free: 12.74 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/0.4948, allocations: 6.875 kB / 350.3 MB, free: 12.73 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001757/0.495, allocations: 131.2 kB / 350.4 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.745e-05/0.495, allocations: 19.8 kB / 350.4 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006851/0.4957, allocations: 229.7 kB / 350.6 MB, free: 12.43 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.859e-06/0.4958, allocations: 15.89 kB / 350.7 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.4958, allocations: 0 / 350.7 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.4958, allocations: 0 / 350.7 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004495/0.4962, allocations: 288.6 kB / 350.9 MB, free: 12.13 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.4963, allocations: 4 kB / 350.9 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002702/0.4965, allocations: 23.98 kB / 351 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001961/0.4985, allocations: 235.2 kB / 351.2 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/0.4986, allocations: 3.75 kB / 351.2 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000665/0.4992, allocations: 0.621 MB / 351.8 MB, free: 11.28 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.4993, allocations: 0 / 351.8 MB, free: 11.28 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008622/0.5001, allocations: 399.5 kB / 352.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.5003, allocations: 107.6 kB / 352.3 MB, free: 10.83 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.718e-05/0.5003, allocations: 7.938 kB / 352.3 MB, free: 10.83 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/0.5006, allocations: 11.98 kB / 352.3 MB, free: 10.82 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.212e-05/0.5007, allocations: 11.23 kB / 352.3 MB, free: 10.81 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.5007, allocations: 8 kB / 352.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001534/0.5008, allocations: 131.7 kB / 352.5 MB, free: 10.69 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5009, allocations: 0 / 352.5 MB, free: 10.69 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004426/0.5013, allocations: 69.64 kB / 352.5 MB, free: 10.63 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002083/0.5015, allocations: 112.4 kB / 352.7 MB, free: 10.51 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006058/0.5022, allocations: 171.4 kB / 352.8 MB, free: 10.39 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.5022, allocations: 0 / 352.8 MB, free: 10.39 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003014/0.5025, allocations: 86.89 kB / 352.9 MB, free: 10.32 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003561/0.5029, allocations: 27.27 kB / 352.9 MB, free: 10.3 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/0.5044, allocations: 0.6877 MB / 353.6 MB, free: 9.625 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/0.5048, allocations: 0.7478 MB / 354.4 MB, free: 8.852 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001138/0.5049, allocations: 17.64 kB / 354.4 MB, free: 8.832 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.706e-05/0.505, allocations: 19.38 kB / 354.4 MB, free: 8.812 MB / 282.7 MB Notification: Performance of SimCode: time 1.092e-06/0.505, allocations: 0 / 354.4 MB, free: 8.812 MB / 282.7 MB Notification: Performance of Templates: time 0.008634/0.5137, allocations: 2.363 MB / 356.8 MB, free: 6.469 MB / 282.7 MB