Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001356/0.001355, allocations: 109.4 kB / 18.4 MB, free: 4.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 193.2 kB / 19.33 MB, free: 3.773 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.391/1.391, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 47.94 kB / 329.2 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08085/0.08201, allocations: 46.62 MB / 375.8 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.1836/0.2656, allocations: 10.46 MB / 386.3 MB, free: 7.336 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01115/0.2768, allocations: 6.309 MB / 392.6 MB, free: 3.742 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002708/0.2796, allocations: 39.59 kB / 392.6 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00192/0.2815, allocations: 484.4 kB / 393.1 MB, free: 3.441 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003471/0.285, allocations: 0.9037 MB / 394 MB, free: 2.828 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006508/0.2916, allocations: 2.502 MB / 396.5 MB, free: 1.75 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004793/0.2964, allocations: 3.475 MB / 400 MB, free: 0 / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001278/0.2977, allocations: 0.7556 MB / 400.8 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00242/0.3001, allocations: 1.287 MB / 402 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002283/0.3024, allocations: 1.466 MB / 403.5 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006126/0.303, allocations: 328.2 kB / 403.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001403/0.3044, allocations: 0.5749 MB / 404.4 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008124/0.3053, allocations: 0.739 MB / 405.1 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001598/0.3069, allocations: 1.396 MB / 406.5 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004647/0.3115, allocations: 3.931 MB / 410.5 MB, free: 9.531 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3115, allocations: 0 / 410.5 MB, free: 9.531 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3116, allocations: 0 / 410.5 MB, free: 9.531 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.174e-05/0.3116, allocations: 0 / 410.5 MB, free: 9.531 MB / 334.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.008299/0.3199, allocations: 3.078 MB / 413.5 MB, free: 7.457 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.32, allocations: 8.656 kB / 413.6 MB, free: 7.457 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006518/0.3207, allocations: 274 kB / 413.8 MB, free: 7.324 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002545/0.3232, allocations: 1.376 MB / 415.2 MB, free: 6.254 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002207/0.3234, allocations: 246.5 kB / 415.4 MB, free: 6.082 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005958/0.3241, allocations: 242.1 kB / 415.7 MB, free: 5.992 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003946/0.328, allocations: 2.166 MB / 417.8 MB, free: 4.625 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.061e-05/0.3281, allocations: 9.281 kB / 417.8 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001934/0.3283, allocations: 79.25 kB / 417.9 MB, free: 4.559 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.448e-05/0.3283, allocations: 46.75 kB / 418 MB, free: 4.559 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003921/0.3322, allocations: 1.921 MB / 419.9 MB, free: 3.352 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01249/0.3448, allocations: 7.771 MB / 427.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003503/0.3483, allocations: 2.084 MB / 429.7 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00303/0.3513, allocations: 1.594 MB / 431.3 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000101/0.3515, allocations: 33.92 kB / 431.4 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.569e-05/0.3515, allocations: 56.56 kB / 431.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of pre-optimization done (n=208): time 3.887e-06/0.3515, allocations: 0 / 431.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=250): time 0.05489/0.4064, allocations: 14.08 MB / 445.5 MB, free: 9.277 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002012/0.4067, allocations: 389.8 kB / 445.9 MB, free: 8.809 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002748/0.4094, allocations: 1.51 MB / 447.4 MB, free: 7.289 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004249/0.4099, allocations: 73.7 kB / 447.5 MB, free: 7.211 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006838/0.4106, allocations: 0.8119 MB / 448.3 MB, free: 6.391 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001019/0.4116, allocations: 0.8393 MB / 449.1 MB, free: 5.539 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009925/0.4126, allocations: 416.5 kB / 449.5 MB, free: 5.125 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.4127, allocations: 305.1 kB / 449.8 MB, free: 4.824 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002423/0.4152, allocations: 0.9924 MB / 450.8 MB, free: 3.828 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002535/0.4177, allocations: 1.26 MB / 452.1 MB, free: 2.5 MB / 366.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.03488/0.4526, allocations: 9.421 MB / 461.5 MB, free: 8.949 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.217e-05/0.4527, allocations: 11.94 kB / 461.5 MB, free: 8.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006753/0.4594, allocations: 2.936 MB / 464.4 MB, free: 5.938 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/0.4595, allocations: 11.94 kB / 464.5 MB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-05/0.4595, allocations: 7.984 kB / 464.5 MB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009999/0.4605, allocations: 356.9 kB / 464.8 MB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002739/0.4633, allocations: 0.5422 MB / 465.4 MB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009686/0.473, allocations: 10.94 MB / 476.3 MB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002506/0.4755, allocations: 128 kB / 476.4 MB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004176/0.476, allocations: 79.97 kB / 476.5 MB, free: 9.035 MB / 398.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.001301/0.4773, allocations: 468.6 kB / 477 MB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007601/0.478, allocations: 213.4 kB / 477.2 MB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009266/0.4873, allocations: 3.461 MB / 480.6 MB, free: 4.809 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.493e-05/0.4874, allocations: 24 kB / 480.6 MB, free: 4.785 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.538e-05/0.4874, allocations: 4 kB / 480.7 MB, free: 4.781 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.798e-05/0.4874, allocations: 15.95 kB / 480.7 MB, free: 4.766 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01497/0.5024, allocations: 6.274 MB / 486.9 MB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-05/0.5025, allocations: 0 / 486.9 MB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002182/0.5046, allocations: 427.5 kB / 487.4 MB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005658/0.5103, allocations: 1.202 MB / 488.6 MB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003794/0.5107, allocations: 59.98 kB / 488.6 MB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02222/0.533, allocations: 18.89 MB / 0.4956 GB, free: 8.512 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.533, allocations: 4.062 kB / 0.4956 GB, free: 8.508 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01225/0.5453, allocations: 4.928 MB / 0.5004 GB, free: 3.453 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001487/0.5468, allocations: 0.5294 MB / 0.5009 GB, free: 2.902 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007498/0.5476, allocations: 56 kB / 0.501 GB, free: 2.848 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002451/0.55, allocations: 135.9 kB / 0.5011 GB, free: 2.715 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006122/0.5507, allocations: 201.8 kB / 0.5013 GB, free: 2.516 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002394/0.5509, allocations: 79.91 kB / 0.5014 GB, free: 2.438 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002047/0.553, allocations: 1.037 MB / 0.5024 GB, free: 1.402 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.553, allocations: 0 / 0.5024 GB, free: 1.402 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003513/0.5565, allocations: 0.6992 MB / 0.5031 GB, free: 0.7031 MB / 430.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.0007354/0.5573, allocations: 253 kB / 0.5033 GB, free: 456 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006431/0.5637, allocations: 3.352 MB / 0.5066 GB, free: 12.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/0.5637, allocations: 4 kB / 0.5066 GB, free: 12.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004199/0.5679, allocations: 2.593 MB / 0.5091 GB, free: 10.24 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00298/0.5709, allocations: 381.8 kB / 0.5095 GB, free: 9.871 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/0.5812, allocations: 5.353 MB / 0.5147 GB, free: 4.457 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001457/0.5827, allocations: 1.565 MB / 0.5163 GB, free: 2.855 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001171/0.5839, allocations: 175.3 kB / 0.5164 GB, free: 2.684 MB / 446.1 MB Notification: Performance of SimCode: time 9.51e-07/0.5839, allocations: 0 / 0.5164 GB, free: 2.684 MB / 446.1 MB Notification: Performance of Templates: time 0.27/0.8539, allocations: 96.91 MB / 0.6111 GB, free: 111.4 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/ThreePhaseTransformerWithRectifier/ThreePhaseTransformerWithRectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches