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.001176/0.001176, allocations: 116.2 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001253/0.001253, allocations: 210 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.532/1.532, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 64.12 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.23, allocations: 50.54 MB / 409.9 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01038/0.2405, allocations: 10.58 MB / 420.5 MB, free: 6.941 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0104/0.2509, allocations: 6.379 MB / 426.9 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001831/0.2528, allocations: 35.88 kB / 426.9 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001273/0.2541, allocations: 489.2 kB / 427.4 MB, free: 24 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002632/0.2568, allocations: 0.9076 MB / 428.3 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005239/0.262, allocations: 2.538 MB / 430.9 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004176/0.2662, allocations: 3.473 MB / 434.3 MB, free: 9.098 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001198/0.2674, allocations: 0.7605 MB / 435.1 MB, free: 8.297 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00186/0.2693, allocations: 1.289 MB / 436.4 MB, free: 7.004 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002106/0.2714, allocations: 1.467 MB / 437.8 MB, free: 5.531 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007181/0.2721, allocations: 335.9 kB / 438.2 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001232/0.2734, allocations: 0.5738 MB / 438.8 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005774/0.274, allocations: 0.7282 MB / 439.5 MB, free: 3.898 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001241/0.2752, allocations: 1.404 MB / 440.9 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003417/0.2786, allocations: 3.944 MB / 444.8 MB, free: 14.53 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2786, allocations: 0 / 444.8 MB, free: 14.53 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2787, allocations: 0 / 444.8 MB, free: 14.53 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.288e-05/0.2787, allocations: 0 / 444.8 MB, free: 14.53 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.006838/0.2856, allocations: 3.083 MB / 447.9 MB, free: 11.39 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.2856, allocations: 8.031 kB / 447.9 MB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006973/0.2863, allocations: 313.6 kB / 448.2 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001991/0.2883, allocations: 1.389 MB / 449.6 MB, free: 9.629 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001935/0.2885, allocations: 241.5 kB / 449.8 MB, free: 9.375 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005199/0.289, allocations: 236 kB / 450.1 MB, free: 9.145 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003699/0.2928, allocations: 2.169 MB / 452.2 MB, free: 6.895 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.645e-05/0.2928, allocations: 3.938 kB / 452.3 MB, free: 6.891 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001784/0.293, allocations: 84 kB / 452.3 MB, free: 6.809 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.532e-05/0.293, allocations: 51.94 kB / 452.4 MB, free: 6.758 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003738/0.2968, allocations: 1.916 MB / 454.3 MB, free: 4.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01075/0.3075, allocations: 7.786 MB / 462.1 MB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003398/0.311, allocations: 2.072 MB / 464.2 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002962/0.314, allocations: 1.59 MB / 465.7 MB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.322e-05/0.3141, allocations: 25.94 kB / 465.8 MB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.861e-05/0.3141, allocations: 68.56 kB / 465.8 MB, free: 9.016 MB / 382.1 MB Notification: Performance of pre-optimization done (n=208): time 3.817e-06/0.3141, allocations: 0 / 465.8 MB, free: 9.016 MB / 382.1 MB Notification: Performance of matching and sorting (n=250): time 0.05199/0.3661, allocations: 14.07 MB / 479.9 MB, free: 10.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001694/0.3663, allocations: 393.8 kB / 480.3 MB, free: 10.3 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002144/0.3685, allocations: 1.519 MB / 481.8 MB, free: 8.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000339/0.3688, allocations: 73.7 kB / 481.9 MB, free: 8.691 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005453/0.3694, allocations: 0.8237 MB / 482.7 MB, free: 7.855 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006692/0.3701, allocations: 0.8393 MB / 483.6 MB, free: 7.004 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006393/0.3707, allocations: 408.5 kB / 484 MB, free: 6.598 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.358e-05/0.3708, allocations: 301.1 kB / 484.2 MB, free: 6.301 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002124/0.3729, allocations: 0.9924 MB / 485.2 MB, free: 5.305 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0023/0.3752, allocations: 1.268 MB / 486.5 MB, free: 3.969 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.0331/0.4083, allocations: 9.425 MB / 495.9 MB, free: 10.42 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/0.4084, allocations: 3.938 kB / 495.9 MB, free: 10.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.005901/0.4143, allocations: 2.94 MB / 498.9 MB, free: 7.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.4143, allocations: 11.94 kB / 498.9 MB, free: 7.398 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.738e-05/0.4144, allocations: 8 kB / 498.9 MB, free: 7.391 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009813/0.4154, allocations: 352.9 kB / 499.2 MB, free: 7.027 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002712/0.4181, allocations: 0.5461 MB / 499.8 MB, free: 6.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008503/0.4266, allocations: 10.95 MB / 0.4988 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00236/0.429, allocations: 120 kB / 0.4989 GB, free: 10.58 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002396/0.4293, allocations: 87.95 kB / 0.499 GB, free: 10.5 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.00098/0.4303, allocations: 465.3 kB / 0.4994 GB, free: 10.03 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004699/0.4307, allocations: 213.4 kB / 0.4996 GB, free: 9.82 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008552/0.4393, allocations: 3.457 MB / 0.503 GB, free: 6.273 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.709e-05/0.4394, allocations: 24 kB / 0.503 GB, free: 6.25 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.471e-05/0.4394, allocations: 4 kB / 0.503 GB, free: 6.246 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.956e-05/0.4394, allocations: 15.95 kB / 0.503 GB, free: 6.23 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01361/0.453, allocations: 6.27 MB / 0.5092 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.274e-05/0.4531, allocations: 3.938 kB / 0.5092 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00216/0.4553, allocations: 427.5 kB / 0.5096 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005699/0.461, allocations: 1.202 MB / 0.5107 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003272/0.4613, allocations: 67.97 kB / 0.5108 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02057/0.4819, allocations: 18.87 MB / 0.5292 GB, free: 9.984 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.4819, allocations: 4.031 kB / 0.5292 GB, free: 9.98 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01062/0.4926, allocations: 4.936 MB / 0.534 GB, free: 4.922 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001022/0.4936, allocations: 0.5295 MB / 0.5346 GB, free: 4.371 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003354/0.494, allocations: 56 kB / 0.5346 GB, free: 4.316 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00189/0.4959, allocations: 139.8 kB / 0.5348 GB, free: 4.18 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004993/0.4964, allocations: 197.8 kB / 0.5349 GB, free: 3.984 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001502/0.4965, allocations: 75.91 kB / 0.535 GB, free: 3.91 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00136/0.4979, allocations: 1.049 MB / 0.536 GB, free: 2.863 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4979, allocations: 0 / 0.536 GB, free: 2.863 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002401/0.5003, allocations: 0.6991 MB / 0.5367 GB, free: 2.164 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.000523/0.5008, allocations: 261 kB / 0.537 GB, free: 1.898 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.1943/0.6951, allocations: 3.353 MB / 0.5402 GB, free: 125.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/0.6952, allocations: 2.312 kB / 0.5402 GB, free: 125.1 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004305/0.6995, allocations: 2.595 MB / 0.5428 GB, free: 124 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002361/0.7019, allocations: 378.7 kB / 0.5431 GB, free: 124 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008206/0.7101, allocations: 5.362 MB / 0.5484 GB, free: 121.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009481/0.7111, allocations: 1.571 MB / 0.5499 GB, free: 121 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009234/0.7121, allocations: 178.7 kB / 0.5501 GB, free: 121 MB / 462.1 MB Notification: Performance of SimCode: time 1.072e-06/0.7121, allocations: 0 / 0.5501 GB, free: 121 MB / 462.1 MB Notification: Performance of Templates: time 0.06835/0.7804, allocations: 97.04 MB / 0.6448 GB, free: 28.53 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/ThreePhaseTransformerWithRectifier/ThreePhaseTransformerWithRectifier.csv","/var/lib/jenkins1/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