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.001508/0.001508, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.579/1.579, allocations: 225.4 MB / 240.1 MB, free: 15.03 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001011/0.001011, allocations: 89.53 kB / 292.1 MB, free: 6.012 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.064e-05/3.067e-05, allocations: 4 kB / 350.6 MB, free: 2.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1074, allocations: 51.49 MB / 402.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3714/0.4788, allocations: 115.4 MB / 0.5054 GB, free: 6.359 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/0.4791, allocations: 86.44 kB / 0.5055 GB, free: 6.316 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1591/0.6382, allocations: 54.28 MB / 0.5585 GB, free: 1.176 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.737e-06/0.6383, allocations: 0 / 0.5585 GB, free: 1.176 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001926/0.6385, allocations: 48 kB / 0.5586 GB, free: 1.129 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.005098/0.6436, allocations: 2.25 MB / 0.5608 GB, free: 14.82 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.6437, allocations: 12.03 kB / 0.5608 GB, free: 14.81 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004053/0.6441, allocations: 274.4 kB / 0.561 GB, free: 14.54 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009657/0.645, allocations: 314.3 kB / 0.5613 GB, free: 14.23 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002358/0.6474, allocations: 1.35 MB / 0.5626 GB, free: 12.82 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001972/0.6476, allocations: 240.9 kB / 0.5629 GB, free: 12.57 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005436/0.6482, allocations: 231.9 kB / 0.5631 GB, free: 12.34 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003675/0.6519, allocations: 2.075 MB / 0.5651 GB, free: 10.18 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.367e-05/0.6519, allocations: 7.906 kB / 0.5651 GB, free: 10.17 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001839/0.6521, allocations: 88 kB / 0.5652 GB, free: 10.09 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-05/0.6522, allocations: 44 kB / 0.5653 GB, free: 10.04 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003299/0.6555, allocations: 1.744 MB / 0.567 GB, free: 8.297 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01228/0.6678, allocations: 7.913 MB / 0.5747 GB, free: 156 kB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2283/0.8961, allocations: 1.949 MB / 0.5766 GB, free: 92.05 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002201/0.8983, allocations: 1.345 MB / 0.5779 GB, free: 92.02 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001173/0.8985, allocations: 30.36 kB / 0.5779 GB, free: 92.02 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.501e-05/0.8985, allocations: 66.53 kB / 0.578 GB, free: 91.98 MB / 442.7 MB Notification: Performance of pre-optimization done (n=208): time 3.857e-06/0.8985, allocations: 0 / 0.578 GB, free: 91.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=250): time 0.04486/0.9434, allocations: 12.64 MB / 0.5903 GB, free: 90.62 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/0.9436, allocations: 388.8 kB / 0.5907 GB, free: 90.18 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002283/0.9458, allocations: 1.324 MB / 0.592 GB, free: 90.02 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003934/0.9463, allocations: 70.28 kB / 0.5921 GB, free: 89.99 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004343/0.9467, allocations: 0.8078 MB / 0.5929 GB, free: 89.76 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007441/0.9475, allocations: 0.8354 MB / 0.5937 GB, free: 89.32 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.9476, allocations: 47.14 kB / 0.5937 GB, free: 89.32 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.9477, allocations: 392.9 kB / 0.5941 GB, free: 89.02 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001521/0.9492, allocations: 0.9127 MB / 0.595 GB, free: 89 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001475/0.9507, allocations: 1.145 MB / 0.5961 GB, free: 88.84 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.02653/0.9773, allocations: 7.102 MB / 0.603 GB, free: 88.32 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.9773, allocations: 5.062 kB / 0.603 GB, free: 88.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.02121/0.9985, allocations: 5.86 MB / 0.6088 GB, free: 87.84 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.458e-05/0.9986, allocations: 5.406 kB / 0.6088 GB, free: 87.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-05/0.9987, allocations: 11.64 kB / 0.6088 GB, free: 87.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01886/1.018, allocations: 3.607 MB / 0.6123 GB, free: 87.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002082/1.02, allocations: 379.1 kB / 0.6127 GB, free: 87.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03925/1.059, allocations: 24.61 MB / 0.6367 GB, free: 69.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002828/1.062, allocations: 144.3 kB / 0.6368 GB, free: 69.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002916/1.062, allocations: 84.03 kB / 0.6369 GB, free: 69.77 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]. 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.0006483/1.063, allocations: 242.1 kB / 0.6371 GB, free: 69.59 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005292/1.063, allocations: 205.1 kB / 0.6373 GB, free: 69.49 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007041/1.07, allocations: 3.228 MB / 0.6405 GB, free: 68.11 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.288e-05/1.07, allocations: 26.94 kB / 0.6405 GB, free: 68.11 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.039e-05/1.07, allocations: 4.344 kB / 0.6405 GB, free: 68.11 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.761e-05/1.071, allocations: 16.69 kB / 0.6405 GB, free: 68.11 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01211/1.083, allocations: 6.092 MB / 0.6465 GB, free: 65.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/1.083, allocations: 3.312 kB / 0.6465 GB, free: 65.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002019/1.085, allocations: 438.3 kB / 0.6469 GB, free: 65.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005303/1.09, allocations: 1.197 MB / 0.6481 GB, free: 65.16 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002975/1.09, allocations: 65.38 kB / 0.6481 GB, free: 65.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01575/1.106, allocations: 16.94 MB / 0.6647 GB, free: 50.41 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.106, allocations: 0 / 0.6647 GB, free: 50.41 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009669/1.116, allocations: 4.771 MB / 0.6693 GB, free: 48.09 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001205/1.117, allocations: 0.5317 MB / 0.6699 GB, free: 47.72 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003439/1.117, allocations: 58.09 kB / 0.6699 GB, free: 47.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002007/1.119, allocations: 155.1 kB / 0.6701 GB, free: 47.64 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004778/1.12, allocations: 205.3 kB / 0.6703 GB, free: 47.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001482/1.12, allocations: 68.58 kB / 0.6703 GB, free: 47.58 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001332/1.121, allocations: 1.014 MB / 0.6713 GB, free: 47.14 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.2e-07/1.121, allocations: 3.781 kB / 0.6713 GB, free: 47.14 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003179/1.125, allocations: 0.7766 MB / 0.6721 GB, free: 47.05 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.0099/1.135, allocations: 5.711 MB / 0.6777 GB, free: 43.26 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00546/1.14, allocations: 3.747 MB / 0.6813 GB, free: 39.53 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/1.14, allocations: 4 kB / 0.6813 GB, free: 39.52 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00318/1.143, allocations: 2.5 MB / 0.6838 GB, free: 37.02 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001963/1.145, allocations: 325.2 kB / 0.6841 GB, free: 36.76 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008436/1.154, allocations: 4.884 MB / 0.6888 GB, free: 32.45 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009507/1.155, allocations: 1.645 MB / 0.6904 GB, free: 31.11 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001307/1.156, allocations: 259.7 kB / 0.6907 GB, free: 30.93 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001121/1.157, allocations: 0.8819 MB / 0.6916 GB, free: 30.12 MB / 442.7 MB Notification: Performance of SimCode: time 2.726e-06/1.157, allocations: 0 / 0.6916 GB, free: 30.12 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3234/1.481, allocations: 61.35 MB / 0.7515 GB, free: 91.89 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001489/1.481, allocations: 215.8 kB / 0.7517 GB, free: 91.68 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.084/5.565, allocations: 0 / 0.7517 GB, free: 91.68 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)