Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_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_cpp_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.927/1.927, allocations: 194.8 MB / 211.7 MB, free: 2.98 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003527/0.0003526, allocations: 8 kB / 264 MB, free: 13.46 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09313/0.09351, allocations: 44.5 MB / 308.5 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4386/0.5322, allocations: 105.8 MB / 414.3 MB, free: 9.344 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/0.5325, allocations: 87.52 kB / 414.4 MB, free: 9.332 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2373/0.7698, allocations: 53.32 MB / 467.7 MB, free: 3.965 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.7699, allocations: 0 / 467.7 MB, free: 3.965 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002814/0.7702, allocations: 63.92 kB / 467.8 MB, free: 3.902 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.01249/0.7827, allocations: 2.598 MB / 470.4 MB, free: 1.422 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.7828, allocations: 8.031 kB / 470.4 MB, free: 1.414 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001298/0.7841, allocations: 281.4 kB / 470.7 MB, free: 1.254 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001555/0.7857, allocations: 280.8 kB / 471 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005187/0.7909, allocations: 1.356 MB / 472.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003825/0.7913, allocations: 237 kB / 472.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001401/0.7927, allocations: 243.6 kB / 472.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008283/0.801, allocations: 2.176 MB / 475 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.286e-05/0.8012, allocations: 3.938 kB / 475 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004096/0.8016, allocations: 84 kB / 475 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.086e-05/0.8016, allocations: 52 kB / 475.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008561/0.8102, allocations: 1.931 MB / 477 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02346/0.8337, allocations: 7.896 MB / 484.9 MB, free: 2.703 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006791/0.8406, allocations: 2.111 MB / 487 MB, free: 0.5586 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002234/0.8408, allocations: 22 kB / 487.1 MB, free: 0.5391 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.504e-05/0.8409, allocations: 60.56 kB / 487.1 MB, free: 484 kB / 362.7 MB Notification: Performance of pre-optimization done (n=208): time 4.749e-06/0.8409, allocations: 0 / 487.1 MB, free: 484 kB / 362.7 MB Notification: Performance of matching and sorting (n=250): time 0.09777/0.9387, allocations: 14.42 MB / 0.4898 GB, free: 1.926 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002578/0.939, allocations: 397.8 kB / 0.4902 GB, free: 1.449 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003556/0.9426, allocations: 1.335 MB / 0.4915 GB, free: 112 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006394/0.9432, allocations: 73.64 kB / 0.4915 GB, free: 32 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008705/0.9441, allocations: 0.7579 MB / 0.4923 GB, free: 15.27 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001467/0.9456, allocations: 0.8354 MB / 0.4931 GB, free: 14.42 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002751/0.9459, allocations: 52 kB / 0.4931 GB, free: 14.37 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002666/0.9462, allocations: 395.6 kB / 0.4935 GB, free: 13.97 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004184/0.9504, allocations: 1.004 MB / 0.4945 GB, free: 12.96 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004635/0.955, allocations: 1.242 MB / 0.4957 GB, free: 11.66 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.05245/1.008, allocations: 7 MB / 0.5025 GB, free: 4.594 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.295e-05/1.008, allocations: 4 kB / 0.5025 GB, free: 4.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01142/1.019, allocations: 2.84 MB / 0.5053 GB, free: 1.688 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.121e-05/1.019, allocations: 4 kB / 0.5053 GB, free: 1.684 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.563e-05/1.019, allocations: 7.984 kB / 0.5053 GB, free: 1.676 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001676/1.021, allocations: 352.9 kB / 0.5057 GB, free: 1.312 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005385/1.026, allocations: 0.5461 MB / 0.5062 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01361/1.04, allocations: 10.11 MB / 0.5161 GB, free: 5.844 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003926/1.044, allocations: 139.9 kB / 0.5162 GB, free: 5.707 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006199/1.045, allocations: 87.95 kB / 0.5163 GB, free: 5.621 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.002015/1.047, allocations: 470.1 kB / 0.5167 GB, free: 5.152 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008562/1.047, allocations: 201.6 kB / 0.5169 GB, free: 4.953 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01577/1.063, allocations: 3.454 MB / 0.5203 GB, free: 1.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.464e-05/1.063, allocations: 28 kB / 0.5203 GB, free: 1.383 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.04e-05/1.063, allocations: 8 kB / 0.5203 GB, free: 1.375 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-05/1.063, allocations: 11.95 kB / 0.5204 GB, free: 1.363 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2866/1.35, allocations: 6.313 MB / 0.5265 GB, free: 108.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.212e-05/1.35, allocations: 4.688 kB / 0.5265 GB, free: 108.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004256/1.354, allocations: 427.5 kB / 0.5269 GB, free: 108.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01109/1.366, allocations: 1.255 MB / 0.5282 GB, free: 108 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006516/1.366, allocations: 67.73 kB / 0.5282 GB, free: 108 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03101/1.397, allocations: 17.67 MB / 0.5455 GB, free: 96.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/1.397, allocations: 1.375 kB / 0.5455 GB, free: 96.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.021/1.418, allocations: 5.149 MB / 0.5505 GB, free: 95.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001904/1.42, allocations: 0.5248 MB / 0.551 GB, free: 95.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008226/1.421, allocations: 55.38 kB / 0.5511 GB, free: 95.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003916/1.425, allocations: 156.9 kB / 0.5512 GB, free: 95.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001092/1.426, allocations: 204.7 kB / 0.5514 GB, free: 95.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003608/1.427, allocations: 70.03 kB / 0.5515 GB, free: 95.36 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002412/1.429, allocations: 1.039 MB / 0.5525 GB, free: 95.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.81e-07/1.429, allocations: 0 / 0.5525 GB, free: 95.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004509/1.434, allocations: 0.711 MB / 0.5532 GB, free: 95.25 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.02167/1.455, allocations: 6.089 MB / 0.5591 GB, free: 92.99 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01248/1.468, allocations: 3.4 MB / 0.5625 GB, free: 91.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/1.468, allocations: 0 / 0.5625 GB, free: 91.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008312/1.476, allocations: 2.627 MB / 0.565 GB, free: 89.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003761/1.48, allocations: 328.9 kB / 0.5653 GB, free: 89.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02328/1.503, allocations: 8.314 MB / 0.5735 GB, free: 84.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001868/1.505, allocations: 1.608 MB / 0.575 GB, free: 83.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003203/1.508, allocations: 0.912 MB / 0.5759 GB, free: 83.01 MB / 410.7 MB Notification: Performance of SimCode: time 1.252e-06/1.508, allocations: 0 / 0.5759 GB, free: 83.01 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.379/5.887, allocations: 99.69 MB / 0.6733 GB, free: 2.547 MB / 410.7 MB