Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.Rectifier.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.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_Modelica.Electrical.MultiPhase.Examples.Rectifier") Notification: Performance of loadModel(Modelica): time 2.018/2.018, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.0003508, allocations: 8 kB / 264.6 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09052/0.0909, allocations: 44.5 MB / 309.1 MB, free: 380 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.004907/0.09586, allocations: 3.054 MB / 312.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002339/0.09824, allocations: 0.9792 MB / 313.1 MB, free: 12.31 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002865/0.09856, allocations: 15.94 kB / 313.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003327/0.09891, allocations: 111.3 kB / 313.2 MB, free: 12.19 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008847/0.09981, allocations: 231.3 kB / 313.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003181/0.1001, allocations: 83.86 kB / 313.5 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00132/0.1015, allocations: 0.7678 MB / 314.3 MB, free: 11.11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001038/0.1025, allocations: 0.5461 MB / 314.8 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000648/0.1032, allocations: 390.6 kB / 315.2 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008754/0.1041, allocations: 470.2 kB / 315.7 MB, free: 9.703 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001734/0.1043, allocations: 60 kB / 315.7 MB, free: 9.645 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002389/0.1045, allocations: 63.94 kB / 315.8 MB, free: 9.582 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003549/0.1049, allocations: 267.2 kB / 316.1 MB, free: 9.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002879/0.1052, allocations: 229.1 kB / 316.3 MB, free: 9.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00172/0.1069, allocations: 1.29 MB / 317.6 MB, free: 7.797 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.107, allocations: 4 kB / 317.6 MB, free: 7.793 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.107, allocations: 0 / 317.6 MB, free: 7.793 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.143e-05/0.107, allocations: 0 / 317.6 MB, free: 7.793 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.003505/0.1105, allocations: 1.278 MB / 318.9 MB, free: 6.465 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.1106, allocations: 8.031 kB / 318.9 MB, free: 6.457 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003058/0.1109, allocations: 126.6 kB / 319 MB, free: 6.332 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001614/0.1125, allocations: 0.674 MB / 319.7 MB, free: 5.617 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.405e-05/0.1126, allocations: 69.94 kB / 319.7 MB, free: 5.547 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002174/0.1128, allocations: 84 kB / 319.8 MB, free: 5.465 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003065/0.1159, allocations: 1.227 MB / 321 MB, free: 4.211 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.783e-05/0.116, allocations: 0 / 321 MB, free: 4.211 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001367/0.1161, allocations: 40 kB / 321.1 MB, free: 4.172 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.322e-05/0.1162, allocations: 20 kB / 321.1 MB, free: 4.152 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00305/0.1192, allocations: 1.116 MB / 322.2 MB, free: 3.031 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008923/0.1282, allocations: 3.802 MB / 326 MB, free: 15.14 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002933/0.1311, allocations: 1.983 MB / 328 MB, free: 12.93 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.265e-05/0.1313, allocations: 8.641 kB / 328 MB, free: 12.93 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.729e-05/0.1313, allocations: 51.11 kB / 328.1 MB, free: 12.87 MB / 282.7 MB Notification: Performance of pre-optimization done (n=71): time 3.897e-06/0.1313, allocations: 0 / 328.1 MB, free: 12.87 MB / 282.7 MB Notification: Performance of matching and sorting (n=72): time 0.0105/0.1418, allocations: 3.349 MB / 331.4 MB, free: 9.398 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.1419, allocations: 60.06 kB / 331.5 MB, free: 9.328 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/0.1432, allocations: 0.6827 MB / 332.1 MB, free: 8.637 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.437e-05/0.1433, allocations: 41.7 kB / 332.2 MB, free: 8.59 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003927/0.1437, allocations: 408 kB / 332.6 MB, free: 8.184 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002649/0.144, allocations: 240.5 kB / 332.8 MB, free: 7.945 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.629e-05/0.1441, allocations: 12 kB / 332.8 MB, free: 7.934 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.1443, allocations: 382.8 kB / 333.2 MB, free: 7.551 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009805/0.1453, allocations: 365 kB / 333.6 MB, free: 7.191 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/0.1463, allocations: 421.5 kB / 334 MB, free: 6.773 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.1474, allocations: 395 kB / 334.4 MB, free: 6.387 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.1474, allocations: 0 / 334.4 MB, free: 6.387 MB / 282.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.003237/0.1506, allocations: 1.218 MB / 335.6 MB, free: 5.148 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/0.1507, allocations: 7.953 kB / 335.6 MB, free: 5.141 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.1507, allocations: 0 / 335.6 MB, free: 5.141 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001772/0.1525, allocations: 463 kB / 336 MB, free: 4.676 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000729/0.1532, allocations: 95.86 kB / 336.1 MB, free: 4.582 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01771/0.1709, allocations: 8.589 MB / 344.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/0.1721, allocations: 39.98 kB / 344.8 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.59e-05/0.1722, allocations: 20.16 kB / 344.8 MB, free: 11.4 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.001151/0.1733, allocations: 399.7 kB / 345.2 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002109/0.1736, allocations: 83.06 kB / 345.2 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002737/0.1739, allocations: 98.75 kB / 345.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.1739, allocations: 7.984 kB / 345.4 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.1739, allocations: 3.953 kB / 345.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005471/0.1745, allocations: 232.2 kB / 345.6 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000187/0.1747, allocations: 23.98 kB / 345.6 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006419/0.1753, allocations: 35.97 kB / 345.6 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002372/0.1756, allocations: 64.55 kB / 345.7 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005423/0.181, allocations: 1.55 MB / 347.3 MB, free: 8.867 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003778/0.1848, allocations: 1.612 MB / 348.9 MB, free: 7.234 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001136/0.186, allocations: 464.8 kB / 349.3 MB, free: 6.777 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001008/0.187, allocations: 0.4909 MB / 349.8 MB, free: 6.289 MB / 298.7 MB Notification: Performance of Backend: time 8.21e-07/0.187, allocations: 0 / 349.8 MB, free: 6.289 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002894/0.1899, allocations: 1.197 MB / 351 MB, free: 5.039 MB / 298.7 MB Notification: Performance of SimCode: time 0.005734/0.1957, allocations: 3.106 MB / 354.1 MB, free: 1.883 MB / 298.7 MB Notification: Performance of Templates: time 0.03648/0.2322, allocations: 13.64 MB / 367.8 MB, free: 4.289 MB / 314.7 MB