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.001225/0.001225, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001329/0.001329, allocations: 197.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001517, allocations: 59.91 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.2975, allocations: 50.55 MB / 408.8 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01127/0.3088, allocations: 10.58 MB / 419.3 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01112/0.3199, allocations: 6.383 MB / 425.7 MB, free: 0.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00237/0.3224, allocations: 39.81 kB / 425.8 MB, free: 472 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001822/0.3242, allocations: 483.9 kB / 426.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003509/0.3278, allocations: 0.9075 MB / 427.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007426/0.3352, allocations: 2.536 MB / 429.7 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005493/0.3407, allocations: 3.469 MB / 433.2 MB, free: 9.055 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001578/0.3423, allocations: 0.7448 MB / 433.9 MB, free: 8.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002729/0.3451, allocations: 1.293 MB / 435.2 MB, free: 6.973 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003082/0.3482, allocations: 1.467 MB / 436.7 MB, free: 5.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001349/0.3495, allocations: 335.9 kB / 437 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001773/0.3513, allocations: 0.5777 MB / 437.6 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001149/0.3525, allocations: 0.7321 MB / 438.3 MB, free: 3.859 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002623/0.3551, allocations: 1.404 MB / 439.7 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004713/0.3598, allocations: 3.932 MB / 443.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3599, allocations: 0 / 443.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3599, allocations: 0 / 443.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001332/0.36, allocations: 0 / 443.6 MB, free: 14.5 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.00897/0.369, allocations: 3.095 MB / 446.7 MB, free: 11.35 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.369, allocations: 8.031 kB / 446.7 MB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004521/0.3695, allocations: 282.6 kB / 447 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00084/0.3704, allocations: 305.6 kB / 447.3 MB, free: 10.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002447/0.3728, allocations: 1.393 MB / 448.7 MB, free: 9.309 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001986/0.373, allocations: 237.5 kB / 448.9 MB, free: 9.059 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005018/0.3735, allocations: 235.8 kB / 449.2 MB, free: 8.828 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003679/0.3772, allocations: 2.169 MB / 451.3 MB, free: 6.578 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.293e-05/0.3773, allocations: 3.984 kB / 451.3 MB, free: 6.574 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001729/0.3775, allocations: 84 kB / 451.4 MB, free: 6.492 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.498e-05/0.3775, allocations: 52 kB / 451.5 MB, free: 6.441 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003615/0.3811, allocations: 1.92 MB / 453.4 MB, free: 4.52 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01139/0.3925, allocations: 7.783 MB / 461.2 MB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003466/0.396, allocations: 2.076 MB / 463.3 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002991/0.399, allocations: 1.59 MB / 464.8 MB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001135/0.3992, allocations: 29.98 kB / 464.9 MB, free: 8.766 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.953e-05/0.3992, allocations: 60.56 kB / 464.9 MB, free: 8.699 MB / 382.1 MB Notification: Performance of pre-optimization done (n=208): time 5.18e-06/0.3992, allocations: 0 / 464.9 MB, free: 8.699 MB / 382.1 MB Notification: Performance of matching and sorting (n=250): time 0.05314/0.4524, allocations: 14.07 MB / 479 MB, free: 10.45 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001804/0.4526, allocations: 389.8 kB / 479.4 MB, free: 9.984 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002471/0.4551, allocations: 1.522 MB / 480.9 MB, free: 8.453 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002758/0.4554, allocations: 69.7 kB / 481 MB, free: 8.379 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006034/0.456, allocations: 0.8276 MB / 481.8 MB, free: 7.539 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007763/0.4568, allocations: 0.8393 MB / 482.6 MB, free: 6.688 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000791/0.4576, allocations: 412.5 kB / 483 MB, free: 6.277 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.997e-05/0.4577, allocations: 301.1 kB / 483.3 MB, free: 5.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002241/0.46, allocations: 0.9963 MB / 484.3 MB, free: 4.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002494/0.4625, allocations: 1.26 MB / 485.6 MB, free: 3.652 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.03287/0.4953, allocations: 9.429 MB / 495 MB, free: 10.1 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.4954, allocations: 0 / 495 MB, free: 10.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006498/0.5019, allocations: 2.944 MB / 498 MB, free: 7.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.629e-05/0.5019, allocations: 11.94 kB / 498 MB, free: 7.078 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.52e-05/0.502, allocations: 7.984 kB / 498 MB, free: 7.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009852/0.503, allocations: 349 kB / 498.3 MB, free: 6.711 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002646/0.5056, allocations: 0.5422 MB / 498.9 MB, free: 6.168 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009912/0.5156, allocations: 10.94 MB / 0.4979 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002442/0.518, allocations: 128 kB / 0.498 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003265/0.5184, allocations: 79.97 kB / 0.4981 GB, free: 10.19 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.00119/0.5196, allocations: 474.7 kB / 0.4985 GB, free: 9.715 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007045/0.5203, allocations: 217.4 kB / 0.4987 GB, free: 9.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008691/0.529, allocations: 3.457 MB / 0.5021 GB, free: 5.953 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.69e-05/0.5291, allocations: 28 kB / 0.5021 GB, free: 5.926 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-05/0.5291, allocations: 4 kB / 0.5021 GB, free: 5.922 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.683e-05/0.5291, allocations: 11.95 kB / 0.5021 GB, free: 5.91 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01389/0.543, allocations: 6.266 MB / 0.5083 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/0.543, allocations: 4 kB / 0.5083 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002039/0.5451, allocations: 431.5 kB / 0.5087 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005432/0.5505, allocations: 1.205 MB / 0.5099 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002711/0.5508, allocations: 63.97 kB / 0.5099 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02223/0.5731, allocations: 18.88 MB / 0.5284 GB, free: 9.652 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.5731, allocations: 4.031 kB / 0.5284 GB, free: 9.648 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01241/0.5855, allocations: 4.924 MB / 0.5332 GB, free: 4.602 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001496/0.5871, allocations: 0.5334 MB / 0.5337 GB, free: 4.047 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006841/0.5878, allocations: 55.94 kB / 0.5337 GB, free: 3.992 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002219/0.59, allocations: 135.9 kB / 0.5339 GB, free: 3.859 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006379/0.5907, allocations: 201.7 kB / 0.5341 GB, free: 3.66 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002225/0.5909, allocations: 71.97 kB / 0.5341 GB, free: 3.59 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002071/0.593, allocations: 1.049 MB / 0.5352 GB, free: 2.543 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.593, allocations: 4 kB / 0.5352 GB, free: 2.539 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003638/0.5967, allocations: 0.6952 MB / 0.5358 GB, free: 1.844 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.2636/0.8603, allocations: 5.618 MB / 0.5413 GB, free: 123.6 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00534/0.8656, allocations: 3.361 MB / 0.5446 GB, free: 122.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.8657, allocations: 2.312 kB / 0.5446 GB, free: 122.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003169/0.8688, allocations: 2.601 MB / 0.5471 GB, free: 120.7 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002057/0.8709, allocations: 389.2 kB / 0.5475 GB, free: 120.6 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02595/0.8969, allocations: 19.51 MB / 0.5666 GB, free: 106.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008611/0.8978, allocations: 1.561 MB / 0.5681 GB, free: 104.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001167/0.899, allocations: 299.8 kB / 0.5684 GB, free: 104.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001172/0.9001, allocations: 0.9132 MB / 0.5693 GB, free: 103.6 MB / 462.1 MB Notification: Performance of SimCode: time 1.333e-06/0.9002, allocations: 0 / 0.5693 GB, free: 103.6 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.135/1.035, allocations: 59.51 MB / 0.6274 GB, free: 44.5 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.3/17.34, allocations: 16.3 kB / 0.6274 GB, free: 44.49 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1)