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.RectifierBridge2Pulse.DiodeBridge2Pulse.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.RectifierBridge2Pulse.DiodeBridge2Pulse,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.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadModel(Modelica): time 1.979/1.979, allocations: 194.8 MB / 211.7 MB, free: 2.984 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003703/0.0003705, allocations: 8 kB / 264 MB, free: 13.55 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08291/0.08332, allocations: 44.51 MB / 308.5 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3434/0.4268, allocations: 76.29 MB / 384.8 MB, free: 18.68 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/0.427, allocations: 87.34 kB / 384.8 MB, free: 18.68 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02504/0.4521, allocations: 7.05 MB / 391.9 MB, free: 17.8 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.462e-06/0.4521, allocations: 0 / 391.9 MB, free: 17.8 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.301e-05/0.4522, allocations: 15.56 kB / 391.9 MB, free: 17.79 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001187/0.4534, allocations: 0.6904 MB / 392.6 MB, free: 17.29 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.4534, allocations: 11.66 kB / 392.6 MB, free: 17.29 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/0.4536, allocations: 62.33 kB / 392.7 MB, free: 17.25 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005223/0.4541, allocations: 359 kB / 393 MB, free: 17 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.227e-05/0.4542, allocations: 30.47 kB / 393 MB, free: 17 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.148e-05/0.4543, allocations: 48.25 kB / 393.1 MB, free: 17 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009187/0.4552, allocations: 439.7 kB / 393.5 MB, free: 16.91 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.499e-05/0.4552, allocations: 3.938 kB / 393.5 MB, free: 16.9 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.664e-05/0.4553, allocations: 18.5 kB / 393.5 MB, free: 16.9 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.4553, allocations: 11.56 kB / 393.6 MB, free: 16.9 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007521/0.4561, allocations: 320.8 kB / 393.9 MB, free: 16.89 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002835/0.4589, allocations: 1.853 MB / 395.7 MB, free: 15.93 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008392/0.4598, allocations: 0.6053 MB / 396.3 MB, free: 15.62 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.286e-05/0.4599, allocations: 4.203 kB / 396.3 MB, free: 15.62 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005418/0.4604, allocations: 271.6 kB / 396.6 MB, free: 15.54 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 3.677e-06/0.4605, allocations: 0 / 396.6 MB, free: 15.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=43): time 0.002684/0.4632, allocations: 0.8358 MB / 397.4 MB, free: 15.36 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.4632, allocations: 82.11 kB / 397.5 MB, free: 15.27 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003599/0.4636, allocations: 281.8 kB / 397.8 MB, free: 15.16 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.907e-05/0.4637, allocations: 40.61 kB / 397.8 MB, free: 15.13 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.4638, allocations: 260.6 kB / 398.1 MB, free: 14.93 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.4639, allocations: 131.9 kB / 398.2 MB, free: 14.85 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.738e-05/0.464, allocations: 9.969 kB / 398.2 MB, free: 14.85 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.289e-05/0.464, allocations: 331.5 kB / 398.5 MB, free: 14.54 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002978/0.4643, allocations: 122.5 kB / 398.7 MB, free: 14.54 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003675/0.4647, allocations: 241.4 kB / 398.9 MB, free: 14.39 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003425/0.4651, allocations: 145.6 kB / 399 MB, free: 14.38 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.676e-06/0.4651, allocations: 0 / 399 MB, free: 14.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001077/0.4662, allocations: 0.4957 MB / 399.5 MB, free: 14.29 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.4662, allocations: 11.62 kB / 399.5 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.4662, allocations: 3.875 kB / 399.6 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005728/0.4668, allocations: 144.3 kB / 399.7 MB, free: 14.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002886/0.4671, allocations: 62.47 kB / 399.8 MB, free: 14.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003262/0.4704, allocations: 2.344 MB / 402.1 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004285/0.4709, allocations: 46.12 kB / 402.1 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.03e-05/0.4709, allocations: 19 kB / 402.2 MB, free: 12.84 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: 13 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 38 * 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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003283/0.4713, allocations: 179.8 kB / 402.3 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.073e-05/0.4714, allocations: 38.34 kB / 402.4 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001077/0.4715, allocations: 56.23 kB / 402.4 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.4715, allocations: 3.812 kB / 402.4 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.737e-06/0.4715, allocations: 0 / 402.4 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.237e-06/0.4716, allocations: 0 / 402.4 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001772/0.4733, allocations: 1.002 MB / 403.4 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.695e-06/0.4734, allocations: 7.875 kB / 403.4 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002653/0.4736, allocations: 33.86 kB / 403.5 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000561/0.4742, allocations: 147.3 kB / 403.6 MB, free: 12.33 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.859e-05/0.4743, allocations: 3.75 kB / 403.6 MB, free: 12.33 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003219/0.4775, allocations: 2.341 MB / 406 MB, free: 10.92 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.517e-06/0.4775, allocations: 0 / 406 MB, free: 10.92 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00155/0.4791, allocations: 0.7093 MB / 406.7 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002408/0.4794, allocations: 150 kB / 406.8 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.755e-05/0.4795, allocations: 18.42 kB / 406.8 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003236/0.4798, allocations: 18.19 kB / 406.9 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/0.48, allocations: 33.41 kB / 406.9 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-05/0.48, allocations: 16.58 kB / 406.9 MB, free: 10.62 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002941/0.4803, allocations: 219.4 kB / 407.1 MB, free: 10.54 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.15e-07/0.4803, allocations: 0 / 407.1 MB, free: 10.54 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000828/0.4812, allocations: 145.7 kB / 407.3 MB, free: 10.52 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.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 (26): * Single equations (assignments): 22 * 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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.000174/0.4814, allocations: 116 kB / 407.4 MB, free: 10.43 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001166/0.4825, allocations: 0.5314 MB / 407.9 MB, free: 10.28 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.676e-06/0.4826, allocations: 3.906 kB / 407.9 MB, free: 10.28 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006676/0.4832, allocations: 399.3 kB / 408.3 MB, free: 10.12 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005508/0.4838, allocations: 71.28 kB / 408.4 MB, free: 10.11 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001993/0.4858, allocations: 1.034 MB / 409.4 MB, free: 9.555 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.4861, allocations: 0.8367 MB / 410.2 MB, free: 8.855 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.4863, allocations: 38.64 kB / 410.3 MB, free: 8.844 MB / 314.7 MB Notification: Performance of SimCode: time 1.629e-06/0.4863, allocations: 3.938 kB / 410.3 MB, free: 8.84 MB / 314.7 MB Notification: Performance of Templates: time 0.01026/0.4966, allocations: 6.662 MB / 416.9 MB, free: 6.582 MB / 314.7 MB