Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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.Machines.Examples.Transformers.Rectifier12pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") Notification: Performance of loadModel(Modelica): time 2.115/2.115, allocations: 194.8 MB / 211.7 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003448/0.0003449, allocations: 8 kB / 264.6 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1006, allocations: 44.52 MB / 309.1 MB, free: 368 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.02151/0.1222, allocations: 8.9 MB / 318 MB, free: 7.422 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01027/0.1325, allocations: 3.255 MB / 321.2 MB, free: 4.16 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002249/0.1348, allocations: 63.62 kB / 321.3 MB, free: 4.098 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002952/0.1378, allocations: 0.5867 MB / 321.9 MB, free: 3.508 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005425/0.1433, allocations: 0.9386 MB / 322.8 MB, free: 2.566 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002227/0.1456, allocations: 307.6 kB / 323.1 MB, free: 2.266 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01036/0.156, allocations: 3.354 MB / 326.5 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009146/0.1652, allocations: 2.87 MB / 329.3 MB, free: 11.98 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005013/0.1703, allocations: 1.619 MB / 331 MB, free: 10.36 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006392/0.1767, allocations: 1.949 MB / 332.9 MB, free: 8.402 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001872/0.1787, allocations: 280 kB / 333.2 MB, free: 8.129 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003331/0.182, allocations: 343.8 kB / 333.5 MB, free: 7.793 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003321/0.1854, allocations: 1.145 MB / 334.7 MB, free: 6.645 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003132/0.1886, allocations: 0.9369 MB / 335.6 MB, free: 5.699 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01482/0.2035, allocations: 6.813 MB / 342.4 MB, free: 14.87 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.2036, allocations: 0 / 342.4 MB, free: 14.87 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.357e-06/0.2036, allocations: 0 / 342.4 MB, free: 14.87 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002664/0.2039, allocations: 4 kB / 342.4 MB, free: 14.86 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01954/0.2234, allocations: 4.292 MB / 346.7 MB, free: 10.5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.106e-05/0.2235, allocations: 8.031 kB / 346.7 MB, free: 10.49 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003807/0.2273, allocations: 0.5527 MB / 347.3 MB, free: 9.934 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01101/0.2384, allocations: 2.515 MB / 349.8 MB, free: 7.344 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005988/0.239, allocations: 295.8 kB / 350.1 MB, free: 7.055 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00218/0.2413, allocations: 384 kB / 350.4 MB, free: 6.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02219/0.2635, allocations: 5.731 MB / 356.2 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001032/0.2637, allocations: 7.938 kB / 356.2 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008459/0.2645, allocations: 160 kB / 356.3 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004376/0.265, allocations: 208 kB / 356.5 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02143/0.2864, allocations: 4.997 MB / 361.5 MB, free: 11.47 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3471/0.6335, allocations: 16.5 MB / 378 MB, free: 38.41 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009812/0.6434, allocations: 6.801 MB / 384.8 MB, free: 34.93 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004763/0.6439, allocations: 133.9 kB / 385 MB, free: 34.83 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.375e-05/0.644, allocations: 64.69 kB / 385 MB, free: 34.79 MB / 314.7 MB Notification: Performance of pre-optimization done (n=249): time 6.242e-06/0.644, allocations: 0 / 385 MB, free: 34.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=256): time 0.03003/0.6741, allocations: 10.79 MB / 395.8 MB, free: 32.89 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.6741, allocations: 79.92 kB / 395.9 MB, free: 32.82 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004727/0.6789, allocations: 2.611 MB / 398.5 MB, free: 32.59 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003941/0.6793, allocations: 67.95 kB / 398.6 MB, free: 32.56 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001169/0.6805, allocations: 1.637 MB / 400.2 MB, free: 31.35 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008231/0.6813, allocations: 0.8425 MB / 401.1 MB, free: 30.62 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001866/0.6815, allocations: 47.88 kB / 401.1 MB, free: 30.59 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.6817, allocations: 402.3 kB / 401.5 MB, free: 30.21 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003114/0.6848, allocations: 1.351 MB / 402.9 MB, free: 29.5 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003135/0.688, allocations: 1.661 MB / 404.5 MB, free: 28.45 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003261/0.6912, allocations: 1.588 MB / 406.1 MB, free: 27.58 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.228e-06/0.6913, allocations: 3.688 kB / 406.1 MB, free: 27.58 MB / 314.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.01049/0.7018, allocations: 4.48 MB / 410.6 MB, free: 24.16 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.001e-05/0.7018, allocations: 8 kB / 410.6 MB, free: 24.15 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.367e-05/0.7019, allocations: 7.297 kB / 410.6 MB, free: 24.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008712/0.7106, allocations: 1.648 MB / 412.2 MB, free: 22.49 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002771/0.7134, allocations: 393.8 kB / 412.6 MB, free: 22.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03144/0.7448, allocations: 23.89 MB / 436.5 MB, free: 13.06 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002984/0.7478, allocations: 104 kB / 436.6 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002581/0.7481, allocations: 80 kB / 436.7 MB, free: 12.88 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (198): * Single equations (assignments): 188 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9,(2,100.0%) 29} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.003315/0.7515, allocations: 1.404 MB / 438.1 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009191/0.7524, allocations: 296.5 kB / 438.4 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01249/0.7649, allocations: 4.407 MB / 442.8 MB, free: 6.742 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.322e-05/0.765, allocations: 11.95 kB / 442.8 MB, free: 6.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.258e-06/0.765, allocations: 8 kB / 442.8 MB, free: 6.723 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00245/0.7674, allocations: 0.6967 MB / 443.5 MB, free: 6.004 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007749/0.7682, allocations: 48 kB / 443.6 MB, free: 5.957 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002479/0.7707, allocations: 135.9 kB / 443.7 MB, free: 5.824 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006304/0.7714, allocations: 205.7 kB / 443.9 MB, free: 5.621 MB / 330.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01646/0.7879, allocations: 4.907 MB / 448.8 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01255/0.8005, allocations: 5.299 MB / 454.1 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003745/0.8042, allocations: 1.581 MB / 455.7 MB, free: 9.723 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.004386/0.8087, allocations: 1.829 MB / 457.5 MB, free: 7.883 MB / 346.7 MB Notification: Performance of Backend: time 7.82e-07/0.8087, allocations: 0 / 457.5 MB, free: 7.883 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.009978/0.8187, allocations: 3.751 MB / 461.3 MB, free: 4.043 MB / 346.7 MB Notification: Performance of SimCode: time 0.02545/0.8442, allocations: 10.57 MB / 471.8 MB, free: 9.438 MB / 362.7 MB Notification: Performance of Templates: time 0.2016/1.046, allocations: 55.09 MB / 0.5146 GB, free: 2.43 MB / 410.7 MB