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.MultiPhase.Examples.Rectifier.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.MultiPhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier") Notification: Performance of loadModel(Modelica): time 1.863/1.863, allocations: 194.8 MB / 211.6 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003581/0.0003584, allocations: 12 kB / 263.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08075/0.08114, allocations: 44.5 MB / 308.3 MB, free: 1.039 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.004563/0.08575, allocations: 3.054 MB / 311.4 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002389/0.08818, allocations: 0.9792 MB / 312.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004971/0.08873, allocations: 15.88 kB / 312.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003303/0.08908, allocations: 103.4 kB / 312.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009037/0.09, allocations: 227.4 kB / 312.7 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003363/0.09035, allocations: 91.83 kB / 312.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001145/0.09152, allocations: 0.7756 MB / 313.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009196/0.09245, allocations: 0.5461 MB / 314.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006616/0.09314, allocations: 386.7 kB / 314.5 MB, free: 10.83 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007763/0.09393, allocations: 478.1 kB / 315 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001344/0.09408, allocations: 56 kB / 315 MB, free: 10.31 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002235/0.09432, allocations: 60 kB / 315.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000334/0.09468, allocations: 271.2 kB / 315.4 MB, free: 9.984 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002917/0.09498, allocations: 233.1 kB / 315.6 MB, free: 9.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001652/0.09665, allocations: 1.282 MB / 316.9 MB, free: 8.465 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.081e-06/0.09667, allocations: 0 / 316.9 MB, free: 8.465 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.467e-06/0.09668, allocations: 0 / 316.9 MB, free: 8.465 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.379e-05/0.09671, allocations: 0 / 316.9 MB, free: 8.465 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.002833/0.09956, allocations: 1.289 MB / 318.2 MB, free: 7.125 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.09962, allocations: 8.031 kB / 318.2 MB, free: 7.117 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002814/0.09991, allocations: 118.6 kB / 318.3 MB, free: 7 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001423/0.1014, allocations: 0.6779 MB / 319 MB, free: 6.281 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.204e-05/0.1015, allocations: 66 kB / 319 MB, free: 6.215 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002426/0.1017, allocations: 87.94 kB / 319.1 MB, free: 6.129 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00279/0.1045, allocations: 1.235 MB / 320.3 MB, free: 4.867 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.175e-05/0.1046, allocations: 3.938 kB / 320.3 MB, free: 4.863 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001229/0.1047, allocations: 32 kB / 320.4 MB, free: 4.832 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.678e-05/0.1048, allocations: 20 kB / 320.4 MB, free: 4.812 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002807/0.1076, allocations: 1.116 MB / 321.5 MB, free: 3.691 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007949/0.1156, allocations: 3.802 MB / 325.3 MB, free: 15.8 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002766/0.1184, allocations: 1.991 MB / 327.3 MB, free: 13.59 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.25e-05/0.1185, allocations: 12.66 kB / 327.3 MB, free: 13.57 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.241e-05/0.1185, allocations: 39.17 kB / 327.4 MB, free: 13.53 MB / 282.7 MB Notification: Performance of pre-optimization done (n=71): time 4.042e-06/0.1186, allocations: 0 / 327.4 MB, free: 13.53 MB / 282.7 MB Notification: Performance of matching and sorting (n=72): time 0.008887/0.1274, allocations: 3.349 MB / 330.7 MB, free: 10.06 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.742e-05/0.1275, allocations: 60.06 kB / 330.8 MB, free: 9.988 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001241/0.1288, allocations: 0.6827 MB / 331.4 MB, free: 9.297 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000105/0.1289, allocations: 41.7 kB / 331.5 MB, free: 9.25 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003883/0.1293, allocations: 422.5 kB / 331.9 MB, free: 8.832 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002815/0.1296, allocations: 236.5 kB / 332.1 MB, free: 8.598 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.793e-05/0.1297, allocations: 16 kB / 332.1 MB, free: 8.582 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.1299, allocations: 338.8 kB / 332.5 MB, free: 8.242 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008456/0.1308, allocations: 369 kB / 332.8 MB, free: 7.879 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008686/0.1316, allocations: 429.4 kB / 333.3 MB, free: 7.453 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008564/0.1325, allocations: 391 kB / 333.6 MB, free: 7.07 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.1325, allocations: 3.953 kB / 333.6 MB, free: 7.066 MB / 282.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002689/0.1352, allocations: 1.164 MB / 334.8 MB, free: 5.883 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/0.1353, allocations: 4 kB / 334.8 MB, free: 5.879 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.1353, allocations: 7.984 kB / 334.8 MB, free: 5.871 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001516/0.1369, allocations: 458.9 kB / 335.3 MB, free: 5.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005679/0.1374, allocations: 95.88 kB / 335.4 MB, free: 5.316 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0129/0.1504, allocations: 8.596 MB / 344 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005485/0.151, allocations: 36.56 kB / 344 MB, free: 12.15 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.099e-05/0.1511, allocations: 19.98 kB / 344 MB, free: 12.13 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0007799/0.1518, allocations: 397.6 kB / 344.4 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001937/0.152, allocations: 79.05 kB / 344.5 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002218/0.1523, allocations: 102.8 kB / 344.6 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.1523, allocations: 11.95 kB / 344.6 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.1523, allocations: 3.938 kB / 344.6 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.1524, allocations: 4.484 kB / 344.6 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005931/0.1583, allocations: 2.519 MB / 347.1 MB, free: 8.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.066e-06/0.1583, allocations: 0 / 347.1 MB, free: 8.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005166/0.1589, allocations: 91.95 kB / 347.2 MB, free: 8.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001431/0.1603, allocations: 451 kB / 347.6 MB, free: 8.387 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.011e-05/0.1604, allocations: 15.98 kB / 347.7 MB, free: 8.371 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01239/0.1728, allocations: 8.518 MB / 356.2 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.971e-06/0.1729, allocations: 0 / 356.2 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004025/0.1769, allocations: 1.874 MB / 358.1 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005788/0.1775, allocations: 232.2 kB / 358.3 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001314/0.1777, allocations: 16 kB / 358.3 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004869/0.1782, allocations: 35.97 kB / 358.3 MB, free: 13.11 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000242/0.1784, allocations: 76.44 kB / 358.4 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.095e-05/0.1785, allocations: 16 kB / 358.4 MB, free: 13.02 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008789/0.1794, allocations: 0.4987 MB / 358.9 MB, free: 12.52 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.43e-07/0.1794, allocations: 0 / 358.9 MB, free: 12.52 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001452/0.1809, allocations: 252 kB / 359.2 MB, free: 12.28 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (supplyL.inductor[2].i,supplyL.inductor[3].i,cDC1.v,cDC2.v) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 35 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002435/0.1812, allocations: 127.2 kB / 359.3 MB, free: 12.14 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003003/0.1842, allocations: 1.475 MB / 360.8 MB, free: 10.62 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.56e-06/0.1842, allocations: 4 kB / 360.8 MB, free: 10.61 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002121/0.1863, allocations: 1.099 MB / 361.9 MB, free: 9.457 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.1875, allocations: 198.7 kB / 362.1 MB, free: 9.258 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005186/0.1927, allocations: 2.627 MB / 364.7 MB, free: 6.602 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00126/0.194, allocations: 1.24 MB / 365.9 MB, free: 5.332 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002116/0.1943, allocations: 43.44 kB / 366 MB, free: 5.289 MB / 314.7 MB Notification: Performance of SimCode: time 1.746e-06/0.1943, allocations: 4 kB / 366 MB, free: 5.285 MB / 314.7 MB Notification: Performance of Templates: time 0.2415/0.4358, allocations: 29.71 MB / 395.7 MB, free: 46.27 MB / 314.7 MB