Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.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.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|PdissCopAvg.x.1.|PdissCopAvg.x.2.|PdissEddyAvg.x.1.|PdissEddyAvg.x.2.|PdissStatAvg.x.1.|PdissStatAvg.x.2.|TR3PhaseYy.CoreA.B|TR3PhaseYy.CoreA.Hstat|TR3PhaseYy.CoreA.MagRel|TR3PhaseYy.CoreB.B|TR3PhaseYy.CoreB.Hstat|TR3PhaseYy.CoreB.MagRel|TR3PhaseYy.CoreC.B|TR3PhaseYy.CoreC.Hstat|TR3PhaseYy.CoreC.MagRel|TR3PhaseYy.WA.i|TR3PhaseYy.WB.i|TR3PhaseYy.WC.i|TR3PhaseYy.Wa.i|TR3PhaseYy.Wb.i|TR3PhaseYy.Wc.i|capacitor1.v|capacitor2.v",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") Notification: Performance of loadModel(Modelica): time 1.91/1.91, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003289/0.0003289, allocations: 8 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08813/0.08848, allocations: 44.51 MB / 309.1 MB, free: 364 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01317/0.1017, allocations: 8.636 MB / 317.7 MB, free: 7.688 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0145/0.1163, allocations: 6.175 MB / 323.9 MB, free: 1.496 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0015/0.1178, allocations: 31.88 kB / 323.9 MB, free: 1.465 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001329/0.1192, allocations: 401.5 kB / 324.3 MB, free: 1.07 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003065/0.1222, allocations: 0.8958 MB / 325.2 MB, free: 176 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00695/0.1292, allocations: 1.754 MB / 327 MB, free: 14.42 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004934/0.1342, allocations: 2.121 MB / 329.1 MB, free: 12.29 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001222/0.1354, allocations: 0.5924 MB / 329.7 MB, free: 11.67 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001883/0.1373, allocations: 1.024 MB / 330.7 MB, free: 10.64 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002179/0.1395, allocations: 1.226 MB / 331.9 MB, free: 9.41 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004406/0.14, allocations: 144 kB / 332.1 MB, free: 9.27 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001294/0.1413, allocations: 371.6 kB / 332.4 MB, free: 8.906 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000697/0.142, allocations: 0.5255 MB / 333 MB, free: 8.379 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006453/0.1427, allocations: 476.4 kB / 333.4 MB, free: 7.906 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004235/0.1469, allocations: 2.98 MB / 336.4 MB, free: 4.918 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1469, allocations: 0 / 336.4 MB, free: 4.918 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.147, allocations: 4 kB / 336.4 MB, free: 4.914 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.709e-05/0.147, allocations: 0 / 336.4 MB, free: 4.914 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.01095/0.158, allocations: 2.658 MB / 339.1 MB, free: 2.195 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/0.1581, allocations: 8.031 kB / 339.1 MB, free: 2.188 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008422/0.1589, allocations: 276.8 kB / 339.3 MB, free: 1.914 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003276/0.1622, allocations: 1.303 MB / 340.6 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003163/0.1625, allocations: 233 kB / 340.9 MB, free: 320 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000959/0.1635, allocations: 239.8 kB / 341.1 MB, free: 80 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006372/0.1699, allocations: 2.16 MB / 343.3 MB, free: 13.84 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.873e-05/0.17, allocations: 0 / 343.3 MB, free: 13.84 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000302/0.1703, allocations: 84 kB / 343.3 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.546e-05/0.1704, allocations: 51.94 kB / 343.4 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006836/0.1772, allocations: 1.947 MB / 345.3 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01855/0.1958, allocations: 7.884 MB / 353.2 MB, free: 3.637 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006051/0.2019, allocations: 2.096 MB / 355.3 MB, free: 1.516 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001826/0.2021, allocations: 29.98 kB / 355.3 MB, free: 1.488 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.524e-05/0.2022, allocations: 68.55 kB / 355.4 MB, free: 1.414 MB / 298.7 MB Notification: Performance of pre-optimization done (n=208): time 5.711e-06/0.2022, allocations: 0 / 355.4 MB, free: 1.414 MB / 298.7 MB Notification: Performance of matching and sorting (n=250): time 0.1094/0.3116, allocations: 14.78 MB / 370.2 MB, free: 2.465 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002699/0.3119, allocations: 389.8 kB / 370.6 MB, free: 1.996 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004928/0.3169, allocations: 1.498 MB / 372.1 MB, free: 500 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006691/0.3176, allocations: 65.7 kB / 372.1 MB, free: 428 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2861/0.6037, allocations: 0.8133 MB / 372.9 MB, free: 61.29 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001243/0.605, allocations: 0.8394 MB / 373.8 MB, free: 60.84 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002953/0.6053, allocations: 45.97 kB / 373.8 MB, free: 60.84 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002111/0.6055, allocations: 395.8 kB / 374.2 MB, free: 60.54 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004096/0.6096, allocations: 1.013 MB / 375.2 MB, free: 60.53 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004343/0.614, allocations: 1.267 MB / 376.5 MB, free: 59.96 MB / 314.7 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.05677/0.6708, allocations: 7.48 MB / 384 MB, free: 57.95 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.915e-05/0.6709, allocations: 1.219 kB / 384 MB, free: 57.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.009359/0.6802, allocations: 2.968 MB / 386.9 MB, free: 56.72 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/0.6803, allocations: 3.969 kB / 387 MB, free: 56.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.906e-05/0.6803, allocations: 15.66 kB / 387 MB, free: 56.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001521/0.6819, allocations: 358.8 kB / 387.3 MB, free: 56.58 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004981/0.6869, allocations: 0.5489 MB / 387.9 MB, free: 56.53 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01031/0.6972, allocations: 10.1 MB / 398 MB, free: 47.05 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00358/0.7008, allocations: 133.4 kB / 398.1 MB, free: 46.99 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003043/0.7012, allocations: 92.61 kB / 398.2 MB, free: 46.95 MB / 314.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: transformer.H[1] = transformer.HStart[1] transformer.H[3] = transformer.HStart[3]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 9 (transformer.core1.asc,transformer.core2.asc,transformer.core3.asc,diode1.off,diode2.off,diode3.off,diode4.off,diode5.off,diode6.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (256): * Single equations (assignments): 244 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.001314/0.7025, allocations: 476.2 kB / 398.7 MB, free: 46.61 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006336/0.7031, allocations: 203.2 kB / 398.9 MB, free: 46.48 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01376/0.7169, allocations: 3.532 MB / 402.4 MB, free: 42.86 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-05/0.717, allocations: 15.95 kB / 402.4 MB, free: 42.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/0.717, allocations: 0 / 402.4 MB, free: 42.84 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001539/0.7186, allocations: 0.5294 MB / 402.9 MB, free: 42.29 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000742/0.7193, allocations: 65.48 kB / 403 MB, free: 42.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003439/0.7228, allocations: 151.9 kB / 403.1 MB, free: 42.08 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005373/0.7234, allocations: 173.8 kB / 403.3 MB, free: 41.91 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02385/0.7472, allocations: 4.092 MB / 407.4 MB, free: 37.8 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01896/0.7662, allocations: 4.394 MB / 411.8 MB, free: 33.31 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00553/0.7718, allocations: 1.199 MB / 413 MB, free: 32.09 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002428/0.7743, allocations: 1.025 MB / 414 MB, free: 31.07 MB / 314.7 MB Notification: Performance of Backend: time 8.22e-07/0.7743, allocations: 0 / 414 MB, free: 31.07 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.006985/0.7813, allocations: 2.579 MB / 416.6 MB, free: 28.41 MB / 314.7 MB Notification: Performance of SimCode: time 0.01087/0.7922, allocations: 6.671 MB / 423.3 MB, free: 21.69 MB / 314.7 MB Notification: Performance of Templates: time 0.09004/0.8823, allocations: 35.08 MB / 458.4 MB, free: 2.633 MB / 330.7 MB