Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001298/0.001298, allocations: 117.5 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001362/0.001362, allocations: 216.7 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.384/1.384, allocations: 227.7 MB / 247.9 MB, free: 10.18 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001817/0.001817, allocations: 59.91 kB / 359.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2355, allocations: 50.54 MB / 410.2 MB, free: 1.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.0119/0.2474, allocations: 10.62 MB / 420.8 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01075/0.2581, allocations: 6.394 MB / 427.2 MB, free: 348 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001251/0.2594, allocations: 43.81 kB / 427.3 MB, free: 304 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00113/0.2605, allocations: 492 kB / 427.8 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002085/0.2626, allocations: 0.931 MB / 428.7 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005309/0.2679, allocations: 2.526 MB / 431.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00479/0.2727, allocations: 3.481 MB / 434.7 MB, free: 8.863 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009399/0.2736, allocations: 0.5263 MB / 435.2 MB, free: 8.297 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001871/0.2755, allocations: 1.285 MB / 436.5 MB, free: 7.008 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001759/0.2773, allocations: 1.475 MB / 438 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004329/0.2777, allocations: 328 kB / 438.3 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009976/0.2787, allocations: 0.5699 MB / 438.9 MB, free: 4.637 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00067/0.2794, allocations: 0.7359 MB / 439.6 MB, free: 3.898 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001401/0.2808, allocations: 1.407 MB / 441 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00423/0.285, allocations: 3.958 MB / 445 MB, free: 14.51 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.285, allocations: 0 / 445 MB, free: 14.51 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.285, allocations: 4 kB / 445 MB, free: 14.51 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.171e-05/0.2851, allocations: 0 / 445 MB, free: 14.51 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.007375/0.2924, allocations: 3.162 MB / 448.1 MB, free: 11.28 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.2925, allocations: 8.031 kB / 448.1 MB, free: 11.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000745/0.2932, allocations: 319.1 kB / 448.5 MB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002288/0.2955, allocations: 1.398 MB / 449.9 MB, free: 9.512 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002423/0.2957, allocations: 241.5 kB / 450.1 MB, free: 9.258 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005684/0.2963, allocations: 240 kB / 450.3 MB, free: 9.023 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003882/0.3002, allocations: 2.169 MB / 452.5 MB, free: 6.773 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.53e-05/0.3002, allocations: 0 / 452.5 MB, free: 6.773 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001905/0.3004, allocations: 84 kB / 452.6 MB, free: 6.691 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.021e-05/0.3005, allocations: 48 kB / 452.6 MB, free: 6.645 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004049/0.3045, allocations: 1.92 MB / 454.5 MB, free: 4.723 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01214/0.3167, allocations: 7.796 MB / 462.3 MB, free: 12.69 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003676/0.3203, allocations: 1.967 MB / 464.3 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003131/0.3235, allocations: 1.485 MB / 465.8 MB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.441e-05/0.3236, allocations: 33.88 kB / 465.8 MB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.12e-05/0.3236, allocations: 56.56 kB / 465.9 MB, free: 9.105 MB / 382.1 MB Notification: Performance of pre-optimization done (n=208): time 3.827e-06/0.3236, allocations: 0 / 465.9 MB, free: 9.105 MB / 382.1 MB Notification: Performance of matching and sorting (n=250): time 0.05369/0.3773, allocations: 14.15 MB / 480 MB, free: 10.79 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002642/0.3776, allocations: 393.8 kB / 480.4 MB, free: 10.32 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002267/0.3798, allocations: 1.519 MB / 481.9 MB, free: 8.789 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000272/0.3801, allocations: 77.69 kB / 482 MB, free: 8.707 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006961/0.3808, allocations: 0.8408 MB / 482.8 MB, free: 7.855 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008068/0.3816, allocations: 0.8675 MB / 483.7 MB, free: 6.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007162/0.3823, allocations: 408.6 kB / 484.1 MB, free: 6.574 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.3825, allocations: 305.1 kB / 484.4 MB, free: 6.273 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002275/0.3847, allocations: 0.9963 MB / 485.4 MB, free: 5.273 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002542/0.3873, allocations: 1.264 MB / 486.7 MB, free: 3.941 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.0335/0.4208, allocations: 9.433 MB / 496.1 MB, free: 10.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.866e-06/0.4208, allocations: 3.938 kB / 496.1 MB, free: 10.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.00631/0.4271, allocations: 2.941 MB / 499 MB, free: 7.379 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.76e-05/0.4271, allocations: 7.938 kB / 499.1 MB, free: 7.371 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.493e-05/0.4272, allocations: 11.92 kB / 499.1 MB, free: 7.359 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001042/0.4282, allocations: 349 kB / 499.4 MB, free: 7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002744/0.4309, allocations: 0.55 MB / 500 MB, free: 6.449 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01043/0.4414, allocations: 10.95 MB / 0.4989 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002326/0.4437, allocations: 123.9 kB / 0.4991 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001974/0.4439, allocations: 84.08 kB / 0.4991 GB, free: 10.46 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.00102/0.4449, allocations: 467.3 kB / 0.4996 GB, free: 9.996 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004883/0.4454, allocations: 226.6 kB / 0.4998 GB, free: 9.773 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009013/0.4544, allocations: 3.43 MB / 0.5031 GB, free: 6.254 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.131e-05/0.4545, allocations: 28 kB / 0.5032 GB, free: 6.227 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-05/0.4545, allocations: 4 kB / 0.5032 GB, free: 6.223 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.322e-05/0.4545, allocations: 15.95 kB / 0.5032 GB, free: 6.207 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01473/0.4692, allocations: 6.243 MB / 0.5093 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-05/0.4692, allocations: 8 kB / 0.5093 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002258/0.4715, allocations: 423.4 kB / 0.5097 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005828/0.4773, allocations: 1.206 MB / 0.5109 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003543/0.4777, allocations: 55.98 kB / 0.5109 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02399/0.5017, allocations: 18.9 MB / 0.5294 GB, free: 9.969 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/0.5017, allocations: 8.016 kB / 0.5294 GB, free: 9.961 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0116/0.5133, allocations: 4.91 MB / 0.5342 GB, free: 4.93 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001273/0.5146, allocations: 0.5384 MB / 0.5347 GB, free: 4.371 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003639/0.5149, allocations: 56 kB / 0.5348 GB, free: 4.316 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001913/0.5168, allocations: 131.9 kB / 0.5349 GB, free: 4.188 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005334/0.5174, allocations: 201.8 kB / 0.5351 GB, free: 3.988 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001571/0.5175, allocations: 79.91 kB / 0.5352 GB, free: 3.91 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00161/0.5191, allocations: 1.045 MB / 0.5362 GB, free: 2.867 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5191, allocations: 0 / 0.5362 GB, free: 2.867 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002712/0.5219, allocations: 0.6951 MB / 0.5369 GB, free: 2.172 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.0005929/0.5224, allocations: 261.3 kB / 0.5371 GB, free: 1.906 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.1778/0.7002, allocations: 3.232 MB / 0.5403 GB, free: 124.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/0.7002, allocations: 1.625 kB / 0.5403 GB, free: 124.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00392/0.7042, allocations: 2.511 MB / 0.5427 GB, free: 123.7 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002156/0.7063, allocations: 383.6 kB / 0.5431 GB, free: 123.7 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007295/0.7136, allocations: 5.375 MB / 0.5483 GB, free: 121.6 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008079/0.7144, allocations: 1.564 MB / 0.5499 GB, free: 120.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001157/0.7156, allocations: 296.2 kB / 0.5501 GB, free: 120.8 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005705/0.7161, allocations: 169.9 kB / 0.5503 GB, free: 120.8 MB / 462.1 MB Notification: Performance of SimCode: time 7.31e-07/0.7161, allocations: 0 / 0.5503 GB, free: 120.8 MB / 462.1 MB Notification: Performance of Templates: time 0.04824/0.7644, allocations: 39.97 MB / 0.5893 GB, free: 85.56 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/ThreePhaseTransformerWithRectifier/ThreePhaseTransformerWithRectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches