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.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.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.933/1.933, allocations: 194.9 MB / 211.7 MB, free: 2.98 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003549/0.0003551, allocations: 11.98 kB / 264 MB, free: 13.55 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07859/0.07897, allocations: 44.5 MB / 308.5 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3314/0.4104, allocations: 78.08 MB / 386.5 MB, free: 18.73 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/0.4107, allocations: 91.38 kB / 386.6 MB, free: 18.73 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04614/0.4568, allocations: 13.4 MB / 400 MB, free: 17.31 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.54e-06/0.4569, allocations: 0 / 400 MB, free: 17.31 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.456e-05/0.4569, allocations: 15.44 kB / 400 MB, free: 17.31 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.001861/0.4588, allocations: 1.034 MB / 401.1 MB, free: 16.68 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.4589, allocations: 7.75 kB / 401.1 MB, free: 16.68 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001963/0.4591, allocations: 93.34 kB / 401.2 MB, free: 16.63 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/0.4601, allocations: 0.61 MB / 401.8 MB, free: 16.35 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.104e-05/0.4602, allocations: 49.91 kB / 401.8 MB, free: 16.35 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/0.4604, allocations: 62.34 kB / 401.9 MB, free: 16.35 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001722/0.4621, allocations: 0.9157 MB / 402.8 MB, free: 16.2 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.849e-05/0.4621, allocations: 3.906 kB / 402.8 MB, free: 16.2 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.794e-05/0.4622, allocations: 31.92 kB / 402.8 MB, free: 16.2 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-05/0.4623, allocations: 35.23 kB / 402.9 MB, free: 16.19 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001568/0.4639, allocations: 0.7598 MB / 403.6 MB, free: 16.06 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004458/0.4684, allocations: 2.818 MB / 406.5 MB, free: 14.59 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009671/0.4694, allocations: 0.7492 MB / 407.2 MB, free: 14.2 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.635e-05/0.4694, allocations: 4.203 kB / 407.2 MB, free: 14.2 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000676/0.4701, allocations: 375.9 kB / 407.6 MB, free: 14.05 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 3.524e-06/0.4701, allocations: 4 kB / 407.6 MB, free: 14.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=43): time 0.003098/0.4732, allocations: 1.199 MB / 408.8 MB, free: 13.63 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.4733, allocations: 92.69 kB / 408.9 MB, free: 13.54 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007448/0.4741, allocations: 0.5046 MB / 409.4 MB, free: 13.35 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.005e-05/0.4741, allocations: 36.92 kB / 409.4 MB, free: 13.32 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002169/0.4743, allocations: 384 kB / 409.8 MB, free: 13.05 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.4745, allocations: 146.2 kB / 409.9 MB, free: 12.95 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/0.4745, allocations: 10.88 kB / 409.9 MB, free: 12.95 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.437e-05/0.4746, allocations: 325.9 kB / 410.3 MB, free: 12.63 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005026/0.4751, allocations: 226.1 kB / 410.5 MB, free: 12.59 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005573/0.4757, allocations: 351.8 kB / 410.8 MB, free: 12.4 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005536/0.4763, allocations: 257.9 kB / 411.1 MB, free: 12.35 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.725e-06/0.4763, allocations: 0 / 411.1 MB, free: 12.35 MB / 314.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001563/0.4779, allocations: 0.7204 MB / 411.8 MB, free: 12.16 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.4779, allocations: 3.875 kB / 411.8 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.4779, allocations: 8.312 kB / 411.8 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006131/0.4785, allocations: 201.8 kB / 412 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003746/0.4789, allocations: 77.39 kB / 412.1 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003391/0.4823, allocations: 2.726 MB / 414.8 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005222/0.4829, allocations: 61.61 kB / 414.9 MB, free: 10.4 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-05/0.483, allocations: 19.5 kB / 414.9 MB, free: 10.4 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.000566/0.4835, allocations: 323.4 kB / 415.2 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.4837, allocations: 54.47 kB / 415.3 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001572/0.4838, allocations: 72.23 kB / 415.3 MB, free: 10.19 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.909e-06/0.4838, allocations: 7.922 kB / 415.3 MB, free: 10.19 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.852e-06/0.4839, allocations: 0 / 415.3 MB, free: 10.19 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.592e-06/0.4839, allocations: 11.8 kB / 415.3 MB, free: 10.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002734/0.4866, allocations: 1.516 MB / 416.9 MB, free: 9.586 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.4866, allocations: 0 / 416.9 MB, free: 9.586 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003535/0.487, allocations: 50.31 kB / 416.9 MB, free: 9.578 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005873/0.4876, allocations: 194.5 kB / 417.1 MB, free: 9.527 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.535e-05/0.4877, allocations: 15.5 kB / 417.1 MB, free: 9.516 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003376/0.4911, allocations: 2.709 MB / 419.8 MB, free: 7.867 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.4911, allocations: 3.953 kB / 419.8 MB, free: 7.863 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002134/0.4932, allocations: 1.114 MB / 420.9 MB, free: 7.531 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003059/0.4936, allocations: 196.7 kB / 421.1 MB, free: 7.383 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.4937, allocations: 15.16 kB / 421.1 MB, free: 7.379 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004163/0.4941, allocations: 31.11 kB / 421.2 MB, free: 7.367 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/0.4943, allocations: 50.5 kB / 421.2 MB, free: 7.344 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.254e-05/0.4943, allocations: 7.781 kB / 421.2 MB, free: 7.344 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006031/0.4949, allocations: 411.6 kB / 421.6 MB, free: 7.199 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.71e-07/0.495, allocations: 3.844 kB / 421.6 MB, free: 7.199 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009218/0.4959, allocations: 211.9 kB / 421.8 MB, free: 7.156 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.0001728/0.4961, allocations: 121.5 kB / 422 MB, free: 7.062 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001419/0.4975, allocations: 0.7301 MB / 422.7 MB, free: 6.816 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.4975, allocations: 0.875 kB / 422.7 MB, free: 6.816 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008039/0.4984, allocations: 484.3 kB / 423.2 MB, free: 6.617 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007488/0.4991, allocations: 125.9 kB / 423.3 MB, free: 6.582 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003004/0.5021, allocations: 1.774 MB / 425.1 MB, free: 5.59 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000587/0.5028, allocations: 1.075 MB / 426.1 MB, free: 4.746 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001598/0.5029, allocations: 42.67 kB / 426.2 MB, free: 4.73 MB / 314.7 MB Notification: Performance of SimCode: time 1.663e-06/0.5029, allocations: 3.875 kB / 426.2 MB, free: 4.73 MB / 314.7 MB Notification: Performance of Templates: time 0.01742/0.5204, allocations: 12.36 MB / 438.5 MB, free: 14.66 MB / 330.7 MB