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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0007403/0.0007404, allocations: 96.98 kB / 17.01 MB, free: 6.121 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008621/0.0008621, allocations: 194.2 kB / 17.91 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.307/1.307, allocations: 227.7 MB / 246.4 MB, free: 9.801 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001985/0.0001986, allocations: 11.98 kB / 307.1 MB, free: 0.9219 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08661/0.08682, allocations: 51.51 MB / 358.6 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.008567/0.09543, allocations: 9.307 MB / 367.9 MB, free: 4.062 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1678/0.2632, allocations: 6.153 MB / 374.1 MB, free: 8.672 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001567/0.2648, allocations: 36.81 kB / 374.1 MB, free: 8.672 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009377/0.2658, allocations: 366.3 kB / 374.5 MB, free: 8.672 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002068/0.2679, allocations: 0.7419 MB / 375.2 MB, free: 8.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004378/0.2723, allocations: 1.84 MB / 377.1 MB, free: 8.473 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003646/0.2759, allocations: 3.148 MB / 380.2 MB, free: 7.82 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008278/0.2767, allocations: 0.5841 MB / 380.8 MB, free: 7.684 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001724/0.2785, allocations: 1.046 MB / 381.9 MB, free: 7.465 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00146/0.28, allocations: 1.261 MB / 383.1 MB, free: 7.215 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000279/0.2802, allocations: 147.8 kB / 383.3 MB, free: 7.215 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008911/0.2811, allocations: 380.8 kB / 383.6 MB, free: 7.207 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004901/0.2816, allocations: 0.5402 MB / 384.2 MB, free: 7.113 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00045/0.2821, allocations: 482 kB / 384.6 MB, free: 7 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002145/0.2843, allocations: 2.998 MB / 387.6 MB, free: 5.691 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2843, allocations: 0 / 387.6 MB, free: 5.691 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2843, allocations: 2.062 kB / 387.6 MB, free: 5.691 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.338e-05/0.2843, allocations: 0 / 387.6 MB, free: 5.691 MB / 302.1 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.005739/0.2901, allocations: 2.674 MB / 390.3 MB, free: 4.133 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.2901, allocations: 9.906 kB / 390.3 MB, free: 4.133 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006537/0.2908, allocations: 310 kB / 390.6 MB, free: 3.988 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001851/0.2926, allocations: 1.315 MB / 391.9 MB, free: 3.355 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001914/0.2928, allocations: 240.7 kB / 392.2 MB, free: 3.195 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00047/0.2933, allocations: 240.3 kB / 392.4 MB, free: 3.109 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003436/0.2968, allocations: 2.172 MB / 394.6 MB, free: 1.742 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.738e-05/0.2968, allocations: 5.312 kB / 394.6 MB, free: 1.738 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001545/0.297, allocations: 83.25 kB / 394.7 MB, free: 1.676 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.676e-05/0.297, allocations: 50.7 kB / 394.7 MB, free: 1.672 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00346/0.3005, allocations: 1.944 MB / 396.7 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01087/0.3114, allocations: 7.896 MB / 404.6 MB, free: 10.74 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003318/0.3147, allocations: 2.099 MB / 406.7 MB, free: 9.031 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001963/0.3167, allocations: 1.243 MB / 407.9 MB, free: 7.773 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001052/0.3168, allocations: 28.58 kB / 407.9 MB, free: 7.746 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.238e-05/0.3168, allocations: 60.56 kB / 408 MB, free: 7.68 MB / 318.1 MB Notification: Performance of pre-optimization done (n=208): time 4.058e-06/0.3169, allocations: 0 / 408 MB, free: 7.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=250): time 0.04928/0.3661, allocations: 14.78 MB / 422.8 MB, free: 8.758 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001669/0.3663, allocations: 397.8 kB / 423.2 MB, free: 8.281 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002193/0.3685, allocations: 1.507 MB / 424.7 MB, free: 6.766 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000222/0.3688, allocations: 73.08 kB / 424.7 MB, free: 6.691 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005757/0.3693, allocations: 0.8185 MB / 425.6 MB, free: 5.863 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00068/0.37, allocations: 0.8431 MB / 426.4 MB, free: 5.031 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.3702, allocations: 48 kB / 426.4 MB, free: 4.984 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.3704, allocations: 398.7 kB / 426.8 MB, free: 4.59 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002039/0.3724, allocations: 1.02 MB / 427.9 MB, free: 3.566 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002235/0.3747, allocations: 1.264 MB / 429.1 MB, free: 2.234 MB / 334.1 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.02762/0.4023, allocations: 7.468 MB / 436.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.4023, allocations: 4 kB / 436.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.005667/0.408, allocations: 2.974 MB / 439.6 MB, free: 7.664 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.408, allocations: 4 kB / 439.6 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.161e-05/0.408, allocations: 8 kB / 439.6 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008713/0.4089, allocations: 351.4 kB / 439.9 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002546/0.4115, allocations: 0.5561 MB / 440.5 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00841/0.4199, allocations: 10.02 MB / 450.5 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002496/0.4224, allocations: 151.8 kB / 450.7 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001677/0.4226, allocations: 83.95 kB / 450.7 MB, free: 11.7 MB / 366.1 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: 10 * 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 (256): * Single equations (assignments): 244 * 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.001052/0.4237, allocations: 469.1 kB / 451.2 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004012/0.4241, allocations: 205.6 kB / 451.4 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008211/0.4323, allocations: 3.544 MB / 454.9 MB, free: 7.406 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.978e-05/0.4323, allocations: 24 kB / 455 MB, free: 7.383 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.4323, allocations: 4 kB / 455 MB, free: 7.379 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.707e-05/0.4324, allocations: 16.42 kB / 455 MB, free: 7.363 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01216/0.4445, allocations: 6.273 MB / 461.3 MB, free: 1.004 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.208e-06/0.4446, allocations: 8 kB / 461.3 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001965/0.4465, allocations: 431.4 kB / 461.7 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005706/0.4523, allocations: 1.243 MB / 462.9 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001939/0.4525, allocations: 67.97 kB / 463 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01942/0.4719, allocations: 17.4 MB / 480.4 MB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/0.4719, allocations: 4.031 kB / 480.4 MB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0106/0.4825, allocations: 5.015 MB / 485.4 MB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001752/0.4843, allocations: 0.5256 MB / 485.9 MB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004918/0.4848, allocations: 56 kB / 486 MB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001847/0.4867, allocations: 151.9 kB / 486.1 MB, free: 6.773 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005155/0.4872, allocations: 202.1 kB / 486.3 MB, free: 6.574 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001516/0.4874, allocations: 73.94 kB / 486.4 MB, free: 6.504 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001493/0.4889, allocations: 1.033 MB / 487.4 MB, free: 5.473 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4889, allocations: 3.938 kB / 487.5 MB, free: 5.469 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002951/0.4919, allocations: 0.703 MB / 488.2 MB, free: 4.766 MB / 398.1 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.0005419/0.4924, allocations: 261.5 kB / 488.4 MB, free: 4.512 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005638/0.4981, allocations: 3.408 MB / 491.8 MB, free: 0.9766 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.942e-06/0.4981, allocations: 4 kB / 491.8 MB, free: 0.9727 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003699/0.5018, allocations: 2.62 MB / 494.4 MB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002024/0.5038, allocations: 374.9 kB / 494.8 MB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009218/0.5131, allocations: 6.389 MB / 0.4895 GB, free: 7.441 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001303/0.5144, allocations: 1.565 MB / 0.491 GB, free: 5.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001381/0.5158, allocations: 287.9 kB / 0.4913 GB, free: 5.555 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005959/0.5164, allocations: 155.4 kB / 0.4914 GB, free: 5.406 MB / 414.1 MB Notification: Performance of SimCode: time 7.21e-07/0.5164, allocations: 4 kB / 0.4914 GB, free: 5.402 MB / 414.1 MB Notification: Performance of Templates: time 0.0569/0.5733, allocations: 35.32 MB / 0.5259 GB, free: 2.301 MB / 446.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches