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.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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.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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") Notification: Performance of loadModel(Modelica): time 2.006/2.006, allocations: 194.9 MB / 211.7 MB, free: 2.977 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003759/0.000376, allocations: 8 kB / 264 MB, free: 13.56 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08173/0.08214, allocations: 44.5 MB / 308.5 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3383/0.4205, allocations: 75.31 MB / 383.8 MB, free: 18.93 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/0.4208, allocations: 84.88 kB / 383.9 MB, free: 18.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02344/0.4443, allocations: 6.17 MB / 390 MB, free: 18.15 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.4443, allocations: 0 / 390 MB, free: 18.15 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.636e-05/0.4444, allocations: 15.5 kB / 390 MB, free: 18.14 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.00111/0.4455, allocations: 0.6465 MB / 390.7 MB, free: 17.65 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.4455, allocations: 7.812 kB / 390.7 MB, free: 17.65 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.4457, allocations: 56.42 kB / 390.7 MB, free: 17.62 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004908/0.4462, allocations: 338.2 kB / 391.1 MB, free: 17.38 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/0.4462, allocations: 29.78 kB / 391.1 MB, free: 17.38 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.287e-05/0.4463, allocations: 38.19 kB / 391.1 MB, free: 17.38 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008203/0.4471, allocations: 377.8 kB / 391.5 MB, free: 17.3 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.235e-05/0.4472, allocations: 0 / 391.5 MB, free: 17.3 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.011e-05/0.4472, allocations: 14.97 kB / 391.5 MB, free: 17.3 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.4473, allocations: 15.36 kB / 391.5 MB, free: 17.29 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006521/0.4479, allocations: 266.9 kB / 391.8 MB, free: 17.28 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00235/0.4503, allocations: 1.48 MB / 393.3 MB, free: 16.5 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005104/0.4508, allocations: 250 kB / 393.5 MB, free: 16.47 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.339e-05/0.4509, allocations: 4.203 kB / 393.5 MB, free: 16.47 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004614/0.4514, allocations: 221.4 kB / 393.7 MB, free: 16.39 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 3.878e-06/0.4514, allocations: 0 / 393.7 MB, free: 16.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=31): time 0.001791/0.4532, allocations: 0.5951 MB / 394.3 MB, free: 16.22 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.4533, allocations: 84.17 kB / 394.4 MB, free: 16.13 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003525/0.4536, allocations: 260.8 kB / 394.7 MB, free: 16.03 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.148e-05/0.4537, allocations: 29.64 kB / 394.7 MB, free: 16 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.4538, allocations: 270.2 kB / 395 MB, free: 15.8 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.685e-05/0.4539, allocations: 87 kB / 395.1 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.098e-05/0.4539, allocations: 11.38 kB / 395.1 MB, free: 15.74 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.108e-05/0.454, allocations: 327.7 kB / 395.4 MB, free: 15.43 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002581/0.4543, allocations: 97.52 kB / 395.5 MB, free: 15.42 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003169/0.4546, allocations: 208.8 kB / 395.7 MB, free: 15.28 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003139/0.4549, allocations: 119.8 kB / 395.8 MB, free: 15.27 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.455, allocations: 0 / 395.8 MB, free: 15.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009348/0.4559, allocations: 393.3 kB / 396.2 MB, free: 15.19 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.456, allocations: 7.938 kB / 396.2 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.456, allocations: 6.656 kB / 396.2 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000388/0.4564, allocations: 78.5 kB / 396.3 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002788/0.4567, allocations: 60.98 kB / 396.3 MB, free: 15.17 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002144/0.4588, allocations: 1.836 MB / 398.2 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004103/0.4593, allocations: 42.73 kB / 398.2 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.691e-05/0.4594, allocations: 11.64 kB / 398.2 MB, free: 13.77 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.0002831/0.4597, allocations: 172.7 kB / 398.4 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.154e-05/0.4597, allocations: 30.94 kB / 398.4 MB, free: 13.63 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.192e-05/0.4598, allocations: 42.38 kB / 398.5 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.674e-06/0.4599, allocations: 7.969 kB / 398.5 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.516e-06/0.4599, allocations: 2.25 kB / 398.5 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.4599, allocations: 0 / 398.5 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004926/0.4604, allocations: 406 kB / 398.9 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.268e-06/0.4604, allocations: 7.922 kB / 398.9 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002701/0.4607, allocations: 33.67 kB / 398.9 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003373/0.461, allocations: 72.52 kB / 399 MB, free: 13.4 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.635e-05/0.4611, allocations: 17.88 kB / 399 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002074/0.4632, allocations: 1.821 MB / 400.8 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.547e-06/0.4632, allocations: 3.719 kB / 400.8 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001372/0.4646, allocations: 0.5041 MB / 401.3 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001946/0.4648, allocations: 132.6 kB / 401.5 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.851e-05/0.4649, allocations: 11.5 kB / 401.5 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/0.4652, allocations: 22.5 kB / 401.5 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.892e-05/0.4653, allocations: 23.89 kB / 401.5 MB, free: 11.78 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.041e-05/0.4653, allocations: 9.906 kB / 401.5 MB, free: 11.78 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002541/0.4656, allocations: 211 kB / 401.7 MB, free: 11.7 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.06e-07/0.4656, allocations: 0 / 401.7 MB, free: 11.7 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006701/0.4663, allocations: 118.8 kB / 401.8 MB, free: 11.68 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.0001628/0.4665, allocations: 112.1 kB / 402 MB, free: 11.59 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009144/0.4674, allocations: 434.6 kB / 402.4 MB, free: 11.44 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.21e-06/0.4674, allocations: 3.938 kB / 402.4 MB, free: 11.44 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004896/0.4679, allocations: 291.1 kB / 402.7 MB, free: 11.31 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004112/0.4683, allocations: 52.38 kB / 402.7 MB, free: 11.3 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/0.4698, allocations: 0.873 MB / 403.6 MB, free: 10.81 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.4701, allocations: 0.8067 MB / 404.4 MB, free: 10.11 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.4702, allocations: 29.97 kB / 404.4 MB, free: 10.1 MB / 314.7 MB Notification: Performance of SimCode: time 1.578e-06/0.4703, allocations: 0 / 404.4 MB, free: 10.1 MB / 314.7 MB Notification: Performance of Templates: time 0.009128/0.4794, allocations: 5.674 MB / 410.1 MB, free: 9.207 MB / 314.7 MB