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.0009013/0.0009013, allocations: 93.94 kB / 16.98 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00118/0.00118, allocations: 204.3 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003228/0.0003229, allocations: 8 kB / 306.6 MB, free: 1.426 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0968/0.09715, allocations: 51.49 MB / 358.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.008217/0.1054, allocations: 8.514 MB / 366.6 MB, free: 5.387 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1759/0.2814, allocations: 6.188 MB / 372.8 MB, free: 8.715 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002017/0.2834, allocations: 39.84 kB / 372.8 MB, free: 8.711 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00181/0.2853, allocations: 396 kB / 373.2 MB, free: 8.711 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003731/0.289, allocations: 0.8874 MB / 374.1 MB, free: 8.703 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005421/0.2945, allocations: 1.762 MB / 375.8 MB, free: 8.645 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004451/0.2989, allocations: 2.109 MB / 378 MB, free: 8.633 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008667/0.2998, allocations: 0.5854 MB / 378.5 MB, free: 8.496 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001796/0.3016, allocations: 1.035 MB / 379.6 MB, free: 8.492 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00173/0.3033, allocations: 1.213 MB / 380.8 MB, free: 8.383 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003308/0.3037, allocations: 148.5 kB / 380.9 MB, free: 8.383 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001065/0.3048, allocations: 379.5 kB / 381.3 MB, free: 8.375 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006114/0.3054, allocations: 0.522 MB / 381.8 MB, free: 8.297 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005936/0.306, allocations: 485.6 kB / 382.3 MB, free: 8.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002668/0.3087, allocations: 2.978 MB / 385.3 MB, free: 7.172 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.3087, allocations: 1.375 kB / 385.3 MB, free: 7.172 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3087, allocations: 0 / 385.3 MB, free: 7.172 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.57e-05/0.3087, allocations: 0 / 385.3 MB, free: 7.172 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.006079/0.3148, allocations: 2.67 MB / 388 MB, free: 5.613 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.3149, allocations: 9.875 kB / 388 MB, free: 5.613 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007166/0.3156, allocations: 308.2 kB / 388.3 MB, free: 5.473 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001864/0.3174, allocations: 1.3 MB / 389.6 MB, free: 4.844 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001677/0.3176, allocations: 243.7 kB / 389.8 MB, free: 4.742 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004873/0.3181, allocations: 234 kB / 390 MB, free: 4.727 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003468/0.3216, allocations: 2.16 MB / 392.2 MB, free: 4.043 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.938e-05/0.3217, allocations: 0.875 kB / 392.2 MB, free: 4.043 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001716/0.3218, allocations: 85.89 kB / 392.3 MB, free: 4.039 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-05/0.3219, allocations: 46.31 kB / 392.3 MB, free: 4.039 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003567/0.3255, allocations: 1.943 MB / 394.3 MB, free: 3.293 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01088/0.3363, allocations: 7.891 MB / 402.2 MB, free: 13.32 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003359/0.3397, allocations: 2.114 MB / 404.3 MB, free: 12.19 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001012/0.3398, allocations: 29.11 kB / 404.3 MB, free: 12.18 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.488e-05/0.3399, allocations: 65.06 kB / 404.4 MB, free: 12.12 MB / 318.1 MB Notification: Performance of pre-optimization done (n=208): time 3.907e-06/0.3399, allocations: 0 / 404.4 MB, free: 12.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=250): time 0.05154/0.3915, allocations: 14.76 MB / 419.1 MB, free: 13.41 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001728/0.3917, allocations: 385.8 kB / 419.5 MB, free: 12.95 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002232/0.3939, allocations: 1.506 MB / 421 MB, free: 11.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003266/0.3943, allocations: 72.11 kB / 421.1 MB, free: 11.36 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005692/0.3948, allocations: 0.8228 MB / 421.9 MB, free: 10.53 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007102/0.3956, allocations: 0.8399 MB / 422.7 MB, free: 9.699 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001348/0.3957, allocations: 47.36 kB / 422.8 MB, free: 9.656 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.3959, allocations: 406.5 kB / 423.2 MB, free: 9.258 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002097/0.398, allocations: 1.008 MB / 424.2 MB, free: 8.246 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002299/0.4003, allocations: 1.26 MB / 425.5 MB, free: 6.918 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.02859/0.4289, allocations: 7.472 MB / 432.9 MB, free: 15.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.4289, allocations: 0 / 432.9 MB, free: 15.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.00569/0.4346, allocations: 2.978 MB / 435.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.4347, allocations: 4 kB / 435.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.498e-05/0.4347, allocations: 16.08 kB / 435.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008966/0.4356, allocations: 344.9 kB / 436.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002549/0.4382, allocations: 0.5554 MB / 436.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008127/0.4463, allocations: 10.1 MB / 446.9 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002341/0.4487, allocations: 147.4 kB / 447.1 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001839/0.4489, allocations: 83.95 kB / 447.1 MB, free: 320 kB / 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.001041/0.4499, allocations: 469.3 kB / 447.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000415/0.4503, allocations: 209.5 kB / 447.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008334/0.4587, allocations: 3.542 MB / 451.3 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.16e-05/0.4587, allocations: 24 kB / 451.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/0.4588, allocations: 4 kB / 451.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.638e-05/0.4588, allocations: 15.95 kB / 451.4 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01343/0.4722, allocations: 6.27 MB / 457.7 MB, free: 5.613 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.4723, allocations: 0 / 457.7 MB, free: 5.613 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002009/0.4743, allocations: 438.6 kB / 458.1 MB, free: 5.188 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005828/0.4801, allocations: 1.25 MB / 459.3 MB, free: 3.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002777/0.4804, allocations: 63.97 kB / 459.4 MB, free: 3.848 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02291/0.5034, allocations: 17.66 MB / 477.1 MB, free: 1.012 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.5034, allocations: 0 / 477.1 MB, free: 1.012 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01152/0.5149, allocations: 5.063 MB / 482.1 MB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001404/0.5164, allocations: 0.5256 MB / 482.6 MB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003912/0.5168, allocations: 59.98 kB / 482.7 MB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001925/0.5187, allocations: 151.9 kB / 482.8 MB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005162/0.5192, allocations: 205.7 kB / 483 MB, free: 10.87 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001484/0.5194, allocations: 71.97 kB / 483.1 MB, free: 10.8 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001459/0.5208, allocations: 1.025 MB / 484.1 MB, free: 9.773 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5208, allocations: 0 / 484.1 MB, free: 9.773 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002813/0.5237, allocations: 0.6992 MB / 484.8 MB, free: 9.074 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.0006311/0.5243, allocations: 255.9 kB / 485.1 MB, free: 8.824 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006017/0.5303, allocations: 3.412 MB / 488.5 MB, free: 5.289 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.497e-06/0.5304, allocations: 8.375 kB / 488.5 MB, free: 5.281 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004261/0.5346, allocations: 2.626 MB / 491.1 MB, free: 2.535 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002082/0.5367, allocations: 337.5 kB / 491.5 MB, free: 2.215 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009849/0.5466, allocations: 6.363 MB / 497.8 MB, free: 11.81 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001332/0.548, allocations: 1.612 MB / 499.4 MB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001573/0.5496, allocations: 287.8 kB / 499.7 MB, free: 9.875 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005678/0.5501, allocations: 167.3 kB / 499.9 MB, free: 9.711 MB / 414.1 MB Notification: Performance of SimCode: time 7.51e-07/0.5501, allocations: 0 / 499.9 MB, free: 9.711 MB / 414.1 MB Notification: Performance of Templates: time 0.05627/0.6064, allocations: 35.25 MB / 0.5226 GB, free: 6.676 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","../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches