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.HeatingRectifier.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.HeatingRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingRectifier") Notification: Performance of loadModel(Modelica): time 2.193/2.193, allocations: 194.8 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003612/0.0003612, allocations: 8 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09588/0.09628, allocations: 44.5 MB / 309 MB, free: 380 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4399/0.5363, allocations: 73.92 MB / 383 MB, free: 15.49 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/0.5366, allocations: 76.55 kB / 383 MB, free: 15.49 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01785/0.5545, allocations: 4.032 MB / 387.1 MB, free: 14.89 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.5545, allocations: 1.359 kB / 387.1 MB, free: 14.89 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.856e-05/0.5545, allocations: 5.188 kB / 387.1 MB, free: 14.89 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0009263/0.5555, allocations: 0.4998 MB / 387.6 MB, free: 14.47 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.5555, allocations: 8.469 kB / 387.6 MB, free: 14.47 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.098e-05/0.5556, allocations: 25.78 kB / 387.6 MB, free: 14.46 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003717/0.556, allocations: 244.4 kB / 387.8 MB, free: 14.23 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/0.5561, allocations: 14.31 kB / 387.9 MB, free: 14.23 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.183e-05/0.5561, allocations: 25.53 kB / 387.9 MB, free: 14.22 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/0.5576, allocations: 223 kB / 388.1 MB, free: 14.16 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.726e-05/0.5577, allocations: 0 / 388.1 MB, free: 14.16 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001311/0.5579, allocations: 10.25 kB / 388.1 MB, free: 14.16 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/0.5579, allocations: 5.281 kB / 388.1 MB, free: 14.16 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008227/0.5587, allocations: 155.4 kB / 388.3 MB, free: 14.16 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001953/0.5607, allocations: 0.8397 MB / 389.1 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004292/0.5612, allocations: 162.1 kB / 389.3 MB, free: 13.67 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.214e-05/0.5613, allocations: 0 / 389.3 MB, free: 13.67 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.5613, allocations: 41.64 kB / 389.3 MB, free: 13.62 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 1.984e-06/0.5613, allocations: 3.938 kB / 389.3 MB, free: 13.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.001995/0.5633, allocations: 430.2 kB / 389.7 MB, free: 13.46 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.5634, allocations: 51.41 kB / 389.8 MB, free: 13.4 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002291/0.5636, allocations: 176.3 kB / 390 MB, free: 13.29 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.098e-05/0.5637, allocations: 32.77 kB / 390 MB, free: 13.26 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.5639, allocations: 144.6 kB / 390.1 MB, free: 13.15 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.564, allocations: 59.86 kB / 390.2 MB, free: 13.11 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.437e-05/0.564, allocations: 3.188 kB / 390.2 MB, free: 13.11 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.5642, allocations: 334.3 kB / 390.5 MB, free: 12.79 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004259/0.5646, allocations: 53.36 kB / 390.6 MB, free: 12.79 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007806/0.5654, allocations: 77.66 kB / 390.6 MB, free: 12.76 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003921/0.5659, allocations: 61.39 kB / 390.7 MB, free: 12.76 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.194e-05/0.5659, allocations: 4 kB / 390.7 MB, free: 12.76 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008824/0.5668, allocations: 245.6 kB / 391 MB, free: 12.7 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/0.5669, allocations: 3.844 kB / 391 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.5669, allocations: 0 / 391 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002192/0.5691, allocations: 214.7 kB / 391.2 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002838/0.5694, allocations: 37.45 kB / 391.2 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005761/0.57, allocations: 0.6162 MB / 391.8 MB, free: 12.15 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002594/0.5703, allocations: 22.55 kB / 391.8 MB, free: 12.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/0.5703, allocations: 10.62 kB / 391.8 MB, free: 12.14 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 14 * 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.0001836/0.5705, allocations: 125.2 kB / 392 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.371e-05/0.5706, allocations: 18.95 kB / 392 MB, free: 12.01 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000757/0.5714, allocations: 241.1 kB / 392.2 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.5714, allocations: 3.812 kB / 392.2 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.5714, allocations: 0 / 392.2 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.5714, allocations: 3.141 kB / 392.2 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004726/0.5719, allocations: 292 kB / 392.5 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.5719, allocations: 0 / 392.5 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002696/0.5722, allocations: 25.89 kB / 392.5 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002004/0.5742, allocations: 229.6 kB / 392.8 MB, free: 11.74 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.983e-05/0.5744, allocations: 3.812 kB / 392.8 MB, free: 11.74 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009232/0.5753, allocations: 0.6156 MB / 393.4 MB, free: 11.22 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.5754, allocations: 3.938 kB / 393.4 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001435/0.5768, allocations: 395.9 kB / 393.8 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002305/0.5771, allocations: 110.8 kB / 393.9 MB, free: 10.95 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.883e-05/0.5772, allocations: 3.375 kB / 393.9 MB, free: 10.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004218/0.5776, allocations: 7.75 kB / 393.9 MB, free: 10.95 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.745e-05/0.5777, allocations: 22.52 kB / 393.9 MB, free: 10.94 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.869e-05/0.5778, allocations: 3.844 kB / 393.9 MB, free: 10.94 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002327/0.578, allocations: 133.5 kB / 394.1 MB, free: 10.86 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.062e-06/0.5781, allocations: 0 / 394.1 MB, free: 10.86 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001044/0.5791, allocations: 61.03 kB / 394.1 MB, free: 10.86 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 (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.0003117/0.5795, allocations: 117.3 kB / 394.2 MB, free: 10.76 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009328/0.5804, allocations: 161.3 kB / 394.4 MB, free: 10.75 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.5805, allocations: 0 / 394.4 MB, free: 10.75 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000432/0.5809, allocations: 90.22 kB / 394.5 MB, free: 10.74 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006779/0.5816, allocations: 29.56 kB / 394.5 MB, free: 10.73 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002441/0.5841, allocations: 0.6876 MB / 395.2 MB, free: 10.32 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002775/0.5844, allocations: 0.7411 MB / 395.9 MB, free: 9.625 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001649/0.5846, allocations: 13.25 kB / 395.9 MB, free: 9.621 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.447e-05/0.5847, allocations: 21.17 kB / 396 MB, free: 9.613 MB / 314.7 MB Notification: Performance of SimCode: time 1.433e-06/0.5847, allocations: 0 / 396 MB, free: 9.613 MB / 314.7 MB Notification: Performance of Templates: time 0.01232/0.597, allocations: 2.339 MB / 398.3 MB, free: 9.426 MB / 314.7 MB