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: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|capacitor1.v|capacitor2.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|capacitor1.v|capacitor2.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001245/0.001245, allocations: 202.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.466/1.466, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009861/0.0009861, allocations: 100.4 kB / 286.7 MB, free: 5.258 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.687e-05/1.73e-05, allocations: 0 / 343.7 MB, free: 8.289 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.104, allocations: 51.48 MB / 395.2 MB, free: 4.773 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4051/0.5092, allocations: 114.8 MB / 0.498 GB, free: 10.88 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000264/0.5095, allocations: 85.05 kB / 0.4981 GB, free: 10.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1539/0.6634, allocations: 53.67 MB / 0.5505 GB, free: 9.824 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.6634, allocations: 0 / 0.5505 GB, free: 9.824 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002372/0.6637, allocations: 48 kB / 0.5505 GB, free: 9.777 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.007088/0.6708, allocations: 2.247 MB / 0.5527 GB, free: 7.473 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.6708, allocations: 8.031 kB / 0.5527 GB, free: 7.465 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001565/0.6724, allocations: 306.3 kB / 0.553 GB, free: 7.164 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003431/0.6759, allocations: 1.354 MB / 0.5543 GB, free: 5.758 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002649/0.6762, allocations: 180.9 kB / 0.5545 GB, free: 5.562 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009213/0.6771, allocations: 155.8 kB / 0.5547 GB, free: 5.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004071/0.6812, allocations: 1.624 MB / 0.5562 GB, free: 3.785 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004427/0.6856, allocations: 1.792 MB / 0.558 GB, free: 1.906 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.361e-05/0.6857, allocations: 0 / 0.558 GB, free: 1.906 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002883/0.686, allocations: 4 kB / 0.558 GB, free: 1.902 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.033e-05/0.6861, allocations: 48 kB / 0.558 GB, free: 1.855 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01546/0.7015, allocations: 7.572 MB / 0.5654 GB, free: 10.07 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003213/0.7048, allocations: 1.864 MB / 0.5673 GB, free: 8.18 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00236/0.7072, allocations: 1.273 MB / 0.5685 GB, free: 6.898 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001358/0.7073, allocations: 29.98 kB / 0.5685 GB, free: 6.867 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.6e-05/0.7074, allocations: 60.56 kB / 0.5686 GB, free: 6.801 MB / 442.7 MB Notification: Performance of pre-optimization done (n=208): time 4.188e-06/0.7074, allocations: 0 / 0.5686 GB, free: 6.801 MB / 442.7 MB Notification: Performance of matching and sorting (n=250): time 0.3286/1.036, allocations: 9.097 MB / 0.5775 GB, free: 91.98 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/1.036, allocations: 390.3 kB / 0.5778 GB, free: 91.54 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003379/1.04, allocations: 1.187 MB / 0.579 GB, free: 91.39 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005788/1.04, allocations: 25.7 kB / 0.579 GB, free: 91.36 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007998/1.041, allocations: 0.8074 MB / 0.5798 GB, free: 91.15 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001157/1.042, allocations: 0.8043 MB / 0.5806 GB, free: 90.71 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004414/1.043, allocations: 0 / 0.5806 GB, free: 90.71 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002276/1.043, allocations: 394.7 kB / 0.581 GB, free: 90.41 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002737/1.046, allocations: 0.866 MB / 0.5818 GB, free: 90.4 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002932/1.049, allocations: 1.088 MB / 0.5829 GB, free: 90.25 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.03391/1.083, allocations: 6.948 MB / 0.5897 GB, free: 89.96 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/1.083, allocations: 0 / 0.5897 GB, free: 89.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.02032/1.103, allocations: 5.649 MB / 0.5952 GB, free: 89.57 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.008e-05/1.103, allocations: 9.484 kB / 0.5952 GB, free: 89.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.735e-05/1.103, allocations: 6.312 kB / 0.5952 GB, free: 89.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01743/1.12, allocations: 3.576 MB / 0.5987 GB, free: 89.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001788/1.122, allocations: 378.9 kB / 0.5991 GB, free: 89.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.037/1.159, allocations: 23.97 MB / 0.6225 GB, free: 74.58 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002813/1.162, allocations: 102.8 kB / 0.6226 GB, free: 74.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006604/1.163, allocations: 83.11 kB / 0.6227 GB, free: 74.55 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.001041/1.164, allocations: 154.8 kB / 0.6228 GB, free: 74.44 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007887/1.165, allocations: 206.7 kB / 0.623 GB, free: 74.33 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007532/1.172, allocations: 2.975 MB / 0.6259 GB, free: 73.09 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.024e-05/1.172, allocations: 30.42 kB / 0.6259 GB, free: 73.09 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.894e-05/1.172, allocations: 8.625 kB / 0.6259 GB, free: 73.09 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.114e-05/1.172, allocations: 11.8 kB / 0.6259 GB, free: 73.09 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01231/1.185, allocations: 5.645 MB / 0.6315 GB, free: 70.69 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.367e-05/1.185, allocations: 1.312 kB / 0.6315 GB, free: 70.69 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002265/1.187, allocations: 434.8 kB / 0.6319 GB, free: 70.67 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005227/1.192, allocations: 1.175 MB / 0.633 GB, free: 70.35 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004673/1.193, allocations: 31.38 kB / 0.6331 GB, free: 70.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01526/1.208, allocations: 16.43 MB / 0.6491 GB, free: 56.27 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/1.208, allocations: 0.7969 kB / 0.6491 GB, free: 56.27 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0098/1.218, allocations: 4.553 MB / 0.6536 GB, free: 54.02 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001226/1.219, allocations: 0.5194 MB / 0.6541 GB, free: 53.66 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005449/1.22, allocations: 13.75 kB / 0.6541 GB, free: 53.65 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002065/1.222, allocations: 112.5 kB / 0.6542 GB, free: 53.64 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005419/1.222, allocations: 196.1 kB / 0.6544 GB, free: 53.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001858/1.223, allocations: 72.89 kB / 0.6544 GB, free: 53.59 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001308/1.224, allocations: 0.8844 MB / 0.6553 GB, free: 53.19 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.61e-07/1.224, allocations: 4 kB / 0.6553 GB, free: 53.18 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003402/1.227, allocations: 0.684 MB / 0.656 GB, free: 53.18 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.0006557/1.228, allocations: 256 kB / 0.6562 GB, free: 53.05 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004736/1.233, allocations: 3.566 MB / 0.6597 GB, free: 50.91 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/1.233, allocations: 0 / 0.6597 GB, free: 50.91 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002891/1.236, allocations: 2.353 MB / 0.662 GB, free: 49.35 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00168/1.237, allocations: 229.7 kB / 0.6622 GB, free: 49.28 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007309/1.245, allocations: 4.275 MB / 0.6664 GB, free: 47.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001512/1.246, allocations: 1.64 MB / 0.668 GB, free: 46.4 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001676/1.248, allocations: 254 kB / 0.6682 GB, free: 46.36 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005747/1.249, allocations: 126.1 kB / 0.6684 GB, free: 46.35 MB / 442.7 MB Notification: Performance of SimCode: time 6.01e-07/1.249, allocations: 0 / 0.6684 GB, free: 46.35 MB / 442.7 MB Notification: Performance of Templates: time 0.05224/1.301, allocations: 38.89 MB / 0.7063 GB, free: 30.51 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.makefile (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 & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/ThreePhaseTransformerWithRectifier/ThreePhaseTransformerWithRectifier.csv","../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches