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 2.083/2.083, allocations: 194.8 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003404/0.0003405, allocations: 8 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1217, allocations: 44.51 MB / 309.1 MB, free: 364 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4899/0.6116, allocations: 105.8 MB / 414.8 MB, free: 9.949 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003131/0.612, allocations: 96.78 kB / 414.9 MB, free: 9.934 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2431/0.8551, allocations: 53.34 MB / 468.3 MB, free: 3.84 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.476e-06/0.8552, allocations: 0 / 468.3 MB, free: 3.84 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002953/0.8555, allocations: 55.92 kB / 468.3 MB, free: 3.785 MB / 346.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.01277/0.8683, allocations: 2.612 MB / 470.9 MB, free: 1.285 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.8683, allocations: 8.031 kB / 470.9 MB, free: 1.277 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001531/0.8699, allocations: 276.8 kB / 471.2 MB, free: 1.004 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0046/0.8745, allocations: 1.354 MB / 472.6 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003272/0.8749, allocations: 240.9 kB / 472.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00114/0.876, allocations: 239.8 kB / 473 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007744/0.8838, allocations: 2.18 MB / 475.2 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-05/0.8839, allocations: 3.953 kB / 475.2 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003455/0.8843, allocations: 84 kB / 475.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.276e-05/0.8844, allocations: 48 kB / 475.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01239/0.8968, allocations: 1.924 MB / 477.3 MB, free: 10.78 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02382/0.9207, allocations: 7.904 MB / 485.2 MB, free: 2.637 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006695/0.9274, allocations: 2.104 MB / 487.3 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002199/0.9277, allocations: 22 kB / 487.3 MB, free: 488 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.697e-05/0.9278, allocations: 64.56 kB / 487.4 MB, free: 416 kB / 362.7 MB Notification: Performance of pre-optimization done (n=208): time 7.144e-06/0.9278, allocations: 3.984 kB / 487.4 MB, free: 412 kB / 362.7 MB Notification: Performance of matching and sorting (n=250): time 0.09977/1.028, allocations: 14.41 MB / 0.49 GB, free: 1.871 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002569/1.028, allocations: 397.8 kB / 0.4904 GB, free: 1.398 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003737/1.032, allocations: 1.506 MB / 0.4919 GB, free: 15.88 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006663/1.032, allocations: 69.7 kB / 0.4919 GB, free: 15.8 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001059/1.033, allocations: 0.8003 MB / 0.4927 GB, free: 15 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001529/1.035, allocations: 0.8354 MB / 0.4935 GB, free: 14.15 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002986/1.035, allocations: 44 kB / 0.4936 GB, free: 14.11 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003034/1.036, allocations: 394.7 kB / 0.4939 GB, free: 13.72 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004351/1.04, allocations: 1.008 MB / 0.4949 GB, free: 12.71 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004735/1.045, allocations: 1.234 MB / 0.4961 GB, free: 11.41 MB / 394.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.06268/1.107, allocations: 7.457 MB / 0.5034 GB, free: 3.887 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-05/1.108, allocations: 0 / 0.5034 GB, free: 3.887 MB / 394.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01481/1.122, allocations: 2.948 MB / 0.5063 GB, free: 0.875 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.01e-05/1.122, allocations: 8 kB / 0.5063 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-05/1.123, allocations: 7.984 kB / 0.5063 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002307/1.125, allocations: 356.9 kB / 0.5067 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007331/1.132, allocations: 0.55 MB / 0.5072 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02235/1.155, allocations: 10.1 MB / 0.5171 GB, free: 5.031 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005446/1.16, allocations: 136 kB / 0.5172 GB, free: 4.898 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006634/1.161, allocations: 88.02 kB / 0.5173 GB, free: 4.812 MB / 410.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: 7 * 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 (253): * Single equations (assignments): 241 * 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.002505/1.163, allocations: 469.3 kB / 0.5177 GB, free: 4.344 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001202/1.165, allocations: 205.5 kB / 0.5179 GB, free: 4.141 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02217/1.187, allocations: 3.442 MB / 0.5213 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-05/1.187, allocations: 28 kB / 0.5213 GB, free: 0.582 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.212e-05/1.187, allocations: 8 kB / 0.5213 GB, free: 0.5742 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-05/1.187, allocations: 19.88 kB / 0.5213 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2934/1.481, allocations: 6.312 MB / 0.5275 GB, free: 108.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.508e-05/1.481, allocations: 5.344 kB / 0.5275 GB, free: 108.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004404/1.485, allocations: 430 kB / 0.5279 GB, free: 108.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01094/1.496, allocations: 1.254 MB / 0.5291 GB, free: 108.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006658/1.497, allocations: 64.69 kB / 0.5292 GB, free: 108.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03124/1.528, allocations: 17.67 MB / 0.5464 GB, free: 96.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/1.528, allocations: 1.375 kB / 0.5464 GB, free: 96.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02397/1.552, allocations: 5.1 MB / 0.5514 GB, free: 96.17 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002652/1.555, allocations: 0.5352 MB / 0.552 GB, free: 96.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001129/1.556, allocations: 57.77 kB / 0.552 GB, free: 96.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005239/1.561, allocations: 150.2 kB / 0.5521 GB, free: 96.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001169/1.562, allocations: 205.8 kB / 0.5523 GB, free: 96.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003577/1.563, allocations: 72.78 kB / 0.5524 GB, free: 96.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003007/1.566, allocations: 1.026 MB / 0.5534 GB, free: 95.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.124e-06/1.566, allocations: 0 / 0.5534 GB, free: 95.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0061/1.572, allocations: 0.7176 MB / 0.5541 GB, free: 95.96 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 23 (transformer.core1.Hstat,transformer.core1.B,transformer.core2.Hstat,transformer.core2.B,transformer.core3.Hstat,transformer.core3.B,transformer.winding11.i,transformer.winding12.i,transformer.winding13.i,transformer.winding21.i,transformer.winding22.i,transformer.winding23.i,capacitor1.v,capacitor2.v,pdissStatAvg.x[1],pdissStatAvg.x[2],pdissEddyAvg.x[1],pdissEddyAvg.x[2],pdissCopAvg.x[1],pdissCopAvg.x[2],transformer.core3.MagRel,transformer.core2.MagRel,transformer.core1.MagRel) * 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 simulation (202): * Single equations (assignments): 193 * 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: 9 * 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: 6 {1 8,1 8,1 8,2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0013/1.573, allocations: 291.3 kB / 0.5544 GB, free: 95.87 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01291/1.586, allocations: 3.398 MB / 0.5577 GB, free: 94.31 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.124e-05/1.586, allocations: 3.75 kB / 0.5577 GB, free: 94.31 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009021/1.595, allocations: 2.636 MB / 0.5603 GB, free: 92.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004106/1.6, allocations: 324.2 kB / 0.5606 GB, free: 92.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01993/1.62, allocations: 6.371 MB / 0.5668 GB, free: 89.13 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001428/1.621, allocations: 1.61 MB / 0.5684 GB, free: 88.36 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002552/1.624, allocations: 295.1 kB / 0.5687 GB, free: 88.31 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001063/1.625, allocations: 159.9 kB / 0.5688 GB, free: 88.3 MB / 410.7 MB Notification: Performance of SimCode: time 1.613e-06/1.625, allocations: 0 / 0.5688 GB, free: 88.3 MB / 410.7 MB Notification: Performance of Templates: time 0.08805/1.713, allocations: 35.67 MB / 0.6037 GB, free: 74.68 MB / 410.7 MB