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.001194/0.001194, allocations: 113.2 kB / 17.73 MB, free: 5.344 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.001096/0.001096, allocations: 188.2 kB / 18.66 MB, free: 4.418 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.406/1.406, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001189/0.001189, allocations: 51.92 kB / 328.5 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08773/0.08893, allocations: 46.61 MB / 375.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.1948/0.2838, allocations: 10.46 MB / 385.6 MB, free: 7.301 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01014/0.294, allocations: 6.305 MB / 391.9 MB, free: 3.734 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002267/0.2963, allocations: 39.59 kB / 392 MB, free: 3.723 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001218/0.2975, allocations: 485.8 kB / 392.4 MB, free: 3.434 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002678/0.3002, allocations: 0.9046 MB / 393.3 MB, free: 2.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006608/0.3069, allocations: 2.506 MB / 395.8 MB, free: 1.738 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004637/0.3115, allocations: 3.474 MB / 399.3 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001136/0.3127, allocations: 0.75 MB / 400.1 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002311/0.315, allocations: 1.289 MB / 401.4 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00208/0.3171, allocations: 1.467 MB / 402.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005546/0.3176, allocations: 327.9 kB / 403.1 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001316/0.319, allocations: 0.5744 MB / 403.7 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007211/0.3197, allocations: 0.7325 MB / 404.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001507/0.3212, allocations: 1.408 MB / 405.9 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004121/0.3253, allocations: 3.922 MB / 409.8 MB, free: 9.535 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3254, allocations: 0 / 409.8 MB, free: 9.535 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.348e-06/0.3254, allocations: 1.375 kB / 409.8 MB, free: 9.535 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.539e-05/0.3254, allocations: 3.938 kB / 409.8 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.007896/0.3333, allocations: 3.074 MB / 412.9 MB, free: 7.461 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/0.3334, allocations: 8.844 kB / 412.9 MB, free: 7.461 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006737/0.3341, allocations: 273.9 kB / 413.1 MB, free: 7.328 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00227/0.3364, allocations: 1.381 MB / 414.5 MB, free: 6.254 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002069/0.3366, allocations: 242 kB / 414.8 MB, free: 6.086 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005457/0.3371, allocations: 235.8 kB / 415 MB, free: 6 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003851/0.341, allocations: 2.171 MB / 417.2 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.776e-05/0.3411, allocations: 0.8125 kB / 417.2 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001963/0.3413, allocations: 78.88 kB / 417.2 MB, free: 4.57 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.945e-05/0.3413, allocations: 47.91 kB / 417.3 MB, free: 4.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004025/0.3453, allocations: 1.92 MB / 419.2 MB, free: 3.344 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01142/0.3568, allocations: 7.786 MB / 427 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003444/0.3602, allocations: 2.077 MB / 429.1 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002971/0.3632, allocations: 1.586 MB / 430.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.873e-05/0.3633, allocations: 33.92 kB / 430.7 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.115e-05/0.3634, allocations: 60.55 kB / 430.7 MB, free: 7.512 MB / 350.1 MB Notification: Performance of pre-optimization done (n=208): time 5.43e-06/0.3634, allocations: 0 / 430.7 MB, free: 7.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=250): time 0.0518/0.4152, allocations: 14.08 MB / 444.8 MB, free: 9.266 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001983/0.4154, allocations: 393.8 kB / 445.2 MB, free: 8.793 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002163/0.4176, allocations: 1.51 MB / 446.7 MB, free: 7.273 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002058/0.4178, allocations: 69.7 kB / 446.8 MB, free: 7.199 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005759/0.4184, allocations: 0.8197 MB / 447.6 MB, free: 6.371 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006467/0.4191, allocations: 0.8354 MB / 448.4 MB, free: 5.523 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006615/0.4197, allocations: 412.5 kB / 448.8 MB, free: 5.113 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.21e-05/0.4198, allocations: 301.1 kB / 449.1 MB, free: 4.816 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002108/0.422, allocations: 0.9963 MB / 450.1 MB, free: 3.816 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002288/0.4243, allocations: 1.264 MB / 451.4 MB, free: 2.484 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.03221/0.4565, allocations: 9.429 MB / 460.8 MB, free: 8.926 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.458e-06/0.4565, allocations: 3.938 kB / 460.8 MB, free: 8.922 MB / 382.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.005981/0.4625, allocations: 2.936 MB / 463.8 MB, free: 5.922 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.4626, allocations: 15.88 kB / 463.8 MB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.748e-05/0.4626, allocations: 7.984 kB / 463.8 MB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009368/0.4635, allocations: 357 kB / 464.1 MB, free: 5.531 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002639/0.4662, allocations: 0.5422 MB / 464.7 MB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009204/0.4754, allocations: 10.94 MB / 475.6 MB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002545/0.478, allocations: 128 kB / 475.7 MB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001966/0.4782, allocations: 83.95 kB / 475.8 MB, free: 9.012 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.001234/0.4794, allocations: 464.7 kB / 476.3 MB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004969/0.4799, allocations: 213.4 kB / 476.5 MB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008473/0.4884, allocations: 3.461 MB / 480 MB, free: 4.789 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.99e-05/0.4885, allocations: 24 kB / 480 MB, free: 4.766 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.4885, allocations: 4 kB / 480 MB, free: 4.762 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.808e-05/0.4885, allocations: 15.95 kB / 480 MB, free: 4.746 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01325/0.5018, allocations: 6.274 MB / 486.3 MB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/0.5018, allocations: 0 / 486.3 MB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002074/0.5039, allocations: 427.4 kB / 486.7 MB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005612/0.5095, allocations: 1.202 MB / 487.9 MB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002236/0.5097, allocations: 63.97 kB / 487.9 MB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0214/0.5312, allocations: 18.88 MB / 0.4949 GB, free: 8.496 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.5312, allocations: 4.062 kB / 0.495 GB, free: 8.492 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01089/0.5421, allocations: 4.92 MB / 0.4998 GB, free: 3.445 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001212/0.5433, allocations: 0.5333 MB / 0.5003 GB, free: 2.891 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003365/0.5437, allocations: 56 kB / 0.5003 GB, free: 2.836 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001969/0.5457, allocations: 139.9 kB / 0.5005 GB, free: 2.699 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005426/0.5462, allocations: 201.7 kB / 0.5007 GB, free: 2.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001545/0.5464, allocations: 75.92 kB / 0.5007 GB, free: 2.426 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001502/0.5479, allocations: 1.041 MB / 0.5017 GB, free: 1.387 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5479, allocations: 0 / 0.5017 GB, free: 1.387 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002678/0.5506, allocations: 0.6953 MB / 0.5024 GB, free: 0.6914 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.0005965/0.5512, allocations: 257 kB / 0.5027 GB, free: 440 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005865/0.5571, allocations: 3.352 MB / 0.5059 GB, free: 12.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.5571, allocations: 4 kB / 0.5059 GB, free: 12.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003726/0.5608, allocations: 2.597 MB / 0.5085 GB, free: 10.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002035/0.5629, allocations: 390.2 kB / 0.5089 GB, free: 9.848 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008863/0.5717, allocations: 5.273 MB / 0.514 GB, free: 4.516 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001123/0.5729, allocations: 1.565 MB / 0.5155 GB, free: 2.914 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001217/0.5741, allocations: 295.8 kB / 0.5158 GB, free: 2.621 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000617/0.5747, allocations: 159.4 kB / 0.516 GB, free: 2.465 MB / 446.1 MB Notification: Performance of SimCode: time 7.31e-07/0.5747, allocations: 4 kB / 0.516 GB, free: 2.461 MB / 446.1 MB Notification: Performance of Templates: time 0.2468/0.8215, allocations: 39.7 MB / 0.5547 GB, free: 153.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/ThreePhaseTransformerWithRectifier/ThreePhaseTransformerWithRectifier.csv","/var/lib/jenkins/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