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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001089/0.001089, allocations: 199 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.264/1.264, allocations: 227.2 MB / 245 MB, free: 5.898 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008852/0.0008853, allocations: 94.77 kB / 297.2 MB, free: 5.98 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002163/0.0002163, allocations: 4 kB / 358 MB, free: 9.223 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.1892, allocations: 51.48 MB / 409.5 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3077/0.4969, allocations: 115.5 MB / 0.5127 GB, free: 42.83 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002189/0.4972, allocations: 87.38 kB / 0.5128 GB, free: 42.83 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1238/0.6209, allocations: 54.29 MB / 0.5658 GB, free: 29.92 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.621, allocations: 0 / 0.5658 GB, free: 29.92 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001063/0.6211, allocations: 57.75 kB / 0.5658 GB, free: 29.91 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.005258/0.6263, allocations: 2.614 MB / 0.5684 GB, free: 28.38 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.6264, allocations: 9.094 kB / 0.5684 GB, free: 28.38 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002978/0.6267, allocations: 280.4 kB / 0.5687 GB, free: 28.28 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000591/0.6273, allocations: 303.3 kB / 0.569 GB, free: 28.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001909/0.6292, allocations: 1.367 MB / 0.5703 GB, free: 27.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001457/0.6294, allocations: 239.2 kB / 0.5705 GB, free: 27.36 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004335/0.6298, allocations: 236.3 kB / 0.5708 GB, free: 27.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003253/0.6331, allocations: 2.18 MB / 0.5729 GB, free: 26.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.218e-05/0.6331, allocations: 2.375 kB / 0.5729 GB, free: 26.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001728/0.6333, allocations: 82 kB / 0.573 GB, free: 26.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.667e-05/0.6333, allocations: 48 kB / 0.573 GB, free: 26.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003241/0.6366, allocations: 1.931 MB / 0.5749 GB, free: 25.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009193/0.6458, allocations: 7.921 MB / 0.5826 GB, free: 17.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002795/0.6486, allocations: 2.1 MB / 0.5847 GB, free: 15.72 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.181e-05/0.6487, allocations: 25.98 kB / 0.5847 GB, free: 15.7 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.6487, allocations: 68.5 kB / 0.5848 GB, free: 15.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=208): time 3.477e-06/0.6488, allocations: 0 / 0.5848 GB, free: 15.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=250): time 0.04588/0.6946, allocations: 14.41 MB / 0.5988 GB, free: 1.082 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.465e-05/0.6948, allocations: 397.8 kB / 0.5992 GB, free: 0.6055 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001853/0.6966, allocations: 1.339 MB / 0.6005 GB, free: 15.26 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002558/0.6969, allocations: 77.69 kB / 0.6006 GB, free: 15.18 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005248/0.6974, allocations: 0.8043 MB / 0.6014 GB, free: 14.36 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006454/0.6981, allocations: 0.8354 MB / 0.6022 GB, free: 13.52 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/0.6982, allocations: 48 kB / 0.6023 GB, free: 13.47 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.6984, allocations: 394.7 kB / 0.6026 GB, free: 13.08 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00199/0.7004, allocations: 1.004 MB / 0.6036 GB, free: 12.07 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002138/0.7025, allocations: 1.25 MB / 0.6048 GB, free: 10.76 MB / 394.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.03037/0.7329, allocations: 7.445 MB / 0.6121 GB, free: 3.246 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.7329, allocations: 0 / 0.6121 GB, free: 3.246 MB / 394.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.00577/0.7387, allocations: 2.936 MB / 0.615 GB, free: 252 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/0.7388, allocations: 8 kB / 0.615 GB, free: 244 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.826e-05/0.7388, allocations: 11.92 kB / 0.615 GB, free: 232 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000924/0.7397, allocations: 360.9 kB / 0.6153 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002593/0.7423, allocations: 0.5422 MB / 0.6159 GB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007869/0.7502, allocations: 10.1 MB / 0.6257 GB, free: 4.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002373/0.7526, allocations: 139.9 kB / 0.6259 GB, free: 4.273 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002285/0.7529, allocations: 83.91 kB / 0.6259 GB, free: 4.191 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.001104/0.754, allocations: 477.3 kB / 0.6264 GB, free: 3.715 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004374/0.7544, allocations: 205.5 kB / 0.6266 GB, free: 3.512 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007817/0.7622, allocations: 3.45 MB / 0.63 GB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.363e-05/0.7623, allocations: 28 kB / 0.63 GB, free: 15.94 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/0.7623, allocations: 4 kB / 0.63 GB, free: 15.94 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.843e-05/0.7623, allocations: 15.91 kB / 0.63 GB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01387/0.7762, allocations: 6.321 MB / 0.6362 GB, free: 9.453 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/0.7762, allocations: 0 / 0.6362 GB, free: 9.453 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002022/0.7783, allocations: 431.4 kB / 0.6366 GB, free: 9.031 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006158/0.7844, allocations: 1.249 MB / 0.6378 GB, free: 7.754 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002483/0.7847, allocations: 68.16 kB / 0.6379 GB, free: 7.688 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02037/0.8051, allocations: 17.68 MB / 0.6551 GB, free: 4.801 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.8051, allocations: 8.094 kB / 0.6551 GB, free: 4.793 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01168/0.8168, allocations: 5.141 MB / 0.6602 GB, free: 15.5 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001186/0.818, allocations: 0.5256 MB / 0.6607 GB, free: 14.96 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003159/0.8184, allocations: 60.23 kB / 0.6607 GB, free: 14.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001912/0.8203, allocations: 151.9 kB / 0.6609 GB, free: 14.75 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004828/0.8208, allocations: 205.7 kB / 0.6611 GB, free: 14.55 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001518/0.8209, allocations: 75.98 kB / 0.6611 GB, free: 14.48 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0014/0.8223, allocations: 1.033 MB / 0.6622 GB, free: 13.44 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.8224, allocations: 3.938 kB / 0.6622 GB, free: 13.44 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002521/0.8249, allocations: 0.7108 MB / 0.6629 GB, free: 12.73 MB / 458.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.01226/0.8372, allocations: 6.083 MB / 0.6688 GB, free: 6.508 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006163/0.8434, allocations: 3.395 MB / 0.6721 GB, free: 2.984 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/0.8434, allocations: 0 / 0.6721 GB, free: 2.984 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003991/0.8474, allocations: 2.64 MB / 0.6747 GB, free: 228 kB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.19/1.037, allocations: 322.9 kB / 0.675 GB, free: 127.2 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01152/1.049, allocations: 8.218 MB / 0.683 GB, free: 123.4 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001313/1.05, allocations: 1.615 MB / 0.6846 GB, free: 122.7 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001794/1.052, allocations: 286.2 kB / 0.6849 GB, free: 122.6 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001394/1.054, allocations: 0.8992 MB / 0.6857 GB, free: 122.6 MB / 458.7 MB Notification: Performance of SimCode: time 2.695e-06/1.054, allocations: 3.5 kB / 0.6858 GB, free: 122.6 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06948/1.123, allocations: 52.6 MB / 0.7371 GB, free: 103.5 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001598/1.123, allocations: 257.5 kB / 0.7374 GB, free: 103.2 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.623/4.746, allocations: 0 / 0.7374 GB, free: 103.2 MB / 458.7 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)