Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001292/0.001292, allocations: 117.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001416/0.001416, allocations: 199.9 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 63.89 kB / 358.2 MB, free: 13.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2686, allocations: 50.54 MB / 408.8 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01211/0.2808, allocations: 10.58 MB / 419.4 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01114/0.292, allocations: 6.386 MB / 425.7 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001873/0.2939, allocations: 39.81 kB / 425.8 MB, free: 468 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001768/0.2957, allocations: 487.8 kB / 426.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003402/0.2991, allocations: 0.931 MB / 427.2 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006271/0.3054, allocations: 2.525 MB / 429.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004901/0.3103, allocations: 3.477 MB / 433.2 MB, free: 9.031 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001498/0.3119, allocations: 0.7605 MB / 433.9 MB, free: 8.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002059/0.3139, allocations: 1.293 MB / 435.2 MB, free: 6.934 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002428/0.3164, allocations: 1.467 MB / 436.7 MB, free: 5.461 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000849/0.3172, allocations: 331.9 kB / 437 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001445/0.3187, allocations: 0.5699 MB / 437.6 MB, free: 4.566 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009668/0.3197, allocations: 0.736 MB / 438.3 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002392/0.3221, allocations: 1.404 MB / 439.7 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004371/0.3265, allocations: 3.958 MB / 443.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3265, allocations: 0 / 443.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3265, allocations: 0 / 443.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.517e-05/0.3266, allocations: 0 / 443.7 MB, free: 14.45 MB / 366.1 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.007113/0.3337, allocations: 3.162 MB / 446.9 MB, free: 11.22 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.3337, allocations: 12.03 kB / 446.9 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003186/0.3341, allocations: 274.6 kB / 447.1 MB, free: 10.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007285/0.3348, allocations: 319.1 kB / 447.5 MB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002158/0.337, allocations: 1.41 MB / 448.9 MB, free: 9.156 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002119/0.3372, allocations: 237.5 kB / 449.1 MB, free: 8.906 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005322/0.3377, allocations: 235.8 kB / 449.3 MB, free: 8.676 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003717/0.3414, allocations: 2.162 MB / 451.5 MB, free: 6.434 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.258e-05/0.3415, allocations: 7.938 kB / 451.5 MB, free: 6.426 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001783/0.3417, allocations: 84 kB / 451.6 MB, free: 6.344 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.582e-05/0.3417, allocations: 52 kB / 451.6 MB, free: 6.293 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003763/0.3455, allocations: 1.916 MB / 453.5 MB, free: 4.375 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01162/0.3571, allocations: 7.792 MB / 461.3 MB, free: 12.35 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003413/0.3606, allocations: 2.08 MB / 463.4 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002894/0.3635, allocations: 1.586 MB / 465 MB, free: 8.645 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.261e-05/0.3636, allocations: 25.98 kB / 465 MB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.788e-05/0.3637, allocations: 72.55 kB / 465.1 MB, free: 8.539 MB / 382.1 MB Notification: Performance of pre-optimization done (n=208): time 3.406e-06/0.3637, allocations: 0 / 465.1 MB, free: 8.539 MB / 382.1 MB Notification: Performance of matching and sorting (n=250): time 0.05201/0.4157, allocations: 14.17 MB / 479.3 MB, free: 10.21 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002047/0.4159, allocations: 393.8 kB / 479.7 MB, free: 9.734 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002318/0.4183, allocations: 1.523 MB / 481.2 MB, free: 8.203 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004036/0.4187, allocations: 73.69 kB / 481.2 MB, free: 8.125 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006625/0.4194, allocations: 0.8331 MB / 482.1 MB, free: 7.281 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008666/0.4202, allocations: 0.8831 MB / 483 MB, free: 6.391 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006916/0.4209, allocations: 408.6 kB / 483.4 MB, free: 5.984 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.4211, allocations: 301.1 kB / 483.7 MB, free: 5.688 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002198/0.4233, allocations: 1 MB / 484.7 MB, free: 4.684 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002359/0.4256, allocations: 1.26 MB / 485.9 MB, free: 3.355 MB / 398.1 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.03373/0.4594, allocations: 9.441 MB / 495.4 MB, free: 9.789 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.4594, allocations: 0 / 495.4 MB, free: 9.789 MB / 414.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.007083/0.4665, allocations: 2.941 MB / 498.3 MB, free: 6.785 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.981e-05/0.4666, allocations: 11.92 kB / 498.3 MB, free: 6.773 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-05/0.4666, allocations: 8 kB / 498.3 MB, free: 6.766 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001028/0.4676, allocations: 349 kB / 498.7 MB, free: 6.406 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00266/0.4703, allocations: 0.55 MB / 499.2 MB, free: 5.855 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009957/0.4803, allocations: 10.96 MB / 0.4982 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002604/0.4829, allocations: 124 kB / 0.4983 GB, free: 9.945 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005517/0.4835, allocations: 83.95 kB / 0.4984 GB, free: 9.863 MB / 430.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: transformer.winding13.i = transformer.I1Start[3] transformer.H[2] = transformer.HStart[2]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 9 (diode6.off,diode5.off,diode4.off,diode3.off,diode2.off,diode1.off,transformer.core3.asc,transformer.core2.asc,transformer.core1.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (259): * Single equations (assignments): 247 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,6,100.0%), (1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,6), (2,6), (2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.001442/0.485, allocations: 468.8 kB / 0.4989 GB, free: 9.398 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007786/0.4858, allocations: 222.6 kB / 0.4991 GB, free: 9.18 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009219/0.495, allocations: 3.469 MB / 0.5025 GB, free: 5.621 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.513e-05/0.495, allocations: 28 kB / 0.5025 GB, free: 5.594 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.852e-05/0.4951, allocations: 4 kB / 0.5025 GB, free: 5.59 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.869e-05/0.4951, allocations: 15.94 kB / 0.5025 GB, free: 5.574 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01438/0.5095, allocations: 6.27 MB / 0.5086 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.425e-05/0.5095, allocations: 0 / 0.5086 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00208/0.5116, allocations: 423.5 kB / 0.509 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005605/0.5173, allocations: 1.194 MB / 0.5102 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002892/0.5176, allocations: 63.97 kB / 0.5103 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02309/0.5407, allocations: 18.9 MB / 0.5287 GB, free: 9.316 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.5407, allocations: 4.031 kB / 0.5287 GB, free: 9.312 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01222/0.5529, allocations: 4.937 MB / 0.5335 GB, free: 4.254 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001339/0.5543, allocations: 0.5423 MB / 0.5341 GB, free: 3.691 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006189/0.555, allocations: 63.92 kB / 0.5341 GB, free: 3.629 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00225/0.5572, allocations: 136 kB / 0.5343 GB, free: 3.496 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006414/0.5579, allocations: 209.7 kB / 0.5345 GB, free: 3.289 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002163/0.5581, allocations: 67.98 kB / 0.5345 GB, free: 3.223 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001823/0.5599, allocations: 1.049 MB / 0.5355 GB, free: 2.176 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.56, allocations: 0 / 0.5355 GB, free: 2.176 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003148/0.5631, allocations: 0.6952 MB / 0.5362 GB, free: 1.48 MB / 462.1 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 (205): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,6,100.0%), (1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(1,8), (1,8), (1,8), (2,6), (2,6), (2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.2402/0.8033, allocations: 5.638 MB / 0.5417 GB, free: 123.6 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005273/0.8087, allocations: 3.363 MB / 0.545 GB, free: 122.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/0.8087, allocations: 1.547 kB / 0.545 GB, free: 122.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003182/0.8119, allocations: 2.61 MB / 0.5476 GB, free: 120.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002017/0.8139, allocations: 388.4 kB / 0.5479 GB, free: 120.5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02643/0.8404, allocations: 19.59 MB / 0.5671 GB, free: 105.9 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000901/0.8413, allocations: 1.561 MB / 0.5686 GB, free: 104.3 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001241/0.8426, allocations: 299.8 kB / 0.5689 GB, free: 104 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00112/0.8437, allocations: 0.9171 MB / 0.5698 GB, free: 103.1 MB / 462.1 MB Notification: Performance of SimCode: time 1.513e-06/0.8437, allocations: 0 / 0.5698 GB, free: 103.1 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09822/0.9419, allocations: 58.23 MB / 0.6266 GB, free: 45.36 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.66/17.61, allocations: 4.297 kB / 0.6266 GB, free: 45.36 MB / 462.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1)