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: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.088/2.088, allocations: 194.9 MB / 211.1 MB, free: 8.562 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003524/0.0003526, allocations: 8 kB / 264.1 MB, free: 3.473 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.2989, allocations: 44.5 MB / 308.6 MB, free: 12.67 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1835/0.4824, allocations: 105.8 MB / 414.4 MB, free: 2.711 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003286/0.4828, allocations: 91.94 kB / 414.5 MB, free: 2.621 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.478/0.9608, allocations: 53.32 MB / 467.8 MB, free: 58.08 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.977e-06/0.9609, allocations: 3.984 kB / 467.8 MB, free: 58.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001808/0.9611, allocations: 55.98 kB / 467.8 MB, free: 58.02 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.01131/0.9724, allocations: 2.608 MB / 470.4 MB, free: 55.35 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.9725, allocations: 15.97 kB / 470.5 MB, free: 55.33 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001138/0.9736, allocations: 274.4 kB / 470.7 MB, free: 55.05 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009821/0.9746, allocations: 276.8 kB / 471 MB, free: 54.78 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003945/0.9786, allocations: 1.362 MB / 472.4 MB, free: 53.37 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002437/0.9789, allocations: 237 kB / 472.6 MB, free: 53.12 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009753/0.9799, allocations: 243.7 kB / 472.8 MB, free: 52.88 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006481/0.9864, allocations: 2.176 MB / 475 MB, free: 50.61 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.397e-05/0.9865, allocations: 7.938 kB / 475 MB, free: 50.61 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003205/0.9868, allocations: 84 kB / 475.1 MB, free: 50.52 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-05/0.9869, allocations: 48 kB / 475.1 MB, free: 50.48 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006788/0.9937, allocations: 1.924 MB / 477.1 MB, free: 48.55 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01971/1.013, allocations: 7.908 MB / 485 MB, free: 40.4 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006026/1.02, allocations: 2.1 MB / 487.1 MB, free: 38.27 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002383/1.02, allocations: 22 kB / 487.1 MB, free: 38.25 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.409e-05/1.02, allocations: 68.5 kB / 487.2 MB, free: 38.18 MB / 346.7 MB Notification: Performance of pre-optimization done (n=208): time 5.791e-06/1.02, allocations: 0 / 487.2 MB, free: 38.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=250): time 0.09464/1.115, allocations: 14.42 MB / 0.4898 GB, free: 23.63 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001406/1.115, allocations: 397.7 kB / 0.4902 GB, free: 23.16 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003213/1.118, allocations: 1.339 MB / 0.4915 GB, free: 21.81 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000621/1.119, allocations: 69.7 kB / 0.4916 GB, free: 21.74 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007796/1.119, allocations: 0.8003 MB / 0.4923 GB, free: 20.93 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001156/1.121, allocations: 0.8393 MB / 0.4932 GB, free: 20.08 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003007/1.121, allocations: 52 kB / 0.4932 GB, free: 20.03 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001837/1.121, allocations: 390.7 kB / 0.4936 GB, free: 19.64 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004013/1.125, allocations: 1.004 MB / 0.4946 GB, free: 18.63 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004411/1.13, allocations: 1.238 MB / 0.4958 GB, free: 17.34 MB / 346.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.05602/1.186, allocations: 7.449 MB / 0.5031 GB, free: 9.816 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.436e-05/1.186, allocations: 0 / 0.5031 GB, free: 9.816 MB / 346.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01121/1.197, allocations: 2.956 MB / 0.5059 GB, free: 6.797 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.186e-05/1.197, allocations: 4 kB / 0.5059 GB, free: 6.793 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.416e-05/1.197, allocations: 8 kB / 0.506 GB, free: 6.785 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001617/1.199, allocations: 356.9 kB / 0.5063 GB, free: 6.418 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005294/1.204, allocations: 0.55 MB / 0.5068 GB, free: 5.867 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01258/1.217, allocations: 10.1 MB / 0.5167 GB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004103/1.221, allocations: 144 kB / 0.5168 GB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007244/1.222, allocations: 84.03 kB / 0.5169 GB, free: 10.74 MB / 362.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.002162/1.224, allocations: 465.3 kB / 0.5174 GB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008821/1.225, allocations: 209.5 kB / 0.5176 GB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0163/1.241, allocations: 3.454 MB / 0.5209 GB, free: 6.527 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-05/1.241, allocations: 24 kB / 0.5209 GB, free: 6.504 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.709e-05/1.241, allocations: 4 kB / 0.521 GB, free: 6.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.902e-05/1.241, allocations: 19.94 kB / 0.521 GB, free: 6.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02775/1.269, allocations: 6.322 MB / 0.5271 GB, free: 12 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-05/1.269, allocations: 4 kB / 0.5271 GB, free: 8 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004518/1.274, allocations: 427.5 kB / 0.5276 GB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01143/1.285, allocations: 1.256 MB / 0.5288 GB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006708/1.286, allocations: 63.97 kB / 0.5288 GB, free: 14.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03571/1.322, allocations: 17.67 MB / 0.5461 GB, free: 11.35 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.322, allocations: 0 / 0.5461 GB, free: 11.35 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02304/1.345, allocations: 5.153 MB / 0.5511 GB, free: 6.059 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002243/1.347, allocations: 0.5295 MB / 0.5517 GB, free: 5.508 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008621/1.348, allocations: 56 kB / 0.5517 GB, free: 5.453 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004021/1.352, allocations: 147.9 kB / 0.5518 GB, free: 5.309 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001152/1.353, allocations: 213.7 kB / 0.5521 GB, free: 5.098 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005914/1.354, allocations: 71.98 kB / 0.5521 GB, free: 5.027 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003049/1.357, allocations: 1.029 MB / 0.5531 GB, free: 4 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.212e-06/1.357, allocations: 0 / 0.5531 GB, free: 4 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004774/1.362, allocations: 0.7069 MB / 0.5538 GB, free: 3.293 MB / 394.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.293/1.655, allocations: 6.072 MB / 0.5597 GB, free: 101.2 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.009959/1.665, allocations: 3.403 MB / 0.5631 GB, free: 100.4 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/1.665, allocations: 0 / 0.5631 GB, free: 100.4 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006656/1.671, allocations: 2.628 MB / 0.5656 GB, free: 99.32 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003151/1.675, allocations: 331.4 kB / 0.5659 GB, free: 99.31 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01914/1.694, allocations: 8.224 MB / 0.574 GB, free: 95.35 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001698/1.696, allocations: 1.612 MB / 0.5756 GB, free: 94.59 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002585/1.698, allocations: 301.3 kB / 0.5758 GB, free: 94.54 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002489/1.701, allocations: 0.8973 MB / 0.5767 GB, free: 94.53 MB / 394.7 MB Notification: Performance of SimCode: time 1.272e-06/1.701, allocations: 0 / 0.5767 GB, free: 94.53 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1248/1.826, allocations: 52.66 MB / 0.6281 GB, free: 64.85 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00023/1.826, allocations: 257.1 kB / 0.6284 GB, free: 64.51 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.347/7.173, allocations: 0 / 0.6284 GB, free: 64.51 MB / 394.7 MB