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.0009729/0.0009732, allocations: 99.67 kB / 17 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001144/0.001144, allocations: 194.5 kB / 17.9 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 227.4 MB / 246 MB, free: 10.26 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002464/0.0002464, allocations: 8 kB / 306.8 MB, free: 1.25 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1151, allocations: 51.48 MB / 358.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.009565/0.1248, allocations: 9.304 MB / 367.6 MB, free: 4.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2366/0.3614, allocations: 6.104 MB / 373.7 MB, free: 8.766 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002183/0.3637, allocations: 40.53 kB / 373.8 MB, free: 8.762 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001548/0.3652, allocations: 369 kB / 374.1 MB, free: 8.762 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003734/0.369, allocations: 0.7435 MB / 374.9 MB, free: 8.754 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007138/0.3762, allocations: 1.82 MB / 376.7 MB, free: 8.672 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006505/0.3827, allocations: 3.142 MB / 379.8 MB, free: 8.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001248/0.384, allocations: 0.5846 MB / 380.4 MB, free: 7.883 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002856/0.3868, allocations: 1.05 MB / 381.5 MB, free: 7.664 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002862/0.3897, allocations: 1.254 MB / 382.7 MB, free: 7.418 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006596/0.3904, allocations: 147 kB / 382.9 MB, free: 7.418 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001642/0.392, allocations: 388.4 kB / 383.2 MB, free: 7.406 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006595/0.3927, allocations: 0.5333 MB / 383.8 MB, free: 7.316 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009383/0.3936, allocations: 478.2 kB / 384.2 MB, free: 7.203 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00318/0.3968, allocations: 3.001 MB / 387.2 MB, free: 5.977 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.3969, allocations: 3.984 kB / 387.2 MB, free: 5.973 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.3969, allocations: 0 / 387.2 MB, free: 5.973 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.292e-05/0.397, allocations: 1.188 kB / 387.2 MB, free: 5.973 MB / 302.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.007329/0.4043, allocations: 2.668 MB / 389.9 MB, free: 4.418 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.4044, allocations: 9.281 kB / 389.9 MB, free: 4.418 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007831/0.4052, allocations: 277.1 kB / 390.2 MB, free: 4.324 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.4062, allocations: 309.2 kB / 390.5 MB, free: 4.18 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002343/0.4086, allocations: 1.301 MB / 391.8 MB, free: 3.555 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000215/0.4088, allocations: 246.9 kB / 392 MB, free: 3.449 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005505/0.4094, allocations: 235.4 kB / 392.3 MB, free: 3.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004225/0.4136, allocations: 2.172 MB / 394.4 MB, free: 2.062 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.171e-05/0.4136, allocations: 1.031 kB / 394.4 MB, free: 2.062 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001725/0.4138, allocations: 95.19 kB / 394.5 MB, free: 1.988 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.491e-05/0.4139, allocations: 47.03 kB / 394.6 MB, free: 1.988 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003791/0.4177, allocations: 1.939 MB / 396.5 MB, free: 1.043 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01226/0.4299, allocations: 7.888 MB / 404.4 MB, free: 11.07 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003278/0.4333, allocations: 2.108 MB / 406.5 MB, free: 9.328 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001981/0.4353, allocations: 1.242 MB / 407.7 MB, free: 8.078 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001093/0.4354, allocations: 31.08 kB / 407.8 MB, free: 8.051 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.919e-05/0.4355, allocations: 64.5 kB / 407.8 MB, free: 7.98 MB / 318.1 MB Notification: Performance of pre-optimization done (n=208): time 3.576e-06/0.4355, allocations: 4 kB / 407.8 MB, free: 7.977 MB / 318.1 MB Notification: Performance of matching and sorting (n=250): time 0.04774/0.4832, allocations: 14.77 MB / 422.6 MB, free: 9.062 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001875/0.4835, allocations: 393.8 kB / 423 MB, free: 8.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002585/0.486, allocations: 1.509 MB / 424.5 MB, free: 7.074 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004327/0.4865, allocations: 73.7 kB / 424.6 MB, free: 6.996 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006651/0.4872, allocations: 0.8183 MB / 425.4 MB, free: 6.172 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008458/0.488, allocations: 0.8406 MB / 426.2 MB, free: 5.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/0.4882, allocations: 48 kB / 426.3 MB, free: 5.293 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002495/0.4884, allocations: 394.8 kB / 426.7 MB, free: 4.902 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002112/0.4905, allocations: 1.008 MB / 427.7 MB, free: 3.891 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002214/0.4928, allocations: 1.276 MB / 428.9 MB, free: 2.547 MB / 334.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.02785/0.5206, allocations: 7.469 MB / 436.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/0.5207, allocations: 4 kB / 436.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006375/0.527, allocations: 2.971 MB / 439.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.879e-05/0.5271, allocations: 4 kB / 439.4 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.167e-05/0.5271, allocations: 7.984 kB / 439.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009509/0.5281, allocations: 359.3 kB / 439.8 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002537/0.5306, allocations: 0.5521 MB / 440.3 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008839/0.5395, allocations: 10.03 MB / 450.3 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002873/0.5424, allocations: 147.8 kB / 450.5 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003121/0.5428, allocations: 79.97 kB / 450.6 MB, free: 12.02 MB / 366.1 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.001345/0.5441, allocations: 466.5 kB / 451 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005476/0.5447, allocations: 205.6 kB / 451.2 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008418/0.5531, allocations: 3.545 MB / 454.8 MB, free: 7.723 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.768e-05/0.5532, allocations: 28 kB / 454.8 MB, free: 7.695 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.749e-05/0.5532, allocations: 4 kB / 454.8 MB, free: 7.691 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.738e-05/0.5533, allocations: 11.95 kB / 454.8 MB, free: 7.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01361/0.5669, allocations: 6.276 MB / 461.1 MB, free: 1.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.304e-05/0.5669, allocations: 0 / 461.1 MB, free: 1.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001983/0.5689, allocations: 432.7 kB / 461.5 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005715/0.5747, allocations: 1.251 MB / 462.8 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006768/0.5754, allocations: 63.97 kB / 462.8 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02122/0.5966, allocations: 17.4 MB / 480.2 MB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.5967, allocations: 10.5 kB / 480.2 MB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01114/0.6078, allocations: 5.003 MB / 485.2 MB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001622/0.6095, allocations: 0.5294 MB / 485.8 MB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003788/0.6099, allocations: 55.98 kB / 485.8 MB, free: 7.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001761/0.6117, allocations: 159.8 kB / 486 MB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005097/0.6122, allocations: 201.8 kB / 486.2 MB, free: 6.895 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001407/0.6123, allocations: 67.98 kB / 486.2 MB, free: 6.828 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001534/0.6139, allocations: 1.033 MB / 487.3 MB, free: 5.797 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6139, allocations: 0 / 487.3 MB, free: 5.797 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00354/0.6174, allocations: 0.6913 MB / 488 MB, free: 5.105 MB / 398.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 (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.01126/0.6287, allocations: 5.726 MB / 493.7 MB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006256/0.635, allocations: 3.421 MB / 497.1 MB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.099e-05/0.6351, allocations: 4 kB / 497.1 MB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003893/0.639, allocations: 2.623 MB / 499.7 MB, free: 8.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002503/0.6415, allocations: 364.1 kB / 0.4884 GB, free: 8.633 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03637/0.6779, allocations: 15.97 MB / 0.504 GB, free: 7.785 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001583/0.6795, allocations: 1.569 MB / 0.5055 GB, free: 6.18 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001745/0.6813, allocations: 291.8 kB / 0.5058 GB, free: 5.891 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001726/0.683, allocations: 0.9151 MB / 0.5067 GB, free: 4.977 MB / 430.1 MB Notification: Performance of SimCode: time 1.493e-06/0.683, allocations: 0 / 0.5067 GB, free: 4.977 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.308/0.991, allocations: 53.25 MB / 0.5587 GB, free: 130.9 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001917/0.9912, allocations: 258.7 kB / 0.5589 GB, free: 130.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.709/4.7, allocations: 3.938 kB / 0.5589 GB, free: 130.6 MB / 446.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/linux/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)