Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001207/0.001207, allocations: 180 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.269/1.269, allocations: 205.4 MB / 223.1 MB, free: 9.039 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008311/0.0008312, allocations: 98.59 kB / 271.5 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002125/0.0002125, allocations: 12 kB / 328.4 MB, free: 15.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.1889, allocations: 47.56 MB / 375.9 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1101/0.2991, allocations: 111.1 MB / 487 MB, free: 1.461 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002126/0.2993, allocations: 83.95 kB / 487.1 MB, free: 1.379 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2782/0.5776, allocations: 53.22 MB / 0.5277 GB, free: 90.99 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.5776, allocations: 0 / 0.5277 GB, free: 90.99 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001558/0.5778, allocations: 63.92 kB / 0.5277 GB, free: 90.93 MB / 378.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.005849/0.5836, allocations: 2.608 MB / 0.5303 GB, free: 88.26 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.5837, allocations: 8.031 kB / 0.5303 GB, free: 88.25 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004441/0.5841, allocations: 278.4 kB / 0.5306 GB, free: 87.97 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005041/0.5846, allocations: 276.8 kB / 0.5308 GB, free: 87.7 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001992/0.5866, allocations: 1.358 MB / 0.5321 GB, free: 86.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001434/0.5868, allocations: 240.9 kB / 0.5324 GB, free: 86.03 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004768/0.5873, allocations: 243.8 kB / 0.5326 GB, free: 85.79 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003161/0.5904, allocations: 2.176 MB / 0.5347 GB, free: 83.53 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.918e-05/0.5905, allocations: 3.938 kB / 0.5347 GB, free: 83.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000172/0.5907, allocations: 80 kB / 0.5348 GB, free: 83.45 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.481e-05/0.5907, allocations: 48 kB / 0.5349 GB, free: 83.4 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003285/0.594, allocations: 1.935 MB / 0.5368 GB, free: 81.46 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009457/0.6035, allocations: 7.911 MB / 0.5445 GB, free: 73.31 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002792/0.6063, allocations: 2.093 MB / 0.5465 GB, free: 71.19 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.481e-05/0.6064, allocations: 29.92 kB / 0.5466 GB, free: 71.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.6064, allocations: 64.55 kB / 0.5466 GB, free: 71.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=208): time 3.085e-06/0.6064, allocations: 4 kB / 0.5466 GB, free: 71.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=250): time 0.04692/0.6533, allocations: 14.41 MB / 0.5607 GB, free: 56.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.882e-05/0.6535, allocations: 393.8 kB / 0.5611 GB, free: 56.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001856/0.6553, allocations: 1.338 MB / 0.5624 GB, free: 54.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002518/0.6556, allocations: 77.64 kB / 0.5624 GB, free: 54.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003885/0.656, allocations: 0.8042 MB / 0.5632 GB, free: 53.83 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005055/0.6565, allocations: 0.8276 MB / 0.564 GB, free: 52.99 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000153/0.6567, allocations: 48 kB / 0.5641 GB, free: 52.95 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.643e-05/0.6568, allocations: 398.7 kB / 0.5645 GB, free: 52.55 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001756/0.6585, allocations: 1 MB / 0.5654 GB, free: 51.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001848/0.6604, allocations: 1.246 MB / 0.5667 GB, free: 50.24 MB / 378.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.02738/0.6878, allocations: 7.441 MB / 0.5739 GB, free: 42.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.6878, allocations: 0 / 0.5739 GB, free: 42.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.005482/0.6933, allocations: 2.94 MB / 0.5768 GB, free: 39.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.6934, allocations: 12 kB / 0.5768 GB, free: 39.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.239e-05/0.6934, allocations: 7.984 kB / 0.5768 GB, free: 39.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00084/0.6942, allocations: 352.9 kB / 0.5772 GB, free: 39.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002608/0.6969, allocations: 0.5461 MB / 0.5777 GB, free: 38.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006089/0.703, allocations: 10.11 MB / 0.5876 GB, free: 27.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002216/0.7052, allocations: 140.1 kB / 0.5877 GB, free: 27.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002755/0.7055, allocations: 91.89 kB / 0.5878 GB, free: 27.65 MB / 378.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: 7 * 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 (253): * Single equations (assignments): 241 * 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.001058/0.7066, allocations: 467 kB / 0.5882 GB, free: 27.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005163/0.7071, allocations: 205.5 kB / 0.5884 GB, free: 26.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0073/0.7144, allocations: 3.442 MB / 0.5918 GB, free: 23.45 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-05/0.7144, allocations: 28.47 kB / 0.5918 GB, free: 23.42 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.451e-05/0.7145, allocations: 4 kB / 0.5918 GB, free: 23.42 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.93e-05/0.7145, allocations: 15.91 kB / 0.5918 GB, free: 23.4 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01248/0.727, allocations: 6.329 MB / 0.598 GB, free: 16.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.727, allocations: 4 kB / 0.598 GB, free: 16.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001875/0.7289, allocations: 427.4 kB / 0.5984 GB, free: 16.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005731/0.7346, allocations: 1.26 MB / 0.5997 GB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00021/0.7349, allocations: 67.97 kB / 0.5997 GB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01774/0.7526, allocations: 17.67 MB / 0.617 GB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.7527, allocations: 4.031 kB / 0.617 GB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01202/0.7647, allocations: 5.144 MB / 0.622 GB, free: 6.988 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001256/0.766, allocations: 0.5256 MB / 0.6225 GB, free: 6.441 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003311/0.7663, allocations: 60.38 kB / 0.6226 GB, free: 6.383 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001889/0.7682, allocations: 147.9 kB / 0.6227 GB, free: 6.238 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005096/0.7687, allocations: 209.7 kB / 0.6229 GB, free: 6.031 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001587/0.7689, allocations: 72.23 kB / 0.623 GB, free: 5.961 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001454/0.7704, allocations: 1.033 MB / 0.624 GB, free: 4.93 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.7704, allocations: 0 / 0.624 GB, free: 4.93 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002571/0.773, allocations: 0.7108 MB / 0.6247 GB, free: 4.219 MB / 394.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.01249/0.7855, allocations: 6.082 MB / 0.6306 GB, free: 14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006072/0.7916, allocations: 3.403 MB / 0.6339 GB, free: 10.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.786e-06/0.7916, allocations: 0 / 0.6339 GB, free: 10.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004183/0.7958, allocations: 2.628 MB / 0.6365 GB, free: 7.715 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001842/0.7977, allocations: 322 kB / 0.6368 GB, free: 7.402 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1629/0.9605, allocations: 8.219 MB / 0.6448 GB, free: 110.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001152/0.9618, allocations: 1.605 MB / 0.6464 GB, free: 109.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00168/0.9635, allocations: 292.6 kB / 0.6467 GB, free: 109.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001291/0.9648, allocations: 0.8957 MB / 0.6476 GB, free: 109.6 MB / 410.7 MB Notification: Performance of SimCode: time 1.253e-06/0.9648, allocations: 0.5938 kB / 0.6476 GB, free: 109.6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06916/1.034, allocations: 52.58 MB / 0.6989 GB, free: 82.62 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001557/1.034, allocations: 248.9 kB / 0.6991 GB, free: 82.28 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.558/4.592, allocations: 3.906 kB / 0.6991 GB, free: 82.27 MB / 410.7 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier.fmu > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1)