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.001118/0.001118, allocations: 113.7 kB / 17.73 MB, free: 5.211 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.0009772/0.0009773, allocations: 183.1 kB / 18.66 MB, free: 4.281 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.408/1.408, allocations: 205.1 MB / 224.5 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.001153/0.001153, allocations: 43.94 kB / 328.5 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09265/0.09381, allocations: 46.61 MB / 375.2 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.1791/0.2729, allocations: 10.46 MB / 385.6 MB, free: 7.336 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009632/0.2826, allocations: 6.313 MB / 391.9 MB, free: 3.75 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001649/0.2843, allocations: 39.78 kB / 392 MB, free: 3.738 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001284/0.2856, allocations: 485.2 kB / 392.4 MB, free: 3.449 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002326/0.288, allocations: 0.8964 MB / 393.3 MB, free: 2.844 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00599/0.294, allocations: 2.506 MB / 395.8 MB, free: 1.762 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004782/0.2988, allocations: 3.471 MB / 399.3 MB, free: 16 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001292/0.3001, allocations: 0.7524 MB / 400.1 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002345/0.3024, allocations: 1.281 MB / 401.3 MB, free: 15.01 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002858/0.3053, allocations: 1.467 MB / 402.8 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001013/0.3063, allocations: 328.6 kB / 403.1 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001996/0.3083, allocations: 0.5698 MB / 403.7 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008473/0.3092, allocations: 0.7397 MB / 404.4 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001621/0.3108, allocations: 1.395 MB / 405.8 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003928/0.3148, allocations: 3.945 MB / 409.8 MB, free: 9.535 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.3148, allocations: 0 / 409.8 MB, free: 9.535 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.3148, allocations: 4.969 kB / 409.8 MB, free: 9.531 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.591e-05/0.3148, allocations: 3.938 kB / 409.8 MB, free: 9.527 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.007253/0.3221, allocations: 3.145 MB / 412.9 MB, free: 7.383 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.3222, allocations: 10.38 kB / 412.9 MB, free: 7.383 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005748/0.3227, allocations: 286.5 kB / 413.2 MB, free: 7.238 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00227/0.325, allocations: 1.389 MB / 414.6 MB, free: 6.156 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002042/0.3252, allocations: 243.8 kB / 414.9 MB, free: 5.988 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005029/0.3257, allocations: 245.2 kB / 415.1 MB, free: 5.895 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003772/0.3295, allocations: 2.161 MB / 417.3 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.472e-05/0.3296, allocations: 10.69 kB / 417.3 MB, free: 4.523 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001726/0.3298, allocations: 79.25 kB / 417.3 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.338e-05/0.3298, allocations: 46.75 kB / 417.4 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004052/0.3339, allocations: 1.92 MB / 419.3 MB, free: 3.262 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01146/0.3453, allocations: 7.8 MB / 427.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00335/0.3487, allocations: 2.073 MB / 429.2 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002843/0.3516, allocations: 1.59 MB / 430.8 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001201/0.3517, allocations: 37.86 kB / 430.8 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.272e-05/0.3517, allocations: 56.56 kB / 430.9 MB, free: 7.418 MB / 350.1 MB Notification: Performance of pre-optimization done (n=208): time 4.147e-06/0.3518, allocations: 0 / 430.9 MB, free: 7.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=250): time 0.05011/0.4019, allocations: 14.17 MB / 445 MB, free: 9.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002199/0.4021, allocations: 397.8 kB / 445.4 MB, free: 8.613 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002025/0.4042, allocations: 1.506 MB / 446.9 MB, free: 7.098 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001781/0.4043, allocations: 73.69 kB / 447 MB, free: 7.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006287/0.405, allocations: 0.8291 MB / 447.8 MB, free: 6.184 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008548/0.4058, allocations: 0.8869 MB / 448.7 MB, free: 5.289 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007601/0.4066, allocations: 408.6 kB / 449.1 MB, free: 4.883 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.4067, allocations: 301.1 kB / 449.4 MB, free: 4.586 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002063/0.4088, allocations: 0.9963 MB / 450.4 MB, free: 3.586 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002197/0.411, allocations: 1.26 MB / 451.7 MB, free: 2.258 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.03132/0.4423, allocations: 9.433 MB / 461.1 MB, free: 8.695 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.4424, allocations: 3.938 kB / 461.1 MB, free: 8.691 MB / 382.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006003/0.4484, allocations: 2.949 MB / 464.1 MB, free: 5.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.616e-05/0.4484, allocations: 11.94 kB / 464.1 MB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.897e-05/0.4485, allocations: 7.984 kB / 464.1 MB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009769/0.4495, allocations: 352.9 kB / 464.4 MB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002537/0.452, allocations: 0.5539 MB / 465 MB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0089/0.4609, allocations: 10.94 MB / 475.9 MB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002415/0.4634, allocations: 135.9 kB / 476 MB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001823/0.4636, allocations: 87.89 kB / 476.1 MB, free: 8.758 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.001041/0.4646, allocations: 464.8 kB / 476.6 MB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004356/0.465, allocations: 214.6 kB / 476.8 MB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008409/0.4735, allocations: 3.465 MB / 480.3 MB, free: 4.531 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-05/0.4735, allocations: 24 kB / 480.3 MB, free: 4.508 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.4735, allocations: 8 kB / 480.3 MB, free: 4.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.248e-05/0.4735, allocations: 11.95 kB / 480.3 MB, free: 4.488 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01306/0.4866, allocations: 6.274 MB / 486.6 MB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/0.4867, allocations: 0 / 486.6 MB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002032/0.4887, allocations: 423.4 kB / 487 MB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005498/0.4942, allocations: 1.206 MB / 488.2 MB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002182/0.4944, allocations: 59.98 kB / 488.2 MB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02176/0.5162, allocations: 18.89 MB / 0.4953 GB, free: 8.23 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.5162, allocations: 3.984 kB / 0.4953 GB, free: 8.227 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01197/0.5282, allocations: 4.945 MB / 0.5001 GB, free: 3.156 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001474/0.5297, allocations: 0.5345 MB / 0.5006 GB, free: 2.602 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007078/0.5305, allocations: 59.98 kB / 0.5007 GB, free: 2.543 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002343/0.5328, allocations: 135.9 kB / 0.5008 GB, free: 2.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006067/0.5335, allocations: 197.8 kB / 0.501 GB, free: 2.215 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002234/0.5337, allocations: 79.91 kB / 0.5011 GB, free: 2.137 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001869/0.5356, allocations: 1.037 MB / 0.5021 GB, free: 1.102 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5356, allocations: 0 / 0.5021 GB, free: 1.102 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003703/0.5393, allocations: 0.699 MB / 0.5028 GB, free: 412 kB / 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.0007895/0.5401, allocations: 256.9 kB / 0.503 GB, free: 144 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006425/0.5465, allocations: 3.368 MB / 0.5063 GB, free: 12.64 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/0.5466, allocations: 4 kB / 0.5063 GB, free: 12.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004217/0.5508, allocations: 2.605 MB / 0.5088 GB, free: 9.914 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003072/0.5539, allocations: 385.8 kB / 0.5092 GB, free: 9.539 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01063/0.5645, allocations: 5.35 MB / 0.5144 GB, free: 4.125 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001726/0.5663, allocations: 1.561 MB / 0.516 GB, free: 2.527 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001716/0.568, allocations: 299.8 kB / 0.5162 GB, free: 2.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008613/0.5689, allocations: 167.3 kB / 0.5164 GB, free: 2.066 MB / 446.1 MB Notification: Performance of SimCode: time 7.82e-07/0.5689, allocations: 0 / 0.5164 GB, free: 2.066 MB / 446.1 MB Notification: Performance of Templates: time 0.2492/0.8181, allocations: 39.7 MB / 0.5552 GB, free: 153.1 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