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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadModel(Modelica): time 1.582/1.582, allocations: 194.8 MB / 212.3 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003038/0.0003039, allocations: 8 kB / 264.5 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08232/0.08264, allocations: 44.5 MB / 309 MB, free: 1.039 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3467/0.4294, allocations: 78.66 MB / 387.6 MB, free: 14.81 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002949/0.4297, allocations: 91.89 kB / 387.7 MB, free: 14.81 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06617/0.4959, allocations: 20.95 MB / 408.7 MB, free: 10.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.496, allocations: 0 / 408.7 MB, free: 10.11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.429e-05/0.4961, allocations: 35.16 kB / 408.7 MB, free: 10.1 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.003441/0.4995, allocations: 1.532 MB / 410.2 MB, free: 9.102 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.4996, allocations: 11.75 kB / 410.3 MB, free: 9.102 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002864/0.4999, allocations: 155.8 kB / 410.4 MB, free: 9.02 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001782/0.5016, allocations: 0.9526 MB / 411.4 MB, free: 8.555 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.864e-05/0.5017, allocations: 79.94 kB / 411.4 MB, free: 8.547 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001959/0.5019, allocations: 106.1 kB / 411.5 MB, free: 8.543 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003051/0.505, allocations: 1.535 MB / 413.1 MB, free: 8.051 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.518e-05/0.505, allocations: 4 kB / 413.1 MB, free: 8.047 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001448/0.5052, allocations: 44.31 kB / 413.1 MB, free: 8.047 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.404e-05/0.5053, allocations: 45.05 kB / 413.2 MB, free: 8.039 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002997/0.5083, allocations: 1.381 MB / 414.6 MB, free: 7.797 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00822/0.5165, allocations: 4.973 MB / 419.5 MB, free: 5.289 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001956/0.5185, allocations: 1.46 MB / 421 MB, free: 4.535 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.323e-05/0.5186, allocations: 8.375 kB / 421 MB, free: 4.531 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001258/0.5198, allocations: 0.6132 MB / 421.6 MB, free: 4.312 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 2.835e-06/0.5199, allocations: 0 / 421.6 MB, free: 4.312 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.008357/0.5282, allocations: 2.46 MB / 424.1 MB, free: 3.477 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.5283, allocations: 89.52 kB / 424.2 MB, free: 3.375 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001417/0.5297, allocations: 0.9327 MB / 425.1 MB, free: 3.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.073e-05/0.5298, allocations: 44.12 kB / 425.1 MB, free: 3.055 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003848/0.5302, allocations: 0.5136 MB / 425.6 MB, free: 2.723 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001928/0.5304, allocations: 229.5 kB / 425.9 MB, free: 2.562 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.538e-05/0.5305, allocations: 13.62 kB / 425.9 MB, free: 2.562 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.027e-05/0.5306, allocations: 344.1 kB / 426.2 MB, free: 2.238 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009446/0.5315, allocations: 420.6 kB / 426.6 MB, free: 2.16 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009927/0.5325, allocations: 0.5477 MB / 427.2 MB, free: 1.934 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009804/0.5335, allocations: 456.4 kB / 427.6 MB, free: 1.855 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.74e-06/0.5335, allocations: 3.75 kB / 427.6 MB, free: 1.855 MB / 314.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002654/0.5362, allocations: 1.228 MB / 428.9 MB, free: 1.578 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.5362, allocations: 7.625 kB / 428.9 MB, free: 1.578 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.5362, allocations: 3.75 kB / 428.9 MB, free: 1.578 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001267/0.5375, allocations: 407.5 kB / 429.3 MB, free: 1.477 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000738/0.5383, allocations: 116.6 kB / 429.4 MB, free: 1.449 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007027/0.5453, allocations: 4.248 MB / 433.6 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009151/0.5462, allocations: 89.98 kB / 433.7 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.397e-05/0.5463, allocations: 23.12 kB / 433.7 MB, free: 14.79 MB / 330.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: 15 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * 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 {6 22} Notification: Performance of prepare postOptimizeDAE: time 0.001016/0.5474, allocations: 494.4 kB / 434.2 MB, free: 14.44 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/0.5475, allocations: 92.97 kB / 434.3 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002762/0.5478, allocations: 119.5 kB / 434.4 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.5478, allocations: 7.656 kB / 434.4 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.769e-06/0.5478, allocations: 3.953 kB / 434.4 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.5479, allocations: 7.922 kB / 434.4 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005264/0.5531, allocations: 2.587 MB / 437 MB, free: 12.69 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.5532, allocations: 0 / 437 MB, free: 12.69 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00067/0.5538, allocations: 89.81 kB / 437.1 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001187/0.555, allocations: 382 kB / 437.5 MB, free: 12.47 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.681e-05/0.5551, allocations: 15.86 kB / 437.5 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007278/0.5624, allocations: 4.225 MB / 441.7 MB, free: 9.152 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.5624, allocations: 4 kB / 441.7 MB, free: 9.148 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004607/0.5671, allocations: 1.969 MB / 443.7 MB, free: 7.16 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006141/0.5677, allocations: 287.8 kB / 444 MB, free: 6.859 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001992/0.5679, allocations: 12.12 kB / 444 MB, free: 6.848 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000699/0.5686, allocations: 55.89 kB / 444.1 MB, free: 6.793 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002497/0.5689, allocations: 80.53 kB / 444.1 MB, free: 6.715 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.855e-05/0.569, allocations: 23.98 kB / 444.2 MB, free: 6.691 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001261/0.5702, allocations: 0.659 MB / 444.8 MB, free: 6.035 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5702, allocations: 4 kB / 444.8 MB, free: 6.031 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001186/0.5714, allocations: 350.8 kB / 445.2 MB, free: 5.688 MB / 330.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: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.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 (45): * Single equations (assignments): 41 * 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 {6 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002359/0.5717, allocations: 131.2 kB / 445.3 MB, free: 5.551 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003115/0.5748, allocations: 1.284 MB / 446.6 MB, free: 4.254 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5748, allocations: 0 / 446.6 MB, free: 4.254 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001862/0.5767, allocations: 0.8144 MB / 447.4 MB, free: 3.422 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00138/0.5781, allocations: 230.5 kB / 447.6 MB, free: 3.199 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007118/0.5852, allocations: 3.071 MB / 450.7 MB, free: 100 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001282/0.5865, allocations: 1.381 MB / 452.1 MB, free: 14.69 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003651/0.5869, allocations: 63.42 kB / 452.1 MB, free: 14.63 MB / 346.7 MB Notification: Performance of SimCode: time 2.695e-06/0.5869, allocations: 0 / 452.1 MB, free: 14.63 MB / 346.7 MB Notification: Performance of Templates: time 0.03742/0.6244, allocations: 21.06 MB / 473.2 MB, free: 9.562 MB / 362.7 MB