Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadModel(Modelica): time 1.89/1.89, allocations: 194.8 MB / 212.3 MB, free: 3.02 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003702/0.0003703, allocations: 12 kB / 264.5 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09723/0.09764, allocations: 44.5 MB / 309 MB, free: 1.039 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4072/0.5049, allocations: 78.06 MB / 387.1 MB, free: 14.82 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003392/0.5053, allocations: 91.25 kB / 387.1 MB, free: 14.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05076/0.5561, allocations: 13.41 MB / 400.6 MB, free: 13.24 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.5562, allocations: 0 / 400.6 MB, free: 13.24 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.192e-05/0.5562, allocations: 19.53 kB / 400.6 MB, free: 13.24 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.002612/0.5589, allocations: 1.029 MB / 401.6 MB, free: 12.51 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.5589, allocations: 7.625 kB / 401.6 MB, free: 12.51 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002624/0.5592, allocations: 92.53 kB / 401.7 MB, free: 12.46 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001448/0.5607, allocations: 0.6089 MB / 402.3 MB, free: 12.11 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.115e-05/0.5607, allocations: 48.88 kB / 402.4 MB, free: 12.11 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001618/0.5609, allocations: 59.97 kB / 402.4 MB, free: 12.11 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002056/0.563, allocations: 0.92 MB / 403.3 MB, free: 11.8 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.181e-05/0.563, allocations: 3.906 kB / 403.3 MB, free: 11.8 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.5631, allocations: 29.69 kB / 403.4 MB, free: 11.8 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.273e-05/0.5632, allocations: 28.44 kB / 403.4 MB, free: 11.8 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001867/0.5651, allocations: 0.7723 MB / 404.2 MB, free: 11.66 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005495/0.5706, allocations: 2.814 MB / 407 MB, free: 10.19 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001257/0.5719, allocations: 0.7445 MB / 407.7 MB, free: 9.801 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.769e-05/0.572, allocations: 8.109 kB / 407.7 MB, free: 9.801 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008514/0.5728, allocations: 379.7 kB / 408.1 MB, free: 9.648 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 3.156e-06/0.5729, allocations: 0 / 408.1 MB, free: 9.648 MB / 314.7 MB Notification: Performance of matching and sorting (n=43): time 0.004166/0.577, allocations: 1.207 MB / 409.3 MB, free: 9.223 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/0.5771, allocations: 88.81 kB / 409.4 MB, free: 9.125 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009052/0.578, allocations: 0.5616 MB / 410 MB, free: 8.918 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.575e-05/0.5781, allocations: 37.17 kB / 410 MB, free: 8.887 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002629/0.5784, allocations: 379 kB / 410.4 MB, free: 8.617 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/0.5785, allocations: 139.5 kB / 410.5 MB, free: 8.52 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.748e-05/0.5786, allocations: 15.03 kB / 410.5 MB, free: 8.516 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.652e-05/0.5786, allocations: 326.1 kB / 410.8 MB, free: 8.199 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005588/0.5792, allocations: 224.8 kB / 411.1 MB, free: 8.156 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006267/0.5799, allocations: 353.8 kB / 411.4 MB, free: 7.969 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006315/0.5805, allocations: 256.3 kB / 411.6 MB, free: 7.922 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.728e-06/0.5805, allocations: 3.875 kB / 411.7 MB, free: 7.922 MB / 314.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001699/0.5822, allocations: 0.7168 MB / 412.4 MB, free: 7.734 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.5823, allocations: 9.938 kB / 412.4 MB, free: 7.734 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.5823, allocations: 7.906 kB / 412.4 MB, free: 7.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007241/0.583, allocations: 210.6 kB / 412.6 MB, free: 7.672 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005233/0.5836, allocations: 73.73 kB / 412.7 MB, free: 7.656 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004032/0.5876, allocations: 2.725 MB / 415.4 MB, free: 6.008 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006953/0.5883, allocations: 61.48 kB / 415.4 MB, free: 5.977 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.713e-05/0.5884, allocations: 23.06 kB / 415.5 MB, free: 5.973 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * 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 {3 11} Notification: Performance of prepare postOptimizeDAE: time 0.0006662/0.5891, allocations: 320.5 kB / 415.8 MB, free: 5.816 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001356/0.5893, allocations: 54.47 kB / 415.8 MB, free: 5.789 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001854/0.5894, allocations: 70.95 kB / 415.9 MB, free: 5.77 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.5895, allocations: 7.828 kB / 415.9 MB, free: 5.766 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.5895, allocations: 4 kB / 415.9 MB, free: 5.762 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.5895, allocations: 0 / 415.9 MB, free: 5.762 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003272/0.5928, allocations: 1.519 MB / 417.4 MB, free: 5.164 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.5928, allocations: 3.875 kB / 417.4 MB, free: 5.164 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004542/0.5933, allocations: 50.72 kB / 417.5 MB, free: 5.152 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006453/0.594, allocations: 201 kB / 417.7 MB, free: 5.098 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.506e-05/0.594, allocations: 3.625 kB / 417.7 MB, free: 5.098 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003808/0.5978, allocations: 2.71 MB / 420.4 MB, free: 3.441 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.5979, allocations: 3.953 kB / 420.4 MB, free: 3.438 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002465/0.6003, allocations: 1.117 MB / 421.5 MB, free: 3.102 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000393/0.6008, allocations: 198.4 kB / 421.7 MB, free: 2.953 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001379/0.6009, allocations: 17.73 kB / 421.7 MB, free: 2.945 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005168/0.6014, allocations: 29.47 kB / 421.8 MB, free: 2.938 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001674/0.6016, allocations: 42.45 kB / 421.8 MB, free: 2.918 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.264e-05/0.6017, allocations: 14.92 kB / 421.8 MB, free: 2.914 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006915/0.6024, allocations: 415 kB / 422.2 MB, free: 2.77 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6024, allocations: 0 / 422.2 MB, free: 2.77 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009386/0.6034, allocations: 205.2 kB / 422.4 MB, free: 2.734 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002092/0.6036, allocations: 134.1 kB / 422.6 MB, free: 2.629 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001801/0.6054, allocations: 0.7231 MB / 423.3 MB, free: 2.387 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.6054, allocations: 3.906 kB / 423.3 MB, free: 2.387 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001029/0.6065, allocations: 482.3 kB / 423.8 MB, free: 2.184 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.6075, allocations: 141.4 kB / 423.9 MB, free: 2.145 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003734/0.6113, allocations: 1.774 MB / 425.7 MB, free: 1.148 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005953/0.6119, allocations: 1.077 MB / 426.7 MB, free: 312 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000195/0.6121, allocations: 38.44 kB / 426.8 MB, free: 304 kB / 314.7 MB Notification: Performance of SimCode: time 9.92e-07/0.6121, allocations: 4 kB / 426.8 MB, free: 300 kB / 314.7 MB Notification: Performance of Templates: time 0.02354/0.6357, allocations: 12.32 MB / 439.1 MB, free: 10.16 MB / 330.7 MB