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.001516/0.001516, allocations: 117.8 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001862/0.001862, allocations: 208.6 kB / 18.74 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001093/0.001093, allocations: 55.91 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2642, allocations: 50.54 MB / 409.3 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01039/0.2747, allocations: 10.59 MB / 419.8 MB, free: 6.969 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009936/0.2846, allocations: 6.375 MB / 426.2 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001501/0.2862, allocations: 39.81 kB / 426.3 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001155/0.2873, allocations: 493.1 kB / 426.7 MB, free: 48 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002231/0.2896, allocations: 0.9037 MB / 427.6 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005394/0.295, allocations: 2.524 MB / 430.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004707/0.2997, allocations: 3.477 MB / 433.6 MB, free: 9.125 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009959/0.3007, allocations: 0.7605 MB / 434.4 MB, free: 8.324 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001781/0.3025, allocations: 1.281 MB / 435.7 MB, free: 7.039 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001673/0.3042, allocations: 1.471 MB / 437.2 MB, free: 5.562 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003688/0.3046, allocations: 335.9 kB / 437.5 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009887/0.3056, allocations: 0.5777 MB / 438.1 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005961/0.3062, allocations: 0.7321 MB / 438.8 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001135/0.3073, allocations: 1.396 MB / 440.2 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003553/0.3109, allocations: 3.944 MB / 444.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.3109, allocations: 0 / 444.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.3109, allocations: 4 kB / 444.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.653e-05/0.311, allocations: 0 / 444.1 MB, free: 14.56 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.007639/0.3186, allocations: 3.089 MB / 447.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.3187, allocations: 8.031 kB / 447.2 MB, free: 11.4 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007225/0.3194, allocations: 305.6 kB / 447.5 MB, free: 11.1 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002212/0.3216, allocations: 1.393 MB / 448.9 MB, free: 9.656 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002058/0.3219, allocations: 241.5 kB / 449.2 MB, free: 9.402 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005068/0.3224, allocations: 243.9 kB / 449.4 MB, free: 9.164 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003581/0.326, allocations: 2.162 MB / 451.6 MB, free: 6.922 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.125e-05/0.326, allocations: 8 kB / 451.6 MB, free: 6.914 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001928/0.3262, allocations: 80 kB / 451.7 MB, free: 6.836 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.221e-05/0.3263, allocations: 44 kB / 451.7 MB, free: 6.793 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003694/0.33, allocations: 1.92 MB / 453.6 MB, free: 4.871 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01094/0.3409, allocations: 7.783 MB / 461.4 MB, free: 12.85 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003395/0.3443, allocations: 2.08 MB / 463.5 MB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002942/0.3473, allocations: 1.586 MB / 465.1 MB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001141/0.3474, allocations: 25.94 kB / 465.1 MB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.151e-05/0.3475, allocations: 68.5 kB / 465.2 MB, free: 9.047 MB / 382.1 MB Notification: Performance of pre-optimization done (n=208): time 4.288e-06/0.3475, allocations: 0 / 465.2 MB, free: 9.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=250): time 0.05083/0.3983, allocations: 14.07 MB / 479.2 MB, free: 10.8 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001717/0.3985, allocations: 393.8 kB / 479.6 MB, free: 10.33 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002117/0.4007, allocations: 1.519 MB / 481.1 MB, free: 8.801 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000264/0.4009, allocations: 77.7 kB / 481.2 MB, free: 8.719 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005458/0.4015, allocations: 0.8237 MB / 482 MB, free: 7.883 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006749/0.4022, allocations: 0.8315 MB / 482.9 MB, free: 7.039 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006688/0.4029, allocations: 412.5 kB / 483.3 MB, free: 6.629 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.686e-05/0.403, allocations: 301.1 kB / 483.6 MB, free: 6.332 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002075/0.405, allocations: 0.9963 MB / 484.6 MB, free: 5.332 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002289/0.4073, allocations: 1.264 MB / 485.8 MB, free: 4 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.03355/0.4409, allocations: 9.421 MB / 495.2 MB, free: 10.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.036e-06/0.4409, allocations: 4.031 kB / 495.2 MB, free: 10.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006893/0.4478, allocations: 2.948 MB / 498.2 MB, free: 7.438 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.026e-05/0.4479, allocations: 7.938 kB / 498.2 MB, free: 7.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.421e-05/0.4479, allocations: 11.98 kB / 498.2 MB, free: 7.418 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/0.449, allocations: 356.9 kB / 498.6 MB, free: 7.051 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002729/0.4518, allocations: 0.5422 MB / 499.1 MB, free: 6.508 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009026/0.4608, allocations: 10.94 MB / 0.4981 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002294/0.4631, allocations: 120 kB / 0.4982 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003429/0.4635, allocations: 83.95 kB / 0.4983 GB, free: 10.54 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.001124/0.4646, allocations: 473.6 kB / 0.4987 GB, free: 10.06 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006132/0.4652, allocations: 217.4 kB / 0.4989 GB, free: 9.848 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008834/0.4741, allocations: 3.453 MB / 0.5023 GB, free: 6.309 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.372e-05/0.4741, allocations: 28 kB / 0.5023 GB, free: 6.281 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.572e-05/0.4742, allocations: 4 kB / 0.5023 GB, free: 6.277 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-05/0.4742, allocations: 11.95 kB / 0.5024 GB, free: 6.266 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01425/0.4885, allocations: 6.27 MB / 0.5085 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/0.4885, allocations: 4 kB / 0.5085 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002028/0.4905, allocations: 427.4 kB / 0.5089 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005579/0.4961, allocations: 1.205 MB / 0.5101 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002704/0.4964, allocations: 63.97 kB / 0.5101 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02166/0.5181, allocations: 18.88 MB / 0.5286 GB, free: 10 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.5181, allocations: 0 / 0.5286 GB, free: 10 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01123/0.5294, allocations: 4.932 MB / 0.5334 GB, free: 4.949 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001154/0.5306, allocations: 0.5256 MB / 0.5339 GB, free: 4.402 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004658/0.531, allocations: 59.94 kB / 0.534 GB, free: 4.344 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002043/0.5331, allocations: 139.8 kB / 0.5341 GB, free: 4.207 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000519/0.5336, allocations: 197.8 kB / 0.5343 GB, free: 4.012 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001728/0.5338, allocations: 75.91 kB / 0.5343 GB, free: 3.938 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001609/0.5354, allocations: 1.045 MB / 0.5354 GB, free: 2.895 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5354, allocations: 0 / 0.5354 GB, free: 2.895 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002755/0.5382, allocations: 0.703 MB / 0.5361 GB, free: 2.191 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.0006124/0.5388, allocations: 256.2 kB / 0.5363 GB, free: 1.934 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.1993/0.7381, allocations: 3.353 MB / 0.5396 GB, free: 125.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/0.7381, allocations: 2.5 kB / 0.5396 GB, free: 125.1 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004511/0.7426, allocations: 2.597 MB / 0.5421 GB, free: 124.1 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002262/0.7449, allocations: 386.1 kB / 0.5425 GB, free: 124 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008268/0.7532, allocations: 5.29 MB / 0.5476 GB, free: 121.9 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/0.7543, allocations: 1.566 MB / 0.5492 GB, free: 121.1 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001356/0.7557, allocations: 295.7 kB / 0.5495 GB, free: 121.1 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005575/0.7562, allocations: 163.1 kB / 0.5496 GB, free: 121 MB / 462.1 MB Notification: Performance of SimCode: time 7.11e-07/0.7562, allocations: 0 / 0.5496 GB, free: 121 MB / 462.1 MB Notification: Performance of Templates: time 0.04859/0.8048, allocations: 40.83 MB / 0.5895 GB, free: 84.84 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