Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") Notification: Performance of loadModel(Modelica): time 1.997/1.997, allocations: 194.8 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003627/0.0003628, allocations: 23.94 kB / 264.6 MB, free: 12.91 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1359, allocations: 44.49 MB / 309.1 MB, free: 356 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4389/0.5749, allocations: 75.3 MB / 384.4 MB, free: 15.45 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003472/0.5753, allocations: 94.06 kB / 384.5 MB, free: 15.45 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0259/0.6012, allocations: 6.173 MB / 390.6 MB, free: 14.67 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.6013, allocations: 0 / 390.6 MB, free: 14.67 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.816e-05/0.6013, allocations: 11.81 kB / 390.6 MB, free: 14.67 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001473/0.6028, allocations: 0.6487 MB / 391.3 MB, free: 14.18 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.6029, allocations: 15.59 kB / 391.3 MB, free: 14.18 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001433/0.603, allocations: 53.75 kB / 391.4 MB, free: 14.15 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005824/0.6036, allocations: 336.7 kB / 391.7 MB, free: 13.9 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.256e-05/0.6037, allocations: 24.84 kB / 391.7 MB, free: 13.9 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.824e-05/0.6038, allocations: 41.06 kB / 391.8 MB, free: 13.9 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009147/0.6047, allocations: 373.6 kB / 392.1 MB, free: 13.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/0.6047, allocations: 3.906 kB / 392.1 MB, free: 13.82 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.186e-05/0.6048, allocations: 17.58 kB / 392.1 MB, free: 13.82 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.679e-05/0.6048, allocations: 15.64 kB / 392.2 MB, free: 13.82 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000774/0.6056, allocations: 263.5 kB / 392.4 MB, free: 13.8 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002859/0.6085, allocations: 1.488 MB / 393.9 MB, free: 13.03 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006346/0.6092, allocations: 240 kB / 394.1 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.124e-05/0.6092, allocations: 4.109 kB / 394.1 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005618/0.6098, allocations: 229.8 kB / 394.4 MB, free: 12.92 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 3.306e-06/0.6098, allocations: 0 / 394.4 MB, free: 12.92 MB / 314.7 MB Notification: Performance of matching and sorting (n=31): time 0.002317/0.6122, allocations: 0.5903 MB / 395 MB, free: 12.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.6122, allocations: 80.95 kB / 395 MB, free: 12.66 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003921/0.6126, allocations: 299.6 kB / 395.3 MB, free: 12.54 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.317e-05/0.6127, allocations: 35.3 kB / 395.4 MB, free: 12.51 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.6128, allocations: 209.8 kB / 395.6 MB, free: 12.38 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.531e-05/0.6129, allocations: 91.17 kB / 395.7 MB, free: 12.32 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.348e-05/0.613, allocations: 3.188 kB / 395.7 MB, free: 12.32 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.279e-05/0.6131, allocations: 350.9 kB / 396 MB, free: 12 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003004/0.6134, allocations: 95.28 kB / 396.1 MB, free: 12 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003582/0.6138, allocations: 211.9 kB / 396.3 MB, free: 11.86 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003421/0.6141, allocations: 114.6 kB / 396.4 MB, free: 11.85 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.6141, allocations: 0 / 396.4 MB, free: 11.85 MB / 314.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001052/0.6152, allocations: 418.1 kB / 396.8 MB, free: 11.76 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.6152, allocations: 7.5 kB / 396.8 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.6152, allocations: 3.875 kB / 396.8 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004358/0.6157, allocations: 77.16 kB / 396.9 MB, free: 11.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003831/0.6161, allocations: 56.55 kB / 397 MB, free: 11.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002282/0.6184, allocations: 1.837 MB / 398.8 MB, free: 10.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004135/0.6188, allocations: 42.62 kB / 398.8 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.308e-05/0.6189, allocations: 15.34 kB / 398.9 MB, free: 10.34 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: 11 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p.off,rectifier.diode_n.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * 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 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0002783/0.6192, allocations: 167.5 kB / 399 MB, free: 10.22 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.527e-05/0.6192, allocations: 30.94 kB / 399 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.062e-05/0.6193, allocations: 51.11 kB / 399.1 MB, free: 10.18 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.6194, allocations: 4.781 kB / 399.1 MB, free: 10.18 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.6194, allocations: 0 / 399.1 MB, free: 10.18 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.6194, allocations: 2.062 kB / 399.1 MB, free: 10.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004609/0.6199, allocations: 407.7 kB / 399.5 MB, free: 9.988 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.6199, allocations: 0 / 399.5 MB, free: 9.988 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003027/0.6202, allocations: 33.39 kB / 399.5 MB, free: 9.988 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003382/0.6205, allocations: 77.77 kB / 399.6 MB, free: 9.973 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.133e-05/0.6206, allocations: 14.98 kB / 399.6 MB, free: 9.969 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00212/0.6227, allocations: 1.815 MB / 401.4 MB, free: 8.598 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.6227, allocations: 3.875 kB / 401.4 MB, free: 8.598 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00143/0.6242, allocations: 0.5101 MB / 402 MB, free: 8.484 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001747/0.6244, allocations: 131.8 kB / 402.1 MB, free: 8.371 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.077e-05/0.6245, allocations: 9.594 kB / 402.1 MB, free: 8.367 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000298/0.6248, allocations: 22.16 kB / 402.1 MB, free: 8.363 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.376e-05/0.6249, allocations: 23.66 kB / 402.1 MB, free: 8.363 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.947e-05/0.6249, allocations: 9.766 kB / 402.1 MB, free: 8.363 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002684/0.6252, allocations: 208 kB / 402.4 MB, free: 8.281 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6252, allocations: 0 / 402.4 MB, free: 8.281 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006615/0.6259, allocations: 117.6 kB / 402.5 MB, free: 8.262 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: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001791/0.6261, allocations: 123.2 kB / 402.6 MB, free: 8.164 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001078/0.6272, allocations: 434.6 kB / 403 MB, free: 8.02 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.6272, allocations: 0 / 403 MB, free: 8.02 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005679/0.6278, allocations: 286 kB / 403.3 MB, free: 7.891 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004387/0.6282, allocations: 51.5 kB / 403.3 MB, free: 7.887 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.6299, allocations: 0.8401 MB / 404.2 MB, free: 7.426 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.6302, allocations: 0.8118 MB / 405 MB, free: 6.727 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002281/0.6304, allocations: 29.77 kB / 405 MB, free: 6.719 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.059e-05/0.6305, allocations: 30.28 kB / 405 MB, free: 6.711 MB / 314.7 MB Notification: Performance of SimCode: time 1.213e-06/0.6305, allocations: 0 / 405 MB, free: 6.711 MB / 314.7 MB Notification: Performance of Templates: time 0.01284/0.6434, allocations: 4.296 MB / 409.3 MB, free: 5.715 MB / 314.7 MB