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.000938/0.0009381, allocations: 101.3 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009922/0.0009922, allocations: 204.6 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.3 MB / 245.9 MB, free: 10.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002611/0.0002613, allocations: 7.984 kB / 306.7 MB, free: 1.246 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1015, allocations: 51.49 MB / 358.2 MB, free: 13.76 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.008448/0.11, allocations: 8.51 MB / 366.7 MB, free: 5.215 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2006/0.3107, allocations: 6.2 MB / 372.9 MB, free: 8.352 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001382/0.3121, allocations: 33.28 kB / 372.9 MB, free: 8.352 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009624/0.3131, allocations: 400.2 kB / 373.3 MB, free: 8.348 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002222/0.3153, allocations: 0.8893 MB / 374.2 MB, free: 8.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004244/0.3195, allocations: 1.752 MB / 376 MB, free: 8.281 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004361/0.3239, allocations: 2.115 MB / 378.1 MB, free: 8.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009622/0.3249, allocations: 0.5884 MB / 378.7 MB, free: 8.133 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002151/0.3271, allocations: 1.03 MB / 379.7 MB, free: 8.133 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002549/0.3296, allocations: 1.219 MB / 380.9 MB, free: 7.988 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007781/0.3304, allocations: 148 kB / 381.1 MB, free: 7.988 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001651/0.3321, allocations: 374 kB / 381.4 MB, free: 7.984 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007024/0.3328, allocations: 0.5295 MB / 382 MB, free: 7.902 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001574/0.3344, allocations: 473.4 kB / 382.4 MB, free: 7.793 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003399/0.3378, allocations: 2.977 MB / 385.4 MB, free: 6.777 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3378, allocations: 0 / 385.4 MB, free: 6.777 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.3378, allocations: 5.281 kB / 385.4 MB, free: 6.773 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.066e-05/0.3379, allocations: 0 / 385.4 MB, free: 6.773 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.006455/0.3444, allocations: 2.673 MB / 388.1 MB, free: 5.215 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.3444, allocations: 13.03 kB / 388.1 MB, free: 5.211 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005324/0.345, allocations: 277.3 kB / 388.4 MB, free: 5.121 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009045/0.3459, allocations: 311.1 kB / 388.7 MB, free: 4.977 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002146/0.3481, allocations: 1.303 MB / 390 MB, free: 4.348 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001748/0.3483, allocations: 240.1 kB / 390.2 MB, free: 4.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005228/0.3488, allocations: 237.7 kB / 390.4 MB, free: 4.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003602/0.3524, allocations: 2.145 MB / 392.6 MB, free: 3.559 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.803e-05/0.3525, allocations: 9.156 kB / 392.6 MB, free: 3.551 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001619/0.3526, allocations: 84.83 kB / 392.7 MB, free: 3.547 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.645e-05/0.3527, allocations: 47 kB / 392.7 MB, free: 3.547 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003574/0.3562, allocations: 1.947 MB / 394.7 MB, free: 2.832 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0121/0.3684, allocations: 7.885 MB / 402.6 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003737/0.3721, allocations: 2.103 MB / 404.7 MB, free: 11.74 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001351/0.3723, allocations: 36.97 kB / 404.7 MB, free: 11.73 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.093e-05/0.3724, allocations: 66.11 kB / 404.8 MB, free: 11.67 MB / 318.1 MB Notification: Performance of pre-optimization done (n=208): time 4.217e-06/0.3724, allocations: 5.438 kB / 404.8 MB, free: 11.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=250): time 0.05623/0.4286, allocations: 14.77 MB / 419.5 MB, free: 12.86 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002276/0.4289, allocations: 389.8 kB / 419.9 MB, free: 12.39 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002939/0.4319, allocations: 1.502 MB / 421.4 MB, free: 10.88 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005281/0.4324, allocations: 73.7 kB / 421.5 MB, free: 10.8 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008098/0.4332, allocations: 0.8185 MB / 422.3 MB, free: 9.973 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001105/0.4344, allocations: 0.8328 MB / 423.1 MB, free: 9.148 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/0.4345, allocations: 50.66 kB / 423.2 MB, free: 9.102 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002201/0.4347, allocations: 402.7 kB / 423.6 MB, free: 8.703 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00224/0.437, allocations: 1.012 MB / 424.6 MB, free: 7.688 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002371/0.4394, allocations: 1.26 MB / 425.9 MB, free: 6.359 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.03065/0.47, allocations: 7.476 MB / 433.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.336e-06/0.4701, allocations: 0 / 433.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006623/0.4767, allocations: 2.974 MB / 436.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.136e-05/0.4767, allocations: 4 kB / 436.3 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.375e-05/0.4768, allocations: 7.938 kB / 436.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009795/0.4778, allocations: 359.8 kB / 436.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003085/0.4809, allocations: 0.5461 MB / 437.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009239/0.4901, allocations: 10.12 MB / 447.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002681/0.4929, allocations: 140 kB / 447.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003719/0.4933, allocations: 83.97 kB / 447.5 MB, free: 15.75 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.001351/0.4946, allocations: 474.2 kB / 448 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000603/0.4952, allocations: 205.5 kB / 448.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008322/0.5036, allocations: 3.528 MB / 451.7 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.792e-05/0.5036, allocations: 28 kB / 451.8 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.437e-05/0.5037, allocations: 4 kB / 451.8 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.55e-05/0.5037, allocations: 21.66 kB / 451.8 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01352/0.5172, allocations: 6.273 MB / 458.1 MB, free: 5.055 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-05/0.5173, allocations: 0 / 458.1 MB, free: 5.055 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002103/0.5194, allocations: 429 kB / 458.5 MB, free: 4.637 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005927/0.5253, allocations: 1.255 MB / 459.7 MB, free: 3.355 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004439/0.5258, allocations: 63.97 kB / 459.8 MB, free: 3.293 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02196/0.5478, allocations: 17.66 MB / 477.5 MB, free: 464 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.5478, allocations: 0 / 477.5 MB, free: 464 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01141/0.5592, allocations: 5.063 MB / 482.5 MB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001706/0.561, allocations: 0.5256 MB / 483.1 MB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005049/0.5615, allocations: 56 kB / 483.1 MB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002055/0.5636, allocations: 159.9 kB / 483.3 MB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005314/0.5641, allocations: 198.3 kB / 483.5 MB, free: 10.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001585/0.5643, allocations: 71.98 kB / 483.5 MB, free: 10.24 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001546/0.5659, allocations: 1.029 MB / 484.6 MB, free: 9.211 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5659, allocations: 0 / 484.6 MB, free: 9.211 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003504/0.5694, allocations: 0.6991 MB / 485.3 MB, free: 8.512 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.01218/0.5816, allocations: 5.966 MB / 491.2 MB, free: 2.418 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006735/0.5884, allocations: 3.405 MB / 494.6 MB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.5884, allocations: 4 kB / 494.6 MB, free: 14.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004412/0.5928, allocations: 2.631 MB / 497.3 MB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002399/0.5953, allocations: 331.4 kB / 497.6 MB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01298/0.6083, allocations: 8.681 MB / 0.4944 GB, free: 2.953 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001253/0.6096, allocations: 1.608 MB / 0.496 GB, free: 1.309 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001611/0.6112, allocations: 291.8 kB / 0.4962 GB, free: 1.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00139/0.6126, allocations: 0.9093 MB / 0.4971 GB, free: 112 kB / 414.1 MB Notification: Performance of SimCode: time 1.112e-06/0.6126, allocations: 0 / 0.4971 GB, free: 112 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2808/0.8934, allocations: 52.25 MB / 0.5482 GB, free: 139.5 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001738/0.8936, allocations: 254.3 kB / 0.5484 GB, free: 139.1 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.867/4.761, allocations: 8 kB / 0.5484 GB, free: 139.1 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)