Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.000957/0.000957, allocations: 180.2 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 223.2 MB / 240.3 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008456/0.0008456, allocations: 93.97 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002647/0.0002646, allocations: 4 kB / 351.2 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2315, allocations: 50.41 MB / 401.6 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3336/0.5651, allocations: 114.7 MB / 0.5041 GB, free: 46.05 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/0.5654, allocations: 90.14 kB / 0.5042 GB, free: 46.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1341/0.6996, allocations: 54.21 MB / 0.5572 GB, free: 37.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.6996, allocations: 3.938 kB / 0.5572 GB, free: 37.83 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001919/0.6998, allocations: 57.39 kB / 0.5572 GB, free: 37.82 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.007908/0.7077, allocations: 2.606 MB / 0.5598 GB, free: 36.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.7078, allocations: 11.73 kB / 0.5598 GB, free: 36.29 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008929/0.7087, allocations: 281 kB / 0.56 GB, free: 36.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001126/0.7098, allocations: 276.1 kB / 0.5603 GB, free: 36.06 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00244/0.7123, allocations: 1.358 MB / 0.5616 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001707/0.7124, allocations: 246.6 kB / 0.5619 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005192/0.713, allocations: 236.5 kB / 0.5621 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00331/0.7163, allocations: 2.172 MB / 0.5642 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.998e-05/0.7163, allocations: 3.938 kB / 0.5642 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001689/0.7165, allocations: 83.78 kB / 0.5643 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.518e-05/0.7166, allocations: 48.22 kB / 0.5643 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003327/0.7199, allocations: 1.929 MB / 0.5662 GB, free: 34.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01014/0.73, allocations: 7.908 MB / 0.574 GB, free: 29.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002869/0.7329, allocations: 2.107 MB / 0.576 GB, free: 27.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.8e-05/0.7331, allocations: 25.98 kB / 0.576 GB, free: 27.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.7331, allocations: 68.48 kB / 0.5761 GB, free: 27.15 MB / 378.7 MB Notification: Performance of pre-optimization done (n=208): time 3.937e-06/0.7331, allocations: 4 kB / 0.5761 GB, free: 27.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=250): time 0.04754/0.7806, allocations: 14.4 MB / 0.5902 GB, free: 12.62 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/0.7808, allocations: 393.8 kB / 0.5905 GB, free: 12.15 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00192/0.7827, allocations: 1.335 MB / 0.5918 GB, free: 10.81 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003748/0.7831, allocations: 73.7 kB / 0.5919 GB, free: 10.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003819/0.7835, allocations: 0.8003 MB / 0.5927 GB, free: 9.922 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005113/0.784, allocations: 0.8381 MB / 0.5935 GB, free: 9.074 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.7842, allocations: 44 kB / 0.5936 GB, free: 9.031 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.7843, allocations: 398.7 kB / 0.5939 GB, free: 8.637 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001746/0.786, allocations: 1.004 MB / 0.5949 GB, free: 7.629 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001833/0.7879, allocations: 1.242 MB / 0.5961 GB, free: 6.328 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.02827/0.8162, allocations: 7.441 MB / 0.6034 GB, free: 14.82 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/0.8162, allocations: 4 kB / 0.6034 GB, free: 14.81 MB / 394.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.005919/0.8221, allocations: 2.944 MB / 0.6063 GB, free: 11.8 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.8222, allocations: 4 kB / 0.6063 GB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.104e-05/0.8222, allocations: 11.98 kB / 0.6063 GB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009352/0.8231, allocations: 356.9 kB / 0.6066 GB, free: 11.42 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00266/0.8258, allocations: 0.5422 MB / 0.6072 GB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008713/0.8345, allocations: 10.11 MB / 0.617 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002798/0.8374, allocations: 143.8 kB / 0.6172 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003742/0.8378, allocations: 79.95 kB / 0.6173 GB, free: 15.74 MB / 410.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.001361/0.8391, allocations: 483 kB / 0.6177 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005321/0.8397, allocations: 209.5 kB / 0.6179 GB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008092/0.8478, allocations: 3.446 MB / 0.6213 GB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-05/0.8478, allocations: 24 kB / 0.6213 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/0.8478, allocations: 4 kB / 0.6213 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-05/0.8479, allocations: 15.95 kB / 0.6213 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01407/0.8619, allocations: 6.321 MB / 0.6275 GB, free: 5.012 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.275e-05/0.862, allocations: 0 / 0.6275 GB, free: 5.012 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002133/0.8641, allocations: 435.4 kB / 0.6279 GB, free: 4.586 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006531/0.8707, allocations: 1.252 MB / 0.6291 GB, free: 3.305 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003253/0.871, allocations: 63.97 kB / 0.6292 GB, free: 3.242 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02085/0.8919, allocations: 17.68 MB / 0.6465 GB, free: 364 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.892, allocations: 4.031 kB / 0.6465 GB, free: 360 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01296/0.9049, allocations: 5.136 MB / 0.6515 GB, free: 11.07 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001649/0.9066, allocations: 0.5371 MB / 0.652 GB, free: 10.52 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003311/0.907, allocations: 56 kB / 0.6521 GB, free: 10.46 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001988/0.909, allocations: 155.9 kB / 0.6522 GB, free: 10.31 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005685/0.9095, allocations: 205.7 kB / 0.6524 GB, free: 10.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001602/0.9097, allocations: 71.98 kB / 0.6525 GB, free: 10.04 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001563/0.9113, allocations: 1.029 MB / 0.6535 GB, free: 9.008 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.9113, allocations: 0 / 0.6535 GB, free: 9.008 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002768/0.9141, allocations: 0.7108 MB / 0.6542 GB, free: 8.297 MB / 442.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.0122/0.9263, allocations: 6.082 MB / 0.6601 GB, free: 2.078 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.1953/1.122, allocations: 3.392 MB / 0.6634 GB, free: 117.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.848e-06/1.122, allocations: 1.5 kB / 0.6634 GB, free: 117.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004371/1.126, allocations: 2.633 MB / 0.666 GB, free: 116.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002057/1.128, allocations: 331.2 kB / 0.6663 GB, free: 116.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/1.139, allocations: 8.212 MB / 0.6743 GB, free: 112.4 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001014/1.14, allocations: 1.602 MB / 0.6759 GB, free: 111.6 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00151/1.142, allocations: 292.3 kB / 0.6762 GB, free: 111.6 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001182/1.143, allocations: 0.8989 MB / 0.677 GB, free: 111.6 MB / 442.7 MB Notification: Performance of SimCode: time 1.263e-06/1.143, allocations: 0 / 0.677 GB, free: 111.6 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07602/1.219, allocations: 52.57 MB / 0.7284 GB, free: 89.87 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001571/1.219, allocations: 253 kB / 0.7286 GB, free: 89.53 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.978/5.197, allocations: 2.656 kB / 0.7286 GB, free: 89.53 MB / 442.7 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier.fmu > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1)