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.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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") Notification: Performance of loadModel(Modelica): time 2.042/2.042, allocations: 194.8 MB / 212.3 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003513/0.0003514, allocations: 8 kB / 264.5 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08933/0.08971, allocations: 44.5 MB / 309 MB, free: 1.031 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3848/0.4746, allocations: 75.29 MB / 384.3 MB, free: 18.89 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003151/0.475, allocations: 95.92 kB / 384.4 MB, free: 18.89 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02585/0.5008, allocations: 6.174 MB / 390.6 MB, free: 18.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5009, allocations: 0 / 390.6 MB, free: 18.11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.782e-05/0.5009, allocations: 7.781 kB / 390.6 MB, free: 18.11 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.001458/0.5024, allocations: 0.6505 MB / 391.2 MB, free: 17.62 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.5025, allocations: 11.88 kB / 391.2 MB, free: 17.62 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001666/0.5026, allocations: 58.66 kB / 391.3 MB, free: 17.58 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006243/0.5033, allocations: 332 kB / 391.6 MB, free: 17.34 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.008e-05/0.5033, allocations: 29.69 kB / 391.6 MB, free: 17.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.883e-05/0.5034, allocations: 33.91 kB / 391.7 MB, free: 17.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009791/0.5044, allocations: 387.6 kB / 392 MB, free: 17.26 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.83e-05/0.5045, allocations: 3.844 kB / 392 MB, free: 17.26 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.798e-05/0.5045, allocations: 14.81 kB / 392.1 MB, free: 17.26 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.5046, allocations: 11.73 kB / 392.1 MB, free: 17.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008124/0.5054, allocations: 261.1 kB / 392.3 MB, free: 17.24 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003/0.5084, allocations: 1.49 MB / 393.8 MB, free: 16.47 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006233/0.5091, allocations: 236.2 kB / 394 MB, free: 16.44 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.089e-05/0.5091, allocations: 4.078 kB / 394.1 MB, free: 16.44 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005581/0.5097, allocations: 227 kB / 394.3 MB, free: 16.37 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 2.815e-06/0.5097, allocations: 0 / 394.3 MB, free: 16.37 MB / 314.7 MB Notification: Performance of matching and sorting (n=31): time 0.002356/0.5121, allocations: 0.5957 MB / 394.9 MB, free: 16.19 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/0.5122, allocations: 80.98 kB / 394.9 MB, free: 16.1 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004181/0.5126, allocations: 294.3 kB / 395.2 MB, free: 15.98 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.296e-05/0.5127, allocations: 37.08 kB / 395.3 MB, free: 15.95 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.5129, allocations: 263.9 kB / 395.5 MB, free: 15.75 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.299e-05/0.513, allocations: 93.64 kB / 395.6 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.429e-05/0.513, allocations: 3.938 kB / 395.6 MB, free: 15.7 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.64e-05/0.5131, allocations: 328.8 kB / 395.9 MB, free: 15.38 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003217/0.5134, allocations: 93.95 kB / 396 MB, free: 15.38 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003594/0.5138, allocations: 212.3 kB / 396.2 MB, free: 15.24 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003589/0.5142, allocations: 124.4 kB / 396.4 MB, free: 15.22 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.5142, allocations: 0 / 396.4 MB, free: 15.22 MB / 314.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001041/0.5152, allocations: 390.5 kB / 396.7 MB, free: 15.14 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.5153, allocations: 10.44 kB / 396.8 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.5153, allocations: 3.938 kB / 396.8 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004549/0.5157, allocations: 88.95 kB / 396.8 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003936/0.5162, allocations: 63.03 kB / 396.9 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002326/0.5185, allocations: 1.823 MB / 398.7 MB, free: 13.74 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004463/0.519, allocations: 40.73 kB / 398.8 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.312e-05/0.519, allocations: 11.69 kB / 398.8 MB, free: 13.73 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.000297/0.5193, allocations: 177.1 kB / 399 MB, free: 13.6 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.912e-05/0.5194, allocations: 31.22 kB / 399 MB, free: 13.58 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.468e-05/0.5195, allocations: 42.94 kB / 399 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.5196, allocations: 6.859 kB / 399 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.5196, allocations: 0 / 399 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.5196, allocations: 0 / 399 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005508/0.5201, allocations: 404.7 kB / 399.4 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.5202, allocations: 10.62 kB / 399.4 MB, free: 13.37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003286/0.5205, allocations: 36.11 kB / 399.5 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003663/0.5209, allocations: 72.28 kB / 399.5 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/0.5209, allocations: 10.34 kB / 399.6 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002236/0.5232, allocations: 1.813 MB / 401.4 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.5232, allocations: 4.062 kB / 401.4 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001527/0.5248, allocations: 0.5153 MB / 401.9 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002014/0.525, allocations: 134.3 kB / 402 MB, free: 11.75 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.554e-05/0.5251, allocations: 5.875 kB / 402 MB, free: 11.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000295/0.5254, allocations: 16.36 kB / 402 MB, free: 11.75 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.5255, allocations: 23.34 kB / 402.1 MB, free: 11.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.118e-05/0.5256, allocations: 13.72 kB / 402.1 MB, free: 11.75 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002817/0.5259, allocations: 215.1 kB / 402.3 MB, free: 11.66 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5259, allocations: 0 / 402.3 MB, free: 11.66 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006584/0.5265, allocations: 114.9 kB / 402.4 MB, free: 11.64 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.000179/0.5267, allocations: 116.6 kB / 402.5 MB, free: 11.55 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001102/0.5278, allocations: 431.3 kB / 402.9 MB, free: 11.4 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.5279, allocations: 0 / 402.9 MB, free: 11.4 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006026/0.5285, allocations: 297.9 kB / 403.2 MB, free: 11.27 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004616/0.529, allocations: 51.67 kB / 403.3 MB, free: 11.27 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001727/0.5307, allocations: 0.8685 MB / 404.1 MB, free: 10.78 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.531, allocations: 0.8158 MB / 405 MB, free: 10.07 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/0.5312, allocations: 22.84 kB / 405 MB, free: 10.07 MB / 314.7 MB Notification: Performance of SimCode: time 2.094e-06/0.5312, allocations: 0 / 405 MB, free: 10.07 MB / 314.7 MB Notification: Performance of Templates: time 0.01151/0.5427, allocations: 5.695 MB / 410.7 MB, free: 9.184 MB / 314.7 MB