Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") Notification: Performance of loadModel(Modelica): time 1.678/1.678, allocations: 171.2 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003452/0.0003452, allocations: 12 kB / 233.9 MB, free: 2.387 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07867/0.07904, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01499/0.09408, allocations: 8.887 MB / 281.5 MB, free: 2.605 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.009074/0.1032, allocations: 3.231 MB / 284.8 MB, free: 15.37 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002091/0.1054, allocations: 71.62 kB / 284.8 MB, free: 15.3 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002548/0.1079, allocations: 0.579 MB / 285.4 MB, free: 14.71 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004287/0.1123, allocations: 0.9503 MB / 286.4 MB, free: 13.76 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001752/0.1141, allocations: 303.6 kB / 286.6 MB, free: 13.46 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.007276/0.1214, allocations: 3.365 MB / 290 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005889/0.1273, allocations: 2.882 MB / 292.9 MB, free: 7.156 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00356/0.1309, allocations: 1.612 MB / 294.5 MB, free: 5.539 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004538/0.1355, allocations: 1.957 MB / 296.5 MB, free: 3.574 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001187/0.1368, allocations: 276 kB / 296.7 MB, free: 3.305 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001938/0.1387, allocations: 339.9 kB / 297.1 MB, free: 2.973 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001709/0.1405, allocations: 1.145 MB / 298.2 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001805/0.1423, allocations: 0.9447 MB / 299.2 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2356/0.3779, allocations: 6.82 MB / 306 MB, free: 14 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3779, allocations: 0 / 306 MB, free: 14 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.056e-06/0.378, allocations: 0 / 306 MB, free: 14 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0003051/0.3783, allocations: 0 / 306 MB, free: 14 MB / 250.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.01648/0.3948, allocations: 4.299 MB / 310.3 MB, free: 11.59 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.3948, allocations: 8.781 kB / 310.3 MB, free: 11.59 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00366/0.3985, allocations: 0.5495 MB / 310.8 MB, free: 11.33 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008149/0.4067, allocations: 2.516 MB / 313.3 MB, free: 10.46 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003519/0.4071, allocations: 296 kB / 313.6 MB, free: 10.46 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001752/0.4089, allocations: 384.4 kB / 314 MB, free: 10.46 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01837/0.4273, allocations: 5.732 MB / 319.7 MB, free: 9.035 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001868/0.4275, allocations: 3.562 kB / 319.7 MB, free: 9.035 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001703/0.4292, allocations: 162.6 kB / 319.9 MB, free: 9.035 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002847/0.4296, allocations: 210.2 kB / 320.1 MB, free: 9.004 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01618/0.4457, allocations: 4.987 MB / 325.1 MB, free: 7.941 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04742/0.4932, allocations: 16.52 MB / 341.6 MB, free: 8.094 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01165/0.5049, allocations: 6.806 MB / 348.4 MB, free: 0.75 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005823/0.5056, allocations: 140.5 kB / 348.6 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.873e-05/0.5057, allocations: 60.56 kB / 348.6 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of pre-optimization done (n=249): time 6.302e-06/0.5057, allocations: 0 / 348.6 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of matching and sorting (n=256): time 0.03782/0.5435, allocations: 10.78 MB / 359.4 MB, free: 5.555 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.039e-05/0.5436, allocations: 89.42 kB / 359.5 MB, free: 5.453 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006871/0.5505, allocations: 2.613 MB / 362.1 MB, free: 2.82 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006118/0.5512, allocations: 65.7 kB / 362.2 MB, free: 2.75 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00193/0.5531, allocations: 1.635 MB / 363.8 MB, free: 1.098 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001467/0.5546, allocations: 0.8454 MB / 364.6 MB, free: 268 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002535/0.5549, allocations: 48 kB / 364.7 MB, free: 220 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000304/0.5552, allocations: 398.7 kB / 365.1 MB, free: 15.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003975/0.5592, allocations: 1.363 MB / 366.4 MB, free: 14.46 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004463/0.5637, allocations: 1.651 MB / 368.1 MB, free: 12.71 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004703/0.5685, allocations: 1.592 MB / 369.7 MB, free: 11.11 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.32e-05/0.5685, allocations: 0 / 369.7 MB, free: 11.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.01478/0.5833, allocations: 4.491 MB / 374.2 MB, free: 6.605 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.501e-05/0.5834, allocations: 8 kB / 374.2 MB, free: 6.598 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.55e-05/0.5834, allocations: 4 kB / 374.2 MB, free: 6.594 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01006/0.5935, allocations: 1.657 MB / 375.8 MB, free: 4.926 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003285/0.5968, allocations: 385.7 kB / 376.2 MB, free: 4.566 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04206/0.6389, allocations: 23.89 MB / 400.1 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003658/0.6426, allocations: 98.55 kB / 400.2 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007203/0.6434, allocations: 76 kB / 400.3 MB, free: 11.32 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.004657/0.6481, allocations: 1.411 MB / 401.7 MB, free: 9.922 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001222/0.6493, allocations: 300.5 kB / 402 MB, free: 9.625 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01458/0.6639, allocations: 4.42 MB / 406.4 MB, free: 5.164 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.951e-05/0.6641, allocations: 11.95 kB / 406.4 MB, free: 5.152 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.228e-06/0.6641, allocations: 4 kB / 406.4 MB, free: 5.148 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002979/0.6671, allocations: 0.6927 MB / 407.1 MB, free: 4.434 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001253/0.6684, allocations: 59.98 kB / 407.2 MB, free: 4.375 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003497/0.6719, allocations: 127.9 kB / 407.3 MB, free: 4.25 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009457/0.6729, allocations: 213.6 kB / 407.5 MB, free: 4.039 MB / 330.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01768/0.6906, allocations: 4.904 MB / 412.4 MB, free: 15.12 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01424/0.7048, allocations: 5.297 MB / 417.7 MB, free: 9.738 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004739/0.7096, allocations: 1.579 MB / 419.3 MB, free: 8.145 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.007792/0.7175, allocations: 1.837 MB / 421.1 MB, free: 6.297 MB / 346.7 MB Notification: Performance of Backend: time 1.763e-06/0.7176, allocations: 4 kB / 421.1 MB, free: 6.293 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01595/0.7335, allocations: 3.763 MB / 424.9 MB, free: 2.438 MB / 346.7 MB Notification: Performance of SimCode: time 0.03642/0.77, allocations: 10.58 MB / 435.5 MB, free: 7.812 MB / 362.7 MB Notification: Performance of Templates: time 0.4211/1.191, allocations: 55.08 MB / 490.6 MB, free: 91.38 MB / 362.7 MB