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/2, allocations: 194.9 MB / 211.1 MB, free: 7.602 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003571/0.0003573, allocations: 11.98 kB / 264.1 MB, free: 2.512 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2939, allocations: 44.5 MB / 308.6 MB, free: 12.67 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01413/0.308, allocations: 8.645 MB / 317.2 MB, free: 3.996 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01581/0.3239, allocations: 6.175 MB / 323.4 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002063/0.326, allocations: 35.81 kB / 323.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001556/0.3276, allocations: 401.6 kB / 323.8 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003785/0.3314, allocations: 0.8919 MB / 324.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007659/0.3391, allocations: 1.75 MB / 326.5 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005525/0.3446, allocations: 2.129 MB / 328.6 MB, free: 8.594 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001445/0.3461, allocations: 0.5808 MB / 329.2 MB, free: 7.984 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002222/0.3484, allocations: 1.032 MB / 330.2 MB, free: 6.949 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002836/0.3512, allocations: 1.222 MB / 331.4 MB, free: 5.723 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006809/0.3519, allocations: 148 kB / 331.6 MB, free: 5.578 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001469/0.3534, allocations: 363.7 kB / 331.9 MB, free: 5.223 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007416/0.3542, allocations: 0.5255 MB / 332.4 MB, free: 4.695 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008333/0.355, allocations: 476.4 kB / 332.9 MB, free: 4.223 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004861/0.3599, allocations: 2.976 MB / 335.9 MB, free: 1.238 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3599, allocations: 0 / 335.9 MB, free: 1.238 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.36, allocations: 0 / 335.9 MB, free: 1.238 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001159/0.3601, allocations: 4 kB / 335.9 MB, free: 1.234 MB / 266.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.01135/0.3714, allocations: 2.666 MB / 338.6 MB, free: 14.51 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.3715, allocations: 12.03 kB / 338.6 MB, free: 14.5 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008907/0.3724, allocations: 274.4 kB / 338.8 MB, free: 14.22 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007796/0.3732, allocations: 272.8 kB / 339.1 MB, free: 13.95 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003477/0.3767, allocations: 1.299 MB / 340.4 MB, free: 12.6 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003167/0.377, allocations: 248.9 kB / 340.6 MB, free: 12.34 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001021/0.3781, allocations: 239.8 kB / 340.9 MB, free: 12.1 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006551/0.3846, allocations: 2.15 MB / 343 MB, free: 9.871 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.231e-05/0.3847, allocations: 3.938 kB / 343 MB, free: 9.867 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003109/0.3851, allocations: 84 kB / 343.1 MB, free: 9.785 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.81e-05/0.3851, allocations: 48 kB / 343.2 MB, free: 9.738 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007488/0.3926, allocations: 1.943 MB / 345.1 MB, free: 7.793 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02076/0.4135, allocations: 7.884 MB / 353 MB, free: 15.67 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006475/0.42, allocations: 2.107 MB / 355.1 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001873/0.4202, allocations: 29.98 kB / 355.1 MB, free: 13.51 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.745e-05/0.4203, allocations: 68.5 kB / 355.2 MB, free: 13.44 MB / 298.7 MB Notification: Performance of pre-optimization done (n=208): time 5.059e-06/0.4203, allocations: 0 / 355.2 MB, free: 13.44 MB / 298.7 MB Notification: Performance of matching and sorting (n=250): time 0.09903/0.5193, allocations: 14.76 MB / 369.9 MB, free: 14.5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002532/0.5196, allocations: 405.8 kB / 370.3 MB, free: 14.02 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0036/0.5233, allocations: 1.494 MB / 371.8 MB, free: 12.52 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005443/0.5239, allocations: 69.7 kB / 371.9 MB, free: 12.44 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009079/0.5248, allocations: 0.8196 MB / 372.7 MB, free: 11.61 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001217/0.526, allocations: 0.8392 MB / 373.6 MB, free: 10.76 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002518/0.5263, allocations: 48 kB / 373.6 MB, free: 10.71 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002483/0.5265, allocations: 394.8 kB / 374 MB, free: 10.32 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004083/0.5306, allocations: 1.016 MB / 375 MB, free: 9.305 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004698/0.5354, allocations: 1.268 MB / 376.3 MB, free: 7.969 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.05817/0.5936, allocations: 7.469 MB / 383.8 MB, free: 440 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.357e-05/0.5937, allocations: 4 kB / 383.8 MB, free: 436 kB / 314.7 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.01223/0.6059, allocations: 2.975 MB / 386.7 MB, free: 13.39 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.416e-05/0.606, allocations: 5.25 kB / 386.7 MB, free: 13.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.896e-05/0.6061, allocations: 11.98 kB / 386.7 MB, free: 13.37 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001671/0.6077, allocations: 352.9 kB / 387.1 MB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00538/0.6132, allocations: 0.55 MB / 387.6 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01401/0.6272, allocations: 10.11 MB / 397.7 MB, free: 1.551 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003723/0.631, allocations: 140 kB / 397.9 MB, free: 1.414 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004641/0.6315, allocations: 87.95 kB / 398 MB, free: 1.328 MB / 330.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.001642/0.6331, allocations: 473.3 kB / 398.4 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007935/0.634, allocations: 205.5 kB / 398.6 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.016/0.65, allocations: 3.535 MB / 402.2 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.221e-05/0.6501, allocations: 24 kB / 402.2 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.501e-05/0.6501, allocations: 11.95 kB / 402.2 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.991e-05/0.6502, allocations: 11.95 kB / 402.2 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02407/0.6743, allocations: 6.27 MB / 408.5 MB, free: 6.559 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-05/0.6743, allocations: 0 / 408.5 MB, free: 6.559 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004206/0.6786, allocations: 427.4 kB / 408.9 MB, free: 6.141 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0109/0.6895, allocations: 1.26 MB / 410.2 MB, free: 4.852 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005887/0.6901, allocations: 59.98 kB / 410.2 MB, free: 4.793 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2807/0.9709, allocations: 17.66 MB / 427.9 MB, free: 82.05 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.9709, allocations: 0 / 427.9 MB, free: 82.05 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01787/0.9888, allocations: 5.012 MB / 432.9 MB, free: 79.88 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00159/0.9904, allocations: 0.5297 MB / 433.4 MB, free: 79.62 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005577/0.991, allocations: 54.03 kB / 433.5 MB, free: 79.58 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003436/0.9944, allocations: 164.7 kB / 433.6 MB, free: 79.54 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000805/0.9953, allocations: 198.4 kB / 433.8 MB, free: 79.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002398/0.9955, allocations: 75.7 kB / 433.9 MB, free: 79.48 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001984/0.9975, allocations: 1.026 MB / 434.9 MB, free: 79.06 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.9975, allocations: 0 / 434.9 MB, free: 79.06 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004181/1.002, allocations: 0.6971 MB / 435.6 MB, free: 78.92 MB / 346.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.01916/1.021, allocations: 5.714 MB / 441.3 MB, free: 73.66 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00959/1.031, allocations: 3.408 MB / 444.8 MB, free: 70.16 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.848e-06/1.031, allocations: 4 kB / 444.8 MB, free: 70.16 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006311/1.037, allocations: 2.633 MB / 447.4 MB, free: 67.41 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003021/1.04, allocations: 322.7 kB / 447.7 MB, free: 67.11 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01667/1.057, allocations: 7.336 MB / 455 MB, free: 59.62 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001252/1.058, allocations: 1.612 MB / 456.7 MB, free: 57.98 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002175/1.06, allocations: 296 kB / 456.9 MB, free: 57.69 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001914/1.062, allocations: 0.9093 MB / 457.9 MB, free: 56.78 MB / 346.7 MB Notification: Performance of SimCode: time 1.343e-06/1.062, allocations: 0 / 457.9 MB, free: 56.78 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1155/1.178, allocations: 52.31 MB / 0.4982 GB, free: 4.43 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002102/1.178, allocations: 250.6 kB / 0.4984 GB, free: 4.094 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.85/6.028, allocations: 3.938 kB / 0.4985 GB, free: 4.09 MB / 346.7 MB