Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009224/0.0009224, allocations: 96.34 kB / 16.3 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009415/0.0009417, allocations: 181.7 kB / 17.19 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.249/1.249, allocations: 223.2 MB / 241.1 MB, free: 280 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002371/0.0002371, allocations: 11.94 kB / 300.7 MB, free: 6.453 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.082/0.08225, allocations: 50.41 MB / 351.1 MB, free: 4.027 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.008106/0.09038, allocations: 8.485 MB / 359.6 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01028/0.1007, allocations: 6.158 MB / 365.8 MB, free: 5.336 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001614/0.1023, allocations: 35.81 kB / 365.8 MB, free: 5.301 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00155/0.1039, allocations: 393.6 kB / 366.2 MB, free: 4.914 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002729/0.1067, allocations: 0.8918 MB / 367.1 MB, free: 4.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004641/0.1113, allocations: 1.753 MB / 368.8 MB, free: 2.281 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003611/0.1149, allocations: 2.117 MB / 371 MB, free: 164 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1513/0.2663, allocations: 0.5809 MB / 371.5 MB, free: 9.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001717/0.268, allocations: 1.028 MB / 372.6 MB, free: 9.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001706/0.2698, allocations: 1.217 MB / 373.8 MB, free: 9.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005819/0.2704, allocations: 147.7 kB / 373.9 MB, free: 9.73 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001041/0.2714, allocations: 376 kB / 374.3 MB, free: 9.73 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005049/0.2719, allocations: 0.5258 MB / 374.8 MB, free: 9.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004979/0.2724, allocations: 474.9 kB / 375.3 MB, free: 9.699 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003132/0.2756, allocations: 2.981 MB / 378.3 MB, free: 9.496 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2756, allocations: 0 / 378.3 MB, free: 9.496 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.2756, allocations: 0 / 378.3 MB, free: 9.496 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001092/0.2757, allocations: 3.594 kB / 378.3 MB, free: 9.496 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.007565/0.2833, allocations: 2.665 MB / 380.9 MB, free: 8.285 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.2833, allocations: 10.94 kB / 381 MB, free: 8.285 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009452/0.2843, allocations: 271.1 kB / 381.2 MB, free: 8.152 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002729/0.287, allocations: 1.3 MB / 382.5 MB, free: 7.754 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002149/0.2872, allocations: 244.6 kB / 382.8 MB, free: 7.652 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006435/0.2879, allocations: 241.2 kB / 383 MB, free: 7.645 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004175/0.2921, allocations: 2.153 MB / 385.1 MB, free: 7.121 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.38e-05/0.2921, allocations: 5 kB / 385.1 MB, free: 7.121 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001766/0.2923, allocations: 80.19 kB / 385.2 MB, free: 7.121 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.643e-05/0.2924, allocations: 52.06 kB / 385.3 MB, free: 7.117 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003732/0.2961, allocations: 1.942 MB / 387.2 MB, free: 6.816 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01072/0.3069, allocations: 7.885 MB / 395.1 MB, free: 2.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00303/0.3099, allocations: 2.101 MB / 397.2 MB, free: 2.125 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.7e-05/0.31, allocations: 25.19 kB / 397.2 MB, free: 2.125 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.3101, allocations: 69.12 kB / 397.3 MB, free: 2.062 MB / 302.1 MB Notification: Performance of pre-optimization done (n=208): time 3.536e-06/0.3101, allocations: 0 / 397.3 MB, free: 2.062 MB / 302.1 MB Notification: Performance of matching and sorting (n=250): time 0.05175/0.3618, allocations: 14.77 MB / 412.1 MB, free: 5.273 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002007/0.3621, allocations: 390.8 kB / 412.5 MB, free: 4.809 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002593/0.3647, allocations: 1.491 MB / 413.9 MB, free: 3.309 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003196/0.365, allocations: 73.7 kB / 414 MB, free: 3.23 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005936/0.3656, allocations: 0.8191 MB / 414.8 MB, free: 2.406 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007897/0.3664, allocations: 0.8438 MB / 415.7 MB, free: 1.574 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001461/0.3666, allocations: 48 kB / 415.7 MB, free: 1.527 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002142/0.3668, allocations: 390.8 kB / 416.1 MB, free: 1.141 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002155/0.3689, allocations: 1.012 MB / 417.1 MB, free: 128 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00219/0.3711, allocations: 1.27 MB / 418.4 MB, free: 14.79 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.0303/0.4015, allocations: 7.465 MB / 425.9 MB, free: 7.27 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.501e-05/0.4015, allocations: 7.953 kB / 425.9 MB, free: 7.262 MB / 334.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006732/0.4082, allocations: 2.967 MB / 428.8 MB, free: 4.234 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/0.4083, allocations: 8 kB / 428.8 MB, free: 4.227 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.019e-05/0.4083, allocations: 7.984 kB / 428.8 MB, free: 4.219 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009612/0.4093, allocations: 365 kB / 429.2 MB, free: 3.852 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002661/0.412, allocations: 0.5539 MB / 429.8 MB, free: 3.297 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008385/0.4204, allocations: 10.1 MB / 439.9 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002729/0.4231, allocations: 147.2 kB / 440 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004135/0.4236, allocations: 83.95 kB / 440.1 MB, free: 8.199 MB / 350.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.001303/0.4249, allocations: 471.7 kB / 440.5 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006088/0.4255, allocations: 205.6 kB / 440.7 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00848/0.434, allocations: 3.532 MB / 444.3 MB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.629e-05/0.434, allocations: 28 kB / 444.3 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/0.4341, allocations: 4 kB / 444.3 MB, free: 3.871 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.88e-05/0.4341, allocations: 11.95 kB / 444.3 MB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01285/0.447, allocations: 6.276 MB / 450.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/0.447, allocations: 4 kB / 450.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002041/0.4491, allocations: 427.5 kB / 451 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00592/0.455, allocations: 1.264 MB / 452.3 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003497/0.4554, allocations: 67.97 kB / 452.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02073/0.4761, allocations: 17.65 MB / 470 MB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.4761, allocations: 4.031 kB / 470 MB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01089/0.487, allocations: 5.051 MB / 475 MB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001416/0.4885, allocations: 0.5333 MB / 475.6 MB, free: 3.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003916/0.4889, allocations: 55.98 kB / 475.6 MB, free: 3.105 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001882/0.4908, allocations: 156.2 kB / 475.8 MB, free: 2.953 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004857/0.4913, allocations: 205.7 kB / 476 MB, free: 2.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001474/0.4914, allocations: 67.98 kB / 476.1 MB, free: 2.684 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00149/0.4929, allocations: 1.029 MB / 477.1 MB, free: 1.656 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.4929, allocations: 3.938 kB / 477.1 MB, free: 1.652 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002802/0.4958, allocations: 0.6914 MB / 477.8 MB, free: 0.9609 MB / 382.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.0005575/0.4963, allocations: 262.4 kB / 478 MB, free: 0.707 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005608/0.5019, allocations: 3.41 MB / 481.4 MB, free: 13.17 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.502, allocations: 4 kB / 481.4 MB, free: 13.17 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003772/0.5057, allocations: 2.634 MB / 484.1 MB, free: 10.42 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001894/0.5077, allocations: 327 kB / 484.4 MB, free: 10.1 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009089/0.5168, allocations: 6.363 MB / 490.8 MB, free: 3.695 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001171/0.518, allocations: 1.612 MB / 492.4 MB, free: 2.047 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0015/0.5195, allocations: 283.8 kB / 492.7 MB, free: 1.766 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006007/0.5201, allocations: 166.1 kB / 492.8 MB, free: 1.605 MB / 398.1 MB Notification: Performance of SimCode: time 7.82e-07/0.5201, allocations: 0 / 492.8 MB, free: 1.605 MB / 398.1 MB Notification: Performance of Templates: time 0.0544/0.5745, allocations: 35.25 MB / 0.5157 GB, free: 14.66 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches