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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.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.831/1.831, allocations: 194.9 MB / 211.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003626/0.0003628, allocations: 8 kB / 263.9 MB, free: 13.59 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1149, allocations: 44.51 MB / 308.4 MB, free: 1.008 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.005601/0.1206, allocations: 3.772 MB / 312.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003027/0.1236, allocations: 1.252 MB / 313.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000484/0.1242, allocations: 19.88 kB / 313.4 MB, free: 11.94 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003785/0.1246, allocations: 143.1 kB / 313.6 MB, free: 11.8 MB / 266.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5843:20-5843:43:writable] Warning: 'each' used when modifying non-array element diode_p. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5854:20-5854:43:writable] Warning: 'each' used when modifying non-array element diode_n. Notification: Performance of NFTyping.typeBindings: time 0.001159/0.1257, allocations: 287.2 kB / 313.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005085/0.1263, allocations: 135.7 kB / 314 MB, free: 11.38 MB / 266.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5843:20-5843:43:writable] Warning: 'each' used when modifying non-array element diode_p. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5854:20-5854:43:writable] Warning: 'each' used when modifying non-array element diode_n. Notification: Performance of NFFlatten.flatten: time 0.001885/0.1282, allocations: 0.9668 MB / 314.9 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00122/0.1294, allocations: 0.6741 MB / 315.6 MB, free: 9.719 MB / 266.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5843:20-5843:43:writable] Warning: 'each' used when modifying non-array element diode_p. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5854:20-5854:43:writable] Warning: 'each' used when modifying non-array element diode_n. Notification: Performance of NFEvalConstants.evaluate: time 0.0009223/0.1304, allocations: 478.2 kB / 316.1 MB, free: 9.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001077/0.1315, allocations: 0.6109 MB / 316.7 MB, free: 8.637 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001995/0.1317, allocations: 76 kB / 316.8 MB, free: 8.562 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002327/0.1319, allocations: 72 kB / 316.8 MB, free: 8.492 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004096/0.1324, allocations: 338.9 kB / 317.2 MB, free: 8.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004001/0.1328, allocations: 293 kB / 317.4 MB, free: 7.867 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002386/0.1352, allocations: 1.765 MB / 319.2 MB, free: 6.098 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.444e-06/0.1352, allocations: 4 kB / 319.2 MB, free: 6.094 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.465e-06/0.1352, allocations: 0 / 319.2 MB, free: 6.094 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.308e-05/0.1353, allocations: 0 / 319.2 MB, free: 6.094 MB / 266.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.003808/0.1391, allocations: 1.529 MB / 320.7 MB, free: 4.512 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/0.1392, allocations: 8.031 kB / 320.8 MB, free: 4.504 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004644/0.1397, allocations: 146.2 kB / 320.9 MB, free: 4.359 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002073/0.1418, allocations: 0.891 MB / 321.8 MB, free: 3.422 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/0.1419, allocations: 86.02 kB / 321.9 MB, free: 3.336 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002753/0.1422, allocations: 103.9 kB / 322 MB, free: 3.234 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004/0.1462, allocations: 1.545 MB / 323.5 MB, free: 1.633 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.935e-05/0.1463, allocations: 0 / 323.5 MB, free: 1.633 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001576/0.1465, allocations: 40 kB / 323.6 MB, free: 1.594 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.01e-05/0.1466, allocations: 50.02 kB / 323.6 MB, free: 1.543 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003841/0.1504, allocations: 1.444 MB / 325.1 MB, free: 92 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01034/0.1608, allocations: 4.953 MB / 330 MB, free: 10.96 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002447/0.1633, allocations: 1.461 MB / 331.5 MB, free: 9.379 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.169e-05/0.1634, allocations: 16.5 kB / 331.5 MB, free: 9.359 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001474/0.1649, allocations: 0.6161 MB / 332.1 MB, free: 8.727 MB / 282.7 MB Notification: Performance of pre-optimization done (n=72): time 4.497e-06/0.1649, allocations: 0 / 332.1 MB, free: 8.727 MB / 282.7 MB Notification: Performance of matching and sorting (n=72): time 0.008062/0.173, allocations: 2.412 MB / 334.5 MB, free: 6.281 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.859e-05/0.1731, allocations: 93.75 kB / 334.6 MB, free: 6.172 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001803/0.1749, allocations: 0.9304 MB / 335.5 MB, free: 5.227 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001559/0.1751, allocations: 37.7 kB / 335.6 MB, free: 5.184 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006016/0.1757, allocations: 0.5255 MB / 336.1 MB, free: 4.652 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003339/0.1761, allocations: 236.6 kB / 336.3 MB, free: 4.418 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.839e-05/0.1762, allocations: 20 kB / 336.3 MB, free: 4.398 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001991/0.1764, allocations: 338.8 kB / 336.7 MB, free: 4.059 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001072/0.1775, allocations: 421.7 kB / 337.1 MB, free: 3.645 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00128/0.1788, allocations: 0.5602 MB / 337.6 MB, free: 3.027 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00116/0.1799, allocations: 457.9 kB / 338.1 MB, free: 2.582 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.557e-06/0.18, allocations: 0 / 338.1 MB, free: 2.582 MB / 282.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003224/0.1832, allocations: 1.242 MB / 339.3 MB, free: 1.332 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.1833, allocations: 4 kB / 339.3 MB, free: 1.328 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/0.1833, allocations: 4 kB / 339.3 MB, free: 1.324 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001312/0.1846, allocations: 410.4 kB / 339.7 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000687/0.1853, allocations: 115.8 kB / 339.9 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008007/0.1934, allocations: 4.262 MB / 344.1 MB, free: 12.42 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007903/0.1942, allocations: 79.48 kB / 344.2 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.893e-05/0.1943, allocations: 28 kB / 344.2 MB, free: 12.31 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (59): * Single equations (assignments): 58 * 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.001012/0.1953, allocations: 495.1 kB / 344.7 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00023/0.1956, allocations: 98.88 kB / 344.8 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002863/0.1959, allocations: 120.5 kB / 344.9 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.362e-06/0.1959, allocations: 4 kB / 344.9 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.343e-06/0.1959, allocations: 128 / 344.9 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.542e-05/0.1959, allocations: 11.98 kB / 344.9 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005732/0.2017, allocations: 2.581 MB / 347.5 MB, free: 8.941 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.2017, allocations: 4 kB / 347.5 MB, free: 8.938 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006224/0.2024, allocations: 91.86 kB / 347.6 MB, free: 8.848 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001238/0.2036, allocations: 381.2 kB / 348 MB, free: 8.473 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001079/0.2037, allocations: 27.94 kB / 348 MB, free: 8.445 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007811/0.2116, allocations: 4.211 MB / 352.2 MB, free: 4.098 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.178e-06/0.2116, allocations: 0 / 352.2 MB, free: 4.098 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004578/0.2162, allocations: 1.982 MB / 354.2 MB, free: 2.09 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007026/0.217, allocations: 287.7 kB / 354.5 MB, free: 1.789 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00017/0.2171, allocations: 16 kB / 354.5 MB, free: 1.773 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005966/0.2178, allocations: 51.95 kB / 354.6 MB, free: 1.723 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002674/0.218, allocations: 80.47 kB / 354.6 MB, free: 1.645 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.546e-05/0.2181, allocations: 28.06 kB / 354.7 MB, free: 1.617 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001264/0.2194, allocations: 0.6629 MB / 355.3 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-07/0.2194, allocations: 4 kB / 355.3 MB, free: 0.957 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001376/0.2208, allocations: 339 kB / 355.7 MB, free: 0.625 MB / 298.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.0002532/0.2211, allocations: 131.1 kB / 355.8 MB, free: 500 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003249/0.2244, allocations: 1.287 MB / 357.1 MB, free: 15.19 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.588e-06/0.2244, allocations: 0 / 357.1 MB, free: 15.19 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00193/0.2263, allocations: 0.8146 MB / 357.9 MB, free: 14.36 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/0.2277, allocations: 227.2 kB / 358.1 MB, free: 14.14 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007077/0.2348, allocations: 3.077 MB / 361.2 MB, free: 11.03 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00153/0.2364, allocations: 1.373 MB / 362.6 MB, free: 9.625 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003488/0.2368, allocations: 63.42 kB / 362.6 MB, free: 9.562 MB / 314.7 MB Notification: Performance of SimCode: time 1.59e-06/0.2368, allocations: 3.938 kB / 362.6 MB, free: 9.559 MB / 314.7 MB Notification: Performance of Templates: time 0.2369/0.4737, allocations: 21.11 MB / 383.7 MB, free: 58.02 MB / 314.7 MB