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.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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadModel(Modelica): time 2.22/2.22, allocations: 194.8 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003517/0.0003519, allocations: 8 kB / 264.6 MB, free: 12.91 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09607/0.09644, allocations: 44.5 MB / 309.1 MB, free: 352 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4379/0.5344, allocations: 78.08 MB / 387.1 MB, free: 15.39 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003571/0.5349, allocations: 93 kB / 387.2 MB, free: 15.39 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05354/0.5884, allocations: 13.4 MB / 400.6 MB, free: 13.51 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.5885, allocations: 0 / 400.6 MB, free: 13.51 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.862e-05/0.5886, allocations: 18.69 kB / 400.7 MB, free: 13.51 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.003367/0.592, allocations: 1.032 MB / 401.7 MB, free: 12.78 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/0.592, allocations: 8.906 kB / 401.7 MB, free: 12.78 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004492/0.5925, allocations: 94.56 kB / 401.8 MB, free: 12.73 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001582/0.5941, allocations: 0.6056 MB / 402.4 MB, free: 12.38 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.474e-05/0.5942, allocations: 48.72 kB / 402.4 MB, free: 12.37 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001605/0.5944, allocations: 69.19 kB / 402.5 MB, free: 12.37 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002215/0.5966, allocations: 0.9111 MB / 403.4 MB, free: 12.07 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.689e-05/0.5967, allocations: 3.906 kB / 403.4 MB, free: 12.07 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/0.5968, allocations: 31.16 kB / 403.5 MB, free: 12.06 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.584e-05/0.5969, allocations: 28.12 kB / 403.5 MB, free: 12.06 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002254/0.5991, allocations: 0.7679 MB / 404.3 MB, free: 11.93 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006519/0.6057, allocations: 2.817 MB / 407.1 MB, free: 10.46 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/0.6071, allocations: 0.7453 MB / 407.8 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.837e-05/0.6072, allocations: 4.297 kB / 407.8 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009356/0.6081, allocations: 371.5 kB / 408.2 MB, free: 9.918 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 3.546e-06/0.6082, allocations: 0 / 408.2 MB, free: 9.918 MB / 314.7 MB Notification: Performance of matching and sorting (n=43): time 0.004425/0.6126, allocations: 1.216 MB / 409.4 MB, free: 9.488 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.202e-05/0.6127, allocations: 88.78 kB / 409.5 MB, free: 9.391 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.6137, allocations: 0.5632 MB / 410 MB, free: 9.184 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001088/0.6139, allocations: 31.7 kB / 410.1 MB, free: 9.152 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003171/0.6142, allocations: 358.9 kB / 410.4 MB, free: 8.938 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/0.6144, allocations: 135.9 kB / 410.6 MB, free: 8.844 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.688e-05/0.6144, allocations: 5.625 kB / 410.6 MB, free: 8.844 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.6145, allocations: 368.1 kB / 410.9 MB, free: 8.512 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005966/0.6151, allocations: 231.1 kB / 411.2 MB, free: 8.465 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000631/0.6158, allocations: 345 kB / 411.5 MB, free: 8.281 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006271/0.6164, allocations: 253.2 kB / 411.7 MB, free: 8.238 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.6165, allocations: 4 kB / 411.7 MB, free: 8.234 MB / 314.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001945/0.6184, allocations: 0.7571 MB / 412.5 MB, free: 8.027 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.6185, allocations: 7.531 kB / 412.5 MB, free: 8.027 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.6185, allocations: 3.938 kB / 412.5 MB, free: 8.027 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007644/0.6193, allocations: 198.1 kB / 412.7 MB, free: 7.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005662/0.6198, allocations: 85.23 kB / 412.8 MB, free: 7.953 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004191/0.6241, allocations: 2.716 MB / 415.5 MB, free: 6.312 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007907/0.6249, allocations: 60.33 kB / 415.6 MB, free: 6.285 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.942e-05/0.625, allocations: 23.22 kB / 415.6 MB, free: 6.277 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.0007162/0.6257, allocations: 325.6 kB / 415.9 MB, free: 6.117 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.6259, allocations: 58.83 kB / 416 MB, free: 6.086 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001763/0.626, allocations: 66.61 kB / 416 MB, free: 6.066 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.6261, allocations: 11.61 kB / 416 MB, free: 6.062 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.6261, allocations: 0 / 416 MB, free: 6.062 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.6261, allocations: 3.984 kB / 416 MB, free: 6.059 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003338/0.6294, allocations: 1.516 MB / 417.6 MB, free: 5.465 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.6295, allocations: 4 kB / 417.6 MB, free: 5.461 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004572/0.63, allocations: 53.38 kB / 417.6 MB, free: 5.449 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006764/0.6307, allocations: 197.9 kB / 417.8 MB, free: 5.398 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.348e-05/0.6307, allocations: 7.547 kB / 417.8 MB, free: 5.395 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004057/0.6348, allocations: 2.715 MB / 420.5 MB, free: 3.734 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.6348, allocations: 3.953 kB / 420.5 MB, free: 3.73 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002497/0.6374, allocations: 1.112 MB / 421.6 MB, free: 3.395 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004396/0.6378, allocations: 197.9 kB / 421.8 MB, free: 3.25 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001402/0.638, allocations: 15.77 kB / 421.8 MB, free: 3.246 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005105/0.6385, allocations: 27.47 kB / 421.9 MB, free: 3.234 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001842/0.6387, allocations: 54.98 kB / 421.9 MB, free: 3.207 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.349e-05/0.6388, allocations: 15.44 kB / 421.9 MB, free: 3.207 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006854/0.6395, allocations: 410.9 kB / 422.3 MB, free: 3.062 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6395, allocations: 0 / 422.3 MB, free: 3.062 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009987/0.6405, allocations: 209.4 kB / 422.6 MB, free: 3.023 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.0002138/0.6407, allocations: 125.2 kB / 422.7 MB, free: 2.922 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002074/0.6428, allocations: 0.7275 MB / 423.4 MB, free: 2.68 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.6428, allocations: 0 / 423.4 MB, free: 2.68 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.6439, allocations: 485.9 kB / 423.9 MB, free: 2.477 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.645, allocations: 128.6 kB / 424 MB, free: 2.445 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004331/0.6494, allocations: 1.765 MB / 425.8 MB, free: 1.469 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006984/0.6501, allocations: 1.081 MB / 426.8 MB, free: 0.625 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005418/0.6507, allocations: 103.4 kB / 426.9 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001566/0.6509, allocations: 34.72 kB / 427 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of SimCode: time 1.142e-06/0.6509, allocations: 0 / 427 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of Templates: time 0.03708/0.688, allocations: 9.148 MB / 436.1 MB, free: 12.12 MB / 330.7 MB