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.001809/0.001809, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 225.6 MB / 234.8 MB, free: 3.215 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008031/0.0008031, allocations: 88.38 kB / 286.7 MB, free: 5.293 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.044e-05/2.047e-05, allocations: 3.984 kB / 343.8 MB, free: 8.148 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1095, allocations: 51.48 MB / 395.3 MB, free: 4.633 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.372/0.4816, allocations: 114.8 MB / 0.4981 GB, free: 10.53 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003015/0.482, allocations: 90.25 kB / 0.4982 GB, free: 10.48 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1515/0.6335, allocations: 53.66 MB / 0.5506 GB, free: 9.625 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.6336, allocations: 0 / 0.5506 GB, free: 9.625 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002016/0.6338, allocations: 59.92 kB / 0.5506 GB, free: 9.566 MB / 426.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.006125/0.6399, allocations: 2.243 MB / 0.5528 GB, free: 7.266 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.64, allocations: 12.02 kB / 0.5528 GB, free: 7.254 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00123/0.6412, allocations: 308.8 kB / 0.5531 GB, free: 6.949 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003204/0.6444, allocations: 1.354 MB / 0.5544 GB, free: 5.543 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002117/0.6446, allocations: 172.9 kB / 0.5546 GB, free: 5.355 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007519/0.6454, allocations: 151.9 kB / 0.5547 GB, free: 5.207 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003811/0.6492, allocations: 1.624 MB / 0.5563 GB, free: 3.582 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004043/0.6533, allocations: 1.796 MB / 0.5581 GB, free: 1.699 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.626e-05/0.6534, allocations: 0 / 0.5581 GB, free: 1.699 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002036/0.6536, allocations: 7.938 kB / 0.5581 GB, free: 1.691 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.014e-05/0.6536, allocations: 48 kB / 0.5581 GB, free: 1.645 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01425/0.6679, allocations: 7.584 MB / 0.5655 GB, free: 9.848 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002907/0.6708, allocations: 1.852 MB / 0.5674 GB, free: 7.969 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002284/0.6732, allocations: 1.269 MB / 0.5686 GB, free: 6.691 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001283/0.6733, allocations: 27.58 kB / 0.5686 GB, free: 6.664 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.243e-05/0.6734, allocations: 68.5 kB / 0.5687 GB, free: 6.59 MB / 442.7 MB Notification: Performance of pre-optimization done (n=208): time 4.919e-06/0.6735, allocations: 0 / 0.5687 GB, free: 6.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=250): time 0.2526/0.926, allocations: 9.098 MB / 0.5776 GB, free: 91.45 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/0.9262, allocations: 394.2 kB / 0.578 GB, free: 91.01 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001727/0.9279, allocations: 1.181 MB / 0.5791 GB, free: 90.86 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003655/0.9283, allocations: 25.7 kB / 0.5791 GB, free: 90.83 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004186/0.9287, allocations: 0.8137 MB / 0.5799 GB, free: 90.59 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005264/0.9293, allocations: 0.8008 MB / 0.5807 GB, free: 90.15 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.9294, allocations: 0 / 0.5807 GB, free: 90.15 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.9295, allocations: 400.6 kB / 0.5811 GB, free: 89.84 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001398/0.9309, allocations: 0.858 MB / 0.5819 GB, free: 89.84 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00146/0.9324, allocations: 1.089 MB / 0.583 GB, free: 89.68 MB / 442.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.02496/0.9574, allocations: 6.947 MB / 0.5898 GB, free: 89.39 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.9574, allocations: 0 / 0.5898 GB, free: 89.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01935/0.9767, allocations: 5.651 MB / 0.5953 GB, free: 89.01 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.966e-05/0.9768, allocations: 8.969 kB / 0.5953 GB, free: 89.01 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.134e-05/0.9769, allocations: 10.67 kB / 0.5953 GB, free: 89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01771/0.9946, allocations: 3.567 MB / 0.5988 GB, free: 88.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001951/0.9966, allocations: 384.3 kB / 0.5992 GB, free: 88.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03896/1.036, allocations: 23.97 MB / 0.6226 GB, free: 74.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003388/1.039, allocations: 100.8 kB / 0.6227 GB, free: 74.28 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007894/1.04, allocations: 86.52 kB / 0.6227 GB, free: 74.26 MB / 442.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] = $START.transformer.H[1] transformer.H[3] = $START.transformer.H[3]. Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: transformer.core2.Hstat:VARIABLE(unit = "A/m" ) "Static (ferromagnetic) portion of the magnetic field strength" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: transformer.core1.Hstat:VARIABLE(unit = "A/m" ) "Static (ferromagnetic) portion of the magnetic field strength" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: transformer.core3.Hstat:VARIABLE(unit = "A/m" ) "Static (ferromagnetic) portion of the magnetic field strength" type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 180 * 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: 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 19,1 20,1 20,2 7,2 7,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.001104/1.041, allocations: 152 kB / 0.6229 GB, free: 74.15 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009295/1.05, allocations: 3.059 MB / 0.6259 GB, free: 73.01 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008684/1.051, allocations: 200.9 kB / 0.6261 GB, free: 72.91 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008023/1.059, allocations: 2.985 MB / 0.629 GB, free: 71.67 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.88e-05/1.059, allocations: 26.56 kB / 0.629 GB, free: 71.67 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.879e-05/1.059, allocations: 10.69 kB / 0.629 GB, free: 71.67 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.845e-05/1.059, allocations: 11.55 kB / 0.629 GB, free: 71.67 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01409/1.074, allocations: 5.646 MB / 0.6345 GB, free: 69.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-05/1.074, allocations: 0 / 0.6345 GB, free: 69.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002133/1.076, allocations: 432.8 kB / 0.635 GB, free: 69.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005333/1.081, allocations: 1.179 MB / 0.6361 GB, free: 68.92 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004016/1.081, allocations: 26.83 kB / 0.6361 GB, free: 68.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01613/1.098, allocations: 16.43 MB / 0.6522 GB, free: 54.83 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.674e-06/1.098, allocations: 7.828 kB / 0.6522 GB, free: 54.82 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01044/1.108, allocations: 4.545 MB / 0.6566 GB, free: 52.57 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001327/1.109, allocations: 0.5187 MB / 0.6571 GB, free: 52.21 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006238/1.11, allocations: 17.28 kB / 0.6571 GB, free: 52.21 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002124/1.112, allocations: 109 kB / 0.6573 GB, free: 52.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005549/1.113, allocations: 205.2 kB / 0.6574 GB, free: 52.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001818/1.113, allocations: 69.36 kB / 0.6575 GB, free: 52.14 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001334/1.114, allocations: 0.8927 MB / 0.6584 GB, free: 51.73 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.61e-07/1.114, allocations: 3.656 kB / 0.6584 GB, free: 51.73 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003319/1.118, allocations: 0.676 MB / 0.6591 GB, free: 51.72 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 23 (transformer.Phi[1],transformer.Phi[2],transformer.Phi[3],transformer.core1.Hstat,transformer.core2.Hstat,transformer.core3.Hstat,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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (203): * Single equations (assignments): 194 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.009362/1.127, allocations: 5.449 MB / 0.6644 GB, free: 48.74 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004921/1.132, allocations: 3.552 MB / 0.6678 GB, free: 46.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/1.132, allocations: 384 / 0.6678 GB, free: 46.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003932/1.136, allocations: 2.368 MB / 0.6702 GB, free: 45.03 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002611/1.139, allocations: 244.6 kB / 0.6704 GB, free: 44.95 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01225/1.151, allocations: 4.648 MB / 0.6749 GB, free: 42.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001352/1.152, allocations: 1.639 MB / 0.6765 GB, free: 42.01 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001445/1.154, allocations: 249 kB / 0.6768 GB, free: 41.98 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001288/1.155, allocations: 0.8805 MB / 0.6776 GB, free: 41.28 MB / 442.7 MB Notification: Performance of SimCode: time 6.41e-07/1.155, allocations: 3.406 kB / 0.6776 GB, free: 41.28 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08679/1.242, allocations: 55.86 MB / 0.7322 GB, free: 3.688 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001538/1.242, allocations: 173.3 kB / 0.7323 GB, free: 3.5 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.924/5.166, allocations: 32 / 0.7323 GB, free: 3.5 MB / 442.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)