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.00115/0.00115, allocations: 116.1 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001076/0.001076, allocations: 200.7 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.292/1.292, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001006/0.001006, allocations: 63.89 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2524, allocations: 50.54 MB / 409.3 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01005/0.2625, allocations: 10.58 MB / 419.8 MB, free: 6.965 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009726/0.2722, allocations: 6.387 MB / 426.2 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001478/0.2737, allocations: 39.81 kB / 426.3 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001112/0.2749, allocations: 495.8 kB / 426.7 MB, free: 32 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002104/0.277, allocations: 0.896 MB / 427.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004971/0.282, allocations: 2.531 MB / 430.2 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003619/0.2856, allocations: 3.469 MB / 433.6 MB, free: 9.121 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009136/0.2866, allocations: 0.7565 MB / 434.4 MB, free: 8.324 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001509/0.2881, allocations: 1.277 MB / 435.7 MB, free: 7.043 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001657/0.2898, allocations: 1.475 MB / 437.2 MB, free: 5.562 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004235/0.2902, allocations: 331.9 kB / 437.5 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009361/0.2911, allocations: 0.5699 MB / 438 MB, free: 4.668 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005673/0.2917, allocations: 0.7321 MB / 438.8 MB, free: 3.934 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001231/0.293, allocations: 1.4 MB / 440.2 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003477/0.2964, allocations: 3.954 MB / 444.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2965, allocations: 7.938 kB / 444.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2965, allocations: 0 / 444.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.538e-05/0.2965, 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.006846/0.3034, allocations: 3.158 MB / 447.3 MB, free: 11.33 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.3034, allocations: 12.03 kB / 447.3 MB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007237/0.3042, allocations: 323.1 kB / 447.6 MB, free: 11 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00214/0.3063, allocations: 1.402 MB / 449 MB, free: 9.547 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002236/0.3065, allocations: 237.5 kB / 449.3 MB, free: 9.297 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005025/0.3071, allocations: 247.9 kB / 449.5 MB, free: 9.055 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003574/0.3106, allocations: 2.158 MB / 451.7 MB, free: 6.816 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.161e-05/0.3107, allocations: 11.94 kB / 451.7 MB, free: 6.805 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001633/0.3109, allocations: 84 kB / 451.8 MB, free: 6.723 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.03e-05/0.3109, allocations: 48 kB / 451.8 MB, free: 6.676 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003698/0.3146, allocations: 1.92 MB / 453.7 MB, free: 4.754 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01057/0.3252, allocations: 7.785 MB / 461.5 MB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003251/0.3285, allocations: 2.088 MB / 463.6 MB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002757/0.3313, allocations: 1.575 MB / 465.2 MB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001063/0.3314, allocations: 33.88 kB / 465.2 MB, free: 9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.106e-05/0.3314, allocations: 68.55 kB / 465.3 MB, free: 8.926 MB / 382.1 MB Notification: Performance of pre-optimization done (n=208): time 3.577e-06/0.3314, allocations: 0 / 465.3 MB, free: 8.926 MB / 382.1 MB Notification: Performance of matching and sorting (n=250): time 0.04799/0.3794, allocations: 14.17 MB / 479.4 MB, free: 10.59 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001627/0.3796, allocations: 397.8 kB / 479.8 MB, free: 10.12 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00212/0.3818, allocations: 1.523 MB / 481.3 MB, free: 8.586 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002281/0.382, allocations: 73.7 kB / 481.4 MB, free: 8.508 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005642/0.3826, allocations: 0.8408 MB / 482.3 MB, free: 7.656 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006766/0.3833, allocations: 0.8675 MB / 483.1 MB, free: 6.781 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007428/0.384, allocations: 408.6 kB / 483.5 MB, free: 6.375 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.563e-05/0.3841, allocations: 309.1 kB / 483.8 MB, free: 6.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002143/0.3863, allocations: 0.9924 MB / 484.8 MB, free: 5.074 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002293/0.3886, allocations: 1.264 MB / 486.1 MB, free: 3.742 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.03118/0.4198, allocations: 9.433 MB / 495.5 MB, free: 10.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.118e-06/0.4198, allocations: 4.031 kB / 495.5 MB, free: 10.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006627/0.4264, allocations: 2.957 MB / 498.5 MB, free: 7.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.809e-05/0.4265, allocations: 7.938 kB / 498.5 MB, free: 7.152 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.813e-05/0.4265, allocations: 8 kB / 498.5 MB, free: 7.145 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009236/0.4275, allocations: 349 kB / 498.8 MB, free: 6.785 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002574/0.43, allocations: 0.5461 MB / 499.4 MB, free: 6.238 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009538/0.4396, allocations: 10.95 MB / 0.4984 GB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002289/0.4419, allocations: 131.9 kB / 0.4985 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000374/0.4423, allocations: 79.95 kB / 0.4986 GB, free: 10.25 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.001173/0.4435, allocations: 465.4 kB / 0.499 GB, free: 9.781 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006304/0.4441, allocations: 222.6 kB / 0.4992 GB, free: 9.562 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008469/0.4526, allocations: 3.465 MB / 0.5026 GB, free: 6.008 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.858e-05/0.4527, allocations: 24 kB / 0.5026 GB, free: 5.984 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.652e-05/0.4527, allocations: 7.984 kB / 0.5026 GB, free: 5.977 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.165e-05/0.4527, allocations: 11.95 kB / 0.5027 GB, free: 5.965 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01301/0.4657, allocations: 6.27 MB / 0.5088 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.4657, allocations: 0 / 0.5088 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001955/0.4677, allocations: 431.4 kB / 0.5092 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005328/0.473, allocations: 1.194 MB / 0.5104 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002002/0.4733, allocations: 59.97 kB / 0.5104 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02071/0.494, allocations: 18.9 MB / 0.5289 GB, free: 9.699 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.494, allocations: 0 / 0.5289 GB, free: 9.699 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01142/0.5054, allocations: 4.948 MB / 0.5337 GB, free: 4.633 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001334/0.5068, allocations: 0.5384 MB / 0.5342 GB, free: 4.074 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005552/0.5074, allocations: 55.98 kB / 0.5343 GB, free: 4.02 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002151/0.5096, allocations: 131.9 kB / 0.5344 GB, free: 3.891 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005814/0.5102, allocations: 205.8 kB / 0.5346 GB, free: 3.688 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002054/0.5104, allocations: 75.92 kB / 0.5347 GB, free: 3.613 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001707/0.5121, allocations: 1.049 MB / 0.5357 GB, free: 2.566 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.824e-06/0.5121, allocations: 0 / 0.5357 GB, free: 2.566 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003087/0.5152, allocations: 0.699 MB / 0.5364 GB, free: 1.867 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.0007304/0.516, allocations: 256.9 kB / 0.5366 GB, free: 1.605 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.1906/0.7066, allocations: 3.355 MB / 0.5399 GB, free: 125 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/0.7066, allocations: 4.312 kB / 0.5399 GB, free: 125 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0038/0.7105, allocations: 2.598 MB / 0.5425 GB, free: 123.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002436/0.7129, allocations: 391.9 kB / 0.5428 GB, free: 123.9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008102/0.721, allocations: 5.375 MB / 0.5481 GB, free: 121.6 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007989/0.7219, allocations: 1.564 MB / 0.5496 GB, free: 120.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001387/0.7233, allocations: 300.5 kB / 0.5499 GB, free: 120.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005675/0.7238, allocations: 168.6 kB / 0.55 GB, free: 120.7 MB / 462.1 MB Notification: Performance of SimCode: time 7.32e-07/0.7238, allocations: 0 / 0.55 GB, free: 120.7 MB / 462.1 MB Notification: Performance of Templates: time 0.05053/0.7744, allocations: 39.73 MB / 0.5888 GB, free: 85.39 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