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.001113/0.001113, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001173/0.001173, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 63.89 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2559, allocations: 50.54 MB / 409.3 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01024/0.2662, allocations: 10.59 MB / 419.8 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01071/0.277, allocations: 6.387 MB / 426.2 MB, free: 0.543 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001608/0.2786, allocations: 39.81 kB / 426.3 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001265/0.2799, allocations: 495.8 kB / 426.8 MB, free: 16 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002277/0.2822, allocations: 0.896 MB / 427.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005035/0.2873, allocations: 2.52 MB / 430.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003627/0.2909, allocations: 3.473 MB / 433.6 MB, free: 9.109 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009173/0.2918, allocations: 0.7527 MB / 434.4 MB, free: 8.316 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001481/0.2933, allocations: 1.277 MB / 435.7 MB, free: 7.035 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001563/0.2949, allocations: 1.475 MB / 437.1 MB, free: 5.555 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000393/0.2953, allocations: 331.9 kB / 437.5 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009433/0.2963, allocations: 0.5738 MB / 438 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005736/0.2968, allocations: 0.7321 MB / 438.8 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001152/0.298, allocations: 1.396 MB / 440.2 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00344/0.3015, allocations: 3.954 MB / 444.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.3015, allocations: 4 kB / 444.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3015, allocations: 0 / 444.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.435e-05/0.3015, allocations: 0 / 444.1 MB, free: 14.55 MB / 366.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.006594/0.3081, allocations: 3.166 MB / 447.3 MB, free: 11.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.3082, allocations: 8.031 kB / 447.3 MB, free: 11.31 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007108/0.3089, allocations: 319.1 kB / 447.6 MB, free: 11 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001997/0.3109, allocations: 1.41 MB / 449 MB, free: 9.535 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001892/0.3111, allocations: 233.5 kB / 449.3 MB, free: 9.289 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004995/0.3116, allocations: 240 kB / 449.5 MB, free: 9.055 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003623/0.3153, allocations: 2.169 MB / 451.7 MB, free: 6.805 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.233e-05/0.3153, allocations: 0 / 451.7 MB, free: 6.805 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001737/0.3155, allocations: 84 kB / 451.7 MB, free: 6.723 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.275e-05/0.3155, allocations: 48 kB / 451.8 MB, free: 6.676 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003695/0.3192, allocations: 1.916 MB / 453.7 MB, free: 4.758 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01082/0.3301, allocations: 7.796 MB / 461.5 MB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003428/0.3335, allocations: 2.084 MB / 463.6 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002965/0.3365, allocations: 1.575 MB / 465.2 MB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001162/0.3367, allocations: 41.86 kB / 465.2 MB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.314e-05/0.3367, allocations: 68.48 kB / 465.3 MB, free: 8.914 MB / 382.1 MB Notification: Performance of pre-optimization done (n=208): time 4.589e-06/0.3367, allocations: 0 / 465.3 MB, free: 8.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=250): time 0.05015/0.3869, allocations: 14.17 MB / 479.4 MB, free: 10.59 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000167/0.3871, allocations: 397.8 kB / 479.8 MB, free: 10.11 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002025/0.3891, allocations: 1.523 MB / 481.3 MB, free: 8.578 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002226/0.3894, allocations: 69.7 kB / 481.4 MB, free: 8.504 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005628/0.3899, allocations: 0.8408 MB / 482.3 MB, free: 7.652 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006882/0.3906, allocations: 0.8753 MB / 483.1 MB, free: 6.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006663/0.3913, allocations: 408.6 kB / 483.5 MB, free: 6.363 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.05e-05/0.3914, allocations: 305.1 kB / 483.8 MB, free: 6.062 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002142/0.3935, allocations: 0.9963 MB / 484.8 MB, free: 5.062 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002392/0.3959, allocations: 1.264 MB / 486.1 MB, free: 3.73 MB / 398.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.03176/0.4277, allocations: 9.429 MB / 495.5 MB, free: 10.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.277e-06/0.4278, allocations: 3.938 kB / 495.5 MB, free: 10.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.005896/0.4337, allocations: 2.953 MB / 498.5 MB, free: 7.156 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.4337, allocations: 11.94 kB / 498.5 MB, free: 7.145 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.494e-05/0.4337, allocations: 4 kB / 498.5 MB, free: 7.141 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009615/0.4347, allocations: 353 kB / 498.8 MB, free: 6.777 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002604/0.4373, allocations: 0.5539 MB / 499.4 MB, free: 6.223 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00865/0.446, allocations: 10.94 MB / 0.4984 GB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002456/0.4485, allocations: 123.9 kB / 0.4985 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002312/0.4487, allocations: 92.02 kB / 0.4986 GB, free: 10.23 MB / 430.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: transformer.winding13.i = transformer.I1Start[3] transformer.H[2] = transformer.HStart[2]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 9 (diode6.off,diode5.off,diode4.off,diode3.off,diode2.off,diode1.off,transformer.core3.asc,transformer.core2.asc,transformer.core1.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (259): * Single equations (assignments): 247 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,6,100.0%), (1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,6), (2,6), (2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.001089/0.4498, allocations: 469.4 kB / 0.499 GB, free: 9.766 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004958/0.4503, allocations: 218.6 kB / 0.4992 GB, free: 9.551 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008453/0.4588, allocations: 3.465 MB / 0.5026 GB, free: 5.996 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.779e-05/0.4589, allocations: 24 kB / 0.5026 GB, free: 5.973 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.4589, allocations: 4 kB / 0.5026 GB, free: 5.969 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-05/0.4589, allocations: 19.94 kB / 0.5027 GB, free: 5.949 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01344/0.4724, allocations: 6.262 MB / 0.5088 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/0.4724, allocations: 0 / 0.5088 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00204/0.4745, allocations: 431.4 kB / 0.5092 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005561/0.48, allocations: 1.206 MB / 0.5104 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003146/0.4804, allocations: 63.97 kB / 0.5104 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02092/0.5013, allocations: 18.88 MB / 0.5289 GB, free: 9.699 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.5013, allocations: 0 / 0.5289 GB, free: 9.699 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01077/0.5121, allocations: 4.945 MB / 0.5337 GB, free: 4.633 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001208/0.5134, allocations: 0.5384 MB / 0.5342 GB, free: 4.074 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003145/0.5137, allocations: 55.98 kB / 0.5343 GB, free: 4.02 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001755/0.5155, allocations: 135.8 kB / 0.5344 GB, free: 3.887 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005512/0.516, allocations: 201.7 kB / 0.5346 GB, free: 3.688 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001671/0.5162, allocations: 71.92 kB / 0.5347 GB, free: 3.617 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001473/0.5177, allocations: 1.057 MB / 0.5357 GB, free: 2.562 MB / 462.1 MB Notification: Performance of sort global known variables: time 6.31e-07/0.5177, allocations: 0 / 0.5357 GB, free: 2.562 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002932/0.5206, allocations: 0.6912 MB / 0.5364 GB, free: 1.871 MB / 462.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 (205): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,6,100.0%), (1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(1,8), (1,8), (1,8), (2,6), (2,6), (2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006365/0.5213, allocations: 261.3 kB / 0.5366 GB, free: 1.605 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.2031/0.7244, allocations: 3.37 MB / 0.5399 GB, free: 125.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/0.7244, allocations: 1.438 kB / 0.5399 GB, free: 125.1 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004044/0.7285, allocations: 2.603 MB / 0.5425 GB, free: 124 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002261/0.7307, allocations: 393.6 kB / 0.5428 GB, free: 124 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007742/0.7385, allocations: 5.37 MB / 0.5481 GB, free: 121.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000854/0.7394, allocations: 1.57 MB / 0.5496 GB, free: 120.9 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001271/0.7406, allocations: 300.6 kB / 0.5499 GB, free: 120.8 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005804/0.7412, allocations: 164.4 kB / 0.55 GB, free: 120.8 MB / 462.1 MB Notification: Performance of SimCode: time 5.91e-07/0.7412, allocations: 0 / 0.55 GB, free: 120.8 MB / 462.1 MB Notification: Performance of Templates: time 0.04791/0.7892, allocations: 39.72 MB / 0.5888 GB, free: 85.38 MB / 462.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