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.0008799/0.0008798, allocations: 98.94 kB / 17.3 MB, free: 6.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.000965/0.000965, allocations: 177.5 kB / 18.2 MB, free: 5.531 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.355/1.355, allocations: 205.4 MB / 224.4 MB, free: 13.06 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.0004323/0.0004325, allocations: 12 kB / 281.4 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09153/0.09197, allocations: 47.58 MB / 329 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.009599/0.1016, allocations: 9.845 MB / 338.8 MB, free: 9.859 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01159/0.1133, allocations: 6.624 MB / 345.4 MB, free: 3.215 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002256/0.1156, allocations: 31.88 kB / 345.5 MB, free: 3.184 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001293/0.1169, allocations: 389.3 kB / 345.8 MB, free: 2.801 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003085/0.12, allocations: 0.7801 MB / 346.6 MB, free: 2.016 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005244/0.1253, allocations: 2.028 MB / 348.7 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005203/0.1305, allocations: 3.379 MB / 352 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001246/0.1318, allocations: 0.6464 MB / 352.7 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001938/0.1337, allocations: 1.058 MB / 353.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001854/0.1356, allocations: 1.307 MB / 355 MB, free: 9.547 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003878/0.136, allocations: 148 kB / 355.2 MB, free: 9.402 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009681/0.137, allocations: 395.6 kB / 355.6 MB, free: 9.016 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005056/0.1375, allocations: 0.5446 MB / 356.1 MB, free: 8.469 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00122/0.1387, allocations: 1.23 MB / 357.3 MB, free: 7.227 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003395/0.1421, allocations: 3.666 MB / 361 MB, free: 3.547 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.241e-05/0.1422, allocations: 8 kB / 361 MB, free: 3.539 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.1422, allocations: 0 / 361 MB, free: 3.539 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.354e-05/0.1423, allocations: 0 / 361 MB, free: 3.539 MB / 302.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.007182/0.1494, allocations: 2.639 MB / 363.7 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.1495, allocations: 12.03 kB / 363.7 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005947/0.1501, allocations: 277.7 kB / 363.9 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002069/0.1522, allocations: 1.354 MB / 365.3 MB, free: 15.15 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002116/0.1524, allocations: 241.5 kB / 365.5 MB, free: 14.89 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000577/0.153, allocations: 239.9 kB / 365.8 MB, free: 14.66 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004178/0.1572, allocations: 2.193 MB / 368 MB, free: 12.39 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.292e-05/0.1572, allocations: 3.938 kB / 368 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001864/0.1574, allocations: 84 kB / 368 MB, free: 12.3 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.494e-05/0.1575, allocations: 44 kB / 368.1 MB, free: 12.26 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004004/0.1615, allocations: 1.963 MB / 370.1 MB, free: 10.29 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01233/0.1739, allocations: 7.884 MB / 377.9 MB, free: 2.168 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003663/0.1776, allocations: 2.119 MB / 380.1 MB, free: 8 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1661/0.3437, allocations: 1.246 MB / 381.3 MB, free: 50.75 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001109/0.3438, allocations: 35.34 kB / 381.3 MB, free: 50.75 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.983e-05/0.3439, allocations: 62.05 kB / 381.4 MB, free: 50.71 MB / 318.1 MB Notification: Performance of pre-optimization done (n=208): time 3.998e-06/0.3439, allocations: 1.531 kB / 381.4 MB, free: 50.71 MB / 318.1 MB Notification: Performance of matching and sorting (n=250): time 0.05491/0.3988, allocations: 14.81 MB / 396.2 MB, free: 46.55 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/0.399, allocations: 390.4 kB / 396.6 MB, free: 46.11 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001918/0.4009, allocations: 1.514 MB / 398.1 MB, free: 45.32 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002533/0.4011, allocations: 73.3 kB / 398.2 MB, free: 45.25 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004321/0.4016, allocations: 0.8178 MB / 399 MB, free: 44.53 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005775/0.4022, allocations: 0.8398 MB / 399.8 MB, free: 43.77 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002506/0.4024, allocations: 198.5 kB / 400 MB, free: 43.57 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.964e-05/0.4025, allocations: 301.1 kB / 400.3 MB, free: 43.28 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001866/0.4044, allocations: 1.02 MB / 401.3 MB, free: 42.25 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001958/0.4063, allocations: 1.285 MB / 402.6 MB, free: 40.9 MB / 318.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.0317/0.438, allocations: 9.709 MB / 412.3 MB, free: 31.07 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.4381, allocations: 0.6562 kB / 412.3 MB, free: 31.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.005241/0.4433, allocations: 3.004 MB / 415.3 MB, free: 28.01 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.4434, allocations: 4 kB / 415.3 MB, free: 28 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.457e-05/0.4434, allocations: 4 kB / 415.3 MB, free: 28 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008657/0.4443, allocations: 361.8 kB / 415.7 MB, free: 27.63 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002591/0.4469, allocations: 0.5666 MB / 416.3 MB, free: 27.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006709/0.4536, allocations: 10.03 MB / 426.3 MB, free: 16.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00247/0.4561, allocations: 148.7 kB / 426.4 MB, free: 16.12 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002552/0.4564, allocations: 88.77 kB / 426.5 MB, free: 16.04 MB / 318.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: transformer.winding13.i = transformer.I1Start[3] transformer.winding12.i = transformer.I1Start[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 (256): * Single equations (assignments): 244 * 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,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001039/0.4575, allocations: 461.1 kB / 427 MB, free: 15.58 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004851/0.458, allocations: 213.5 kB / 427.2 MB, free: 15.37 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007883/0.4658, allocations: 3.55 MB / 430.7 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.268e-05/0.4659, allocations: 24 kB / 430.8 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.4659, allocations: 4 kB / 430.8 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.149e-05/0.466, allocations: 19.89 kB / 430.8 MB, free: 11.69 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0122/0.4782, allocations: 6.288 MB / 437.1 MB, free: 5.328 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.516e-05/0.4782, allocations: 4 kB / 437.1 MB, free: 5.324 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002016/0.4803, allocations: 424.7 kB / 437.5 MB, free: 4.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005875/0.4861, allocations: 1.259 MB / 438.7 MB, free: 3.625 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000408/0.4866, allocations: 59.92 kB / 438.8 MB, free: 3.566 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02054/0.5071, allocations: 17.44 MB / 456.2 MB, free: 0.957 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.5072, allocations: 8.031 kB / 456.2 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01143/0.5186, allocations: 5.026 MB / 461.3 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001341/0.52, allocations: 0.5295 MB / 461.8 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003661/0.5204, allocations: 60 kB / 461.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001973/0.5224, allocations: 155.9 kB / 462 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005404/0.5229, allocations: 205.7 kB / 462.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001502/0.5231, allocations: 71.98 kB / 462.3 MB, free: 10.78 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001529/0.5246, allocations: 1.041 MB / 463.3 MB, free: 9.738 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5246, allocations: 0 / 463.3 MB, free: 9.738 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002869/0.5275, allocations: 0.6955 MB / 464 MB, free: 9.051 MB / 350.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 (202): * Single equations (assignments): 193 * 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,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005848/0.5281, allocations: 249.1 kB / 464.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.006043/0.5341, allocations: 3.423 MB / 467.7 MB, free: 5.262 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 9.307e-06/0.5342, allocations: 4 kB / 467.7 MB, free: 5.258 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004298/0.5385, allocations: 2.641 MB / 470.3 MB, free: 2.496 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002639/0.5412, allocations: 362.1 kB / 470.7 MB, free: 2.148 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009992/0.5512, allocations: 6.606 MB / 477.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00117/0.5524, allocations: 1.561 MB / 478.8 MB, free: 9.887 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001578/0.554, allocations: 295.8 kB / 479.1 MB, free: 9.594 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006183/0.5546, allocations: 159.4 kB / 479.3 MB, free: 9.438 MB / 366.1 MB Notification: Performance of SimCode: time 9.22e-07/0.5546, allocations: 0 / 479.3 MB, free: 9.438 MB / 366.1 MB Notification: Performance of Templates: time 0.05954/0.6142, allocations: 36.52 MB / 0.5037 GB, free: 4.879 MB / 398.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","../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches