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.001072/0.001072, allocations: 106.9 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0011/0.0011, allocations: 205.8 kB / 18.27 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 227.4 MB / 246.4 MB, free: 10.84 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 59.84 kB / 306.5 MB, free: 0.9258 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1055, allocations: 50.53 MB / 357 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01255/0.1181, allocations: 10.52 MB / 367.5 MB, free: 3.824 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1557/0.2738, allocations: 6.4 MB / 373.9 MB, free: 9.055 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001708/0.2755, allocations: 36.56 kB / 373.9 MB, free: 9.055 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001174/0.2767, allocations: 391.2 kB / 374.3 MB, free: 9.051 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002023/0.2788, allocations: 0.7973 MB / 375.1 MB, free: 9.027 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005279/0.2841, allocations: 2.264 MB / 377.4 MB, free: 8.953 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003756/0.2878, allocations: 3.47 MB / 380.8 MB, free: 7.676 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008924/0.2887, allocations: 0.7499 MB / 381.6 MB, free: 7.328 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001504/0.2902, allocations: 1.292 MB / 382.9 MB, free: 6.707 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00151/0.2918, allocations: 1.476 MB / 384.4 MB, free: 5.992 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004191/0.2922, allocations: 327.9 kB / 384.7 MB, free: 5.992 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009571/0.2932, allocations: 0.5777 MB / 385.3 MB, free: 5.922 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005039/0.2937, allocations: 0.7365 MB / 386 MB, free: 5.457 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001002/0.2947, allocations: 1.407 MB / 387.4 MB, free: 4.566 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002535/0.2972, allocations: 3.89 MB / 391.3 MB, free: 2.273 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2972, allocations: 4.969 kB / 391.3 MB, free: 2.27 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2972, allocations: 0 / 391.3 MB, free: 2.27 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.948e-05/0.2973, allocations: 0 / 391.3 MB, free: 2.27 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.006399/0.3037, allocations: 3.095 MB / 394.4 MB, free: 204 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.3037, allocations: 8.25 kB / 394.4 MB, free: 204 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007218/0.3045, allocations: 299.1 kB / 394.7 MB, free: 60 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002036/0.3065, allocations: 1.366 MB / 396.1 MB, free: 15.03 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002018/0.3067, allocations: 247.5 kB / 396.3 MB, free: 14.86 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005111/0.3072, allocations: 236.4 kB / 396.5 MB, free: 14.77 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003814/0.3111, allocations: 2.168 MB / 398.7 MB, free: 13.4 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.056e-05/0.3111, allocations: 6.625 kB / 398.7 MB, free: 13.4 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001696/0.3113, allocations: 77.66 kB / 398.8 MB, free: 13.34 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.82e-05/0.3114, allocations: 47.19 kB / 398.8 MB, free: 13.34 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003532/0.3149, allocations: 1.924 MB / 400.8 MB, free: 12.39 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01131/0.3262, allocations: 7.845 MB / 408.6 MB, free: 5.012 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003331/0.3296, allocations: 2.067 MB / 410.7 MB, free: 2.91 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001981/0.3316, allocations: 1.236 MB / 411.9 MB, free: 1.672 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001123/0.3317, allocations: 36.84 kB / 411.9 MB, free: 1.641 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.742e-05/0.3318, allocations: 64.48 kB / 412 MB, free: 1.566 MB / 318.1 MB Notification: Performance of pre-optimization done (n=208): time 5.6e-06/0.3318, allocations: 8 kB / 412 MB, free: 1.559 MB / 318.1 MB Notification: Performance of matching and sorting (n=250): time 0.05198/0.3838, allocations: 14.08 MB / 426.1 MB, free: 3.332 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001866/0.384, allocations: 393.8 kB / 426.5 MB, free: 2.863 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002153/0.3861, allocations: 1.519 MB / 428 MB, free: 1.336 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002594/0.3864, allocations: 73.7 kB / 428.1 MB, free: 1.258 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005276/0.3869, allocations: 0.8228 MB / 428.9 MB, free: 436 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006446/0.3876, allocations: 0.8361 MB / 429.7 MB, free: 15.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006686/0.3883, allocations: 407.8 kB / 430.1 MB, free: 15.19 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.142e-05/0.3884, allocations: 313 kB / 430.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002036/0.3904, allocations: 0.9885 MB / 431.4 MB, free: 13.89 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002284/0.3927, allocations: 1.256 MB / 432.7 MB, free: 12.57 MB / 350.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.03396/0.4267, allocations: 9.392 MB / 442.1 MB, free: 3.059 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.4267, allocations: 0 / 442.1 MB, free: 3.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.00603/0.4328, allocations: 2.944 MB / 445 MB, free: 52 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.4328, allocations: 11.98 kB / 445 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.759e-05/0.4328, allocations: 4 kB / 445 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009649/0.4338, allocations: 367.4 kB / 445.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002708/0.4365, allocations: 0.5461 MB / 445.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009199/0.4457, allocations: 11.11 MB / 457 MB, free: 3.195 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002301/0.4481, allocations: 124 kB / 457.2 MB, free: 3.074 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001972/0.4483, allocations: 87.95 kB / 457.3 MB, free: 2.988 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 system: transformer.winding13.i = transformer.I1Start[3] transformer.winding12.i = transformer.I1Start[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 (256): * Single equations (assignments): 244 * 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,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0009889/0.4493, allocations: 460.5 kB / 457.7 MB, free: 2.531 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004305/0.4497, allocations: 213.5 kB / 457.9 MB, free: 2.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008425/0.4581, allocations: 3.456 MB / 461.4 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.228e-05/0.4582, allocations: 28 kB / 461.4 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.4582, allocations: 8.453 kB / 461.4 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.231e-05/0.4582, allocations: 11.95 kB / 461.4 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01286/0.4711, allocations: 6.179 MB / 467.6 MB, free: 8.461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.279e-05/0.4711, allocations: 4 kB / 467.6 MB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002132/0.4733, allocations: 427.5 kB / 468 MB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005856/0.4791, allocations: 1.212 MB / 469.2 MB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004042/0.4796, allocations: 63.92 kB / 469.3 MB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02203/0.5016, allocations: 19.02 MB / 488.3 MB, free: 2.488 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.5016, allocations: 8.094 kB / 488.3 MB, free: 2.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01117/0.5128, allocations: 4.902 MB / 493.2 MB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001251/0.5141, allocations: 0.5295 MB / 493.8 MB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003466/0.5145, allocations: 55.94 kB / 493.8 MB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001947/0.5164, allocations: 136.3 kB / 493.9 MB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005772/0.517, allocations: 201.8 kB / 494.1 MB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001745/0.5172, allocations: 67.98 kB / 494.2 MB, free: 12.46 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001565/0.5188, allocations: 1.049 MB / 495.3 MB, free: 11.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5188, allocations: 7.938 kB / 495.3 MB, free: 11.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002816/0.5216, allocations: 0.6991 MB / 496 MB, free: 10.71 MB / 414.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 (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,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000565/0.5222, allocations: 253.8 kB / 496.2 MB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01011/0.5323, allocations: 3.758 MB / 500 MB, free: 6.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.5323, allocations: 0 / 500 MB, free: 6.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004218/0.5366, allocations: 2.6 MB / 0.4908 GB, free: 3.852 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00249/0.5391, allocations: 401.6 kB / 0.4912 GB, free: 3.465 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009647/0.5488, allocations: 6.303 MB / 0.4973 GB, free: 13.12 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001175/0.55, allocations: 1.565 MB / 0.4989 GB, free: 11.52 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001496/0.5515, allocations: 291.9 kB / 0.4991 GB, free: 11.23 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006169/0.5521, allocations: 171.3 kB / 0.4993 GB, free: 11.07 MB / 430.1 MB Notification: Performance of SimCode: time 6.61e-07/0.5521, allocations: 0 / 0.4993 GB, free: 11.07 MB / 430.1 MB Notification: Performance of Templates: time 0.2219/0.774, allocations: 38.75 MB / 0.5371 GB, free: 144.3 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