Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.Rectifier.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.Rectifier") Notification: Performance of loadModel(Modelica): time 1.797/1.797, allocations: 194.9 MB / 211.7 MB, free: 2.984 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003589/0.0003591, allocations: 12 kB / 263.9 MB, free: 13.56 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07839/0.07878, allocations: 44.5 MB / 308.4 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4098/0.4886, allocations: 74.75 MB / 383.2 MB, free: 18.66 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001885/0.4889, allocations: 70.7 kB / 383.3 MB, free: 18.66 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03103/0.5199, allocations: 8.757 MB / 392 MB, free: 17.61 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.162e-06/0.5199, allocations: 0 / 392 MB, free: 17.61 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.808e-05/0.52, allocations: 11.72 kB / 392 MB, free: 17.61 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001322/0.5213, allocations: 0.8215 MB / 392.9 MB, free: 17.06 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.5214, allocations: 7.844 kB / 392.9 MB, free: 17.06 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/0.5215, allocations: 71.34 kB / 392.9 MB, free: 17.03 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004747/0.522, allocations: 362 kB / 393.3 MB, free: 16.77 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.322e-05/0.5221, allocations: 39.34 kB / 393.3 MB, free: 16.77 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.934e-05/0.5222, allocations: 48.84 kB / 393.4 MB, free: 16.77 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.5232, allocations: 0.5385 MB / 393.9 MB, free: 16.66 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.5232, allocations: 3.938 kB / 393.9 MB, free: 16.65 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.216e-05/0.5233, allocations: 25.75 kB / 393.9 MB, free: 16.65 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.5233, allocations: 15.52 kB / 394 MB, free: 16.65 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.5245, allocations: 462.8 kB / 394.4 MB, free: 16.63 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00305/0.5276, allocations: 2.074 MB / 396.5 MB, free: 15.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.5287, allocations: 0.6243 MB / 397.1 MB, free: 15.55 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.652e-05/0.5287, allocations: 12 kB / 397.1 MB, free: 15.55 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.5288, allocations: 36.86 kB / 397.1 MB, free: 15.51 MB / 314.7 MB Notification: Performance of pre-optimization done (n=60): time 3.624e-06/0.5288, allocations: 3.812 kB / 397.2 MB, free: 15.51 MB / 314.7 MB Notification: Performance of matching and sorting (n=61): time 0.005022/0.5338, allocations: 1.98 MB / 399.1 MB, free: 14.77 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/0.5339, allocations: 63.69 kB / 399.2 MB, free: 14.7 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004143/0.5343, allocations: 316.8 kB / 399.5 MB, free: 14.59 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.568e-05/0.5344, allocations: 39.95 kB / 399.5 MB, free: 14.56 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.5345, allocations: 270.3 kB / 399.8 MB, free: 14.37 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001374/0.5346, allocations: 200.8 kB / 400 MB, free: 14.24 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.353e-05/0.5347, allocations: 8.656 kB / 400 MB, free: 14.24 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.44e-05/0.5348, allocations: 333.5 kB / 400.3 MB, free: 13.93 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004474/0.5352, allocations: 171.3 kB / 400.5 MB, free: 13.93 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004548/0.5357, allocations: 217.8 kB / 400.7 MB, free: 13.91 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004439/0.5362, allocations: 184.4 kB / 400.9 MB, free: 13.9 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.76e-06/0.5362, allocations: 0 / 400.9 MB, free: 13.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001594/0.5378, allocations: 0.6468 MB / 401.5 MB, free: 13.79 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.5378, allocations: 11.42 kB / 401.6 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.641e-06/0.5378, allocations: 0 / 401.6 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009227/0.5388, allocations: 254.5 kB / 401.8 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003604/0.5391, allocations: 64.48 kB / 401.9 MB, free: 13.74 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006925/0.5461, allocations: 6.847 MB / 408.7 MB, free: 8.273 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004416/0.5466, allocations: 24.78 kB / 408.7 MB, free: 8.273 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.745e-05/0.5466, allocations: 13.8 kB / 408.8 MB, free: 8.273 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003104/0.547, allocations: 174.3 kB / 408.9 MB, free: 8.148 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.5471, allocations: 52.66 kB / 409 MB, free: 8.121 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001146/0.5472, allocations: 66.89 kB / 409 MB, free: 8.113 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.413e-06/0.5472, allocations: 6.844 kB / 409 MB, free: 8.113 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.636e-06/0.5473, allocations: 2.344 kB / 409 MB, free: 8.113 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.737e-06/0.5473, allocations: 3.328 kB / 409 MB, free: 8.113 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002681/0.55, allocations: 1.359 MB / 410.4 MB, free: 7.734 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.559e-06/0.55, allocations: 0 / 410.4 MB, free: 7.734 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004045/0.5504, allocations: 57.02 kB / 410.5 MB, free: 7.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009467/0.5514, allocations: 261.2 kB / 410.7 MB, free: 7.688 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.752e-05/0.5514, allocations: 10.78 kB / 410.7 MB, free: 7.688 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008491/0.56, allocations: 6.838 MB / 417.6 MB, free: 18.23 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.241e-06/0.56, allocations: 64 / 417.6 MB, free: 18.23 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00223/0.5622, allocations: 1.036 MB / 418.6 MB, free: 18 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003235/0.5626, allocations: 162.2 kB / 418.8 MB, free: 17.88 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.596e-05/0.5627, allocations: 11.44 kB / 418.8 MB, free: 17.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003478/0.5631, allocations: 22.47 kB / 418.8 MB, free: 17.88 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/0.5632, allocations: 62.52 kB / 418.9 MB, free: 17.87 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.044e-05/0.5633, allocations: 17.69 kB / 418.9 MB, free: 17.87 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003423/0.5636, allocations: 250.8 kB / 419.1 MB, free: 17.78 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.28e-07/0.5636, allocations: 0 / 419.1 MB, free: 17.78 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001139/0.5648, allocations: 177.1 kB / 419.3 MB, free: 17.78 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Inductor2.i,Inductor3.i,Capacitor1.v,Capacitor2.v) * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001944/0.565, allocations: 120.7 kB / 419.4 MB, free: 17.69 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001931/0.5669, allocations: 1.043 MB / 420.5 MB, free: 17.19 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.394e-06/0.567, allocations: 0 / 420.5 MB, free: 17.19 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001326/0.5683, allocations: 0.8458 MB / 421.3 MB, free: 16.69 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005558/0.5689, allocations: 72.09 kB / 421.4 MB, free: 16.69 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002756/0.5717, allocations: 1.562 MB / 422.9 MB, free: 15.82 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005975/0.5723, allocations: 0.8858 MB / 423.8 MB, free: 15.11 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.5724, allocations: 30.81 kB / 423.8 MB, free: 15.1 MB / 330.7 MB Notification: Performance of SimCode: time 2.212e-06/0.5724, allocations: 3.875 kB / 423.8 MB, free: 15.1 MB / 330.7 MB Notification: Performance of Templates: time 0.01618/0.5886, allocations: 13.28 MB / 437.1 MB, free: 8.637 MB / 330.7 MB