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.001123/0.001123, allocations: 110.2 kB / 18.25 MB, free: 4.898 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.001127/0.001127, allocations: 195.3 kB / 19.18 MB, free: 3.977 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.378/1.378, allocations: 205.1 MB / 225.1 MB, free: 12.29 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.001439/0.001439, allocations: 51.92 kB / 281.3 MB, free: 3.156 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0891/0.09055, allocations: 46.63 MB / 328 MB, free: 4.465 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01128/0.1019, allocations: 10.48 MB / 338.4 MB, free: 9.926 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01075/0.1127, allocations: 6.298 MB / 344.7 MB, free: 3.605 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00191/0.1146, allocations: 39.81 kB / 344.8 MB, free: 3.566 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001297/0.116, allocations: 483.9 kB / 345.2 MB, free: 3.09 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002615/0.1186, allocations: 0.9037 MB / 346.1 MB, free: 2.18 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005171/0.1238, allocations: 2.511 MB / 348.7 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003966/0.1278, allocations: 3.446 MB / 352.1 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009474/0.1287, allocations: 0.7566 MB / 352.9 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001769/0.1305, allocations: 1.265 MB / 354.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001494/0.132, allocations: 1.467 MB / 355.6 MB, free: 8.684 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000401/0.1324, allocations: 332 kB / 355.9 MB, free: 8.359 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001027/0.1334, allocations: 0.5621 MB / 356.5 MB, free: 7.797 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000598/0.1341, allocations: 0.7321 MB / 357.2 MB, free: 7.062 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001369/0.1354, allocations: 1.404 MB / 358.6 MB, free: 5.652 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00396/0.1394, allocations: 3.878 MB / 362.5 MB, free: 1.762 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.1394, allocations: 4 kB / 362.5 MB, free: 1.758 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1394, allocations: 0 / 362.5 MB, free: 1.758 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.171e-05/0.1395, allocations: 0 / 362.5 MB, free: 1.758 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.006672/0.1462, allocations: 3.079 MB / 365.6 MB, free: 14.62 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.1462, allocations: 12.03 kB / 365.6 MB, free: 14.61 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004781/0.1467, allocations: 277.8 kB / 365.9 MB, free: 14.33 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001879/0.1486, allocations: 1.354 MB / 367.2 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000192/0.1488, allocations: 241.5 kB / 367.4 MB, free: 12.67 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005063/0.1493, allocations: 236 kB / 367.7 MB, free: 12.44 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003538/0.1529, allocations: 2.165 MB / 369.8 MB, free: 10.2 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.587e-05/0.1529, allocations: 4 kB / 369.8 MB, free: 10.19 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001753/0.1531, allocations: 80 kB / 369.9 MB, free: 10.11 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.461e-05/0.1531, allocations: 48 kB / 370 MB, free: 10.07 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003655/0.1568, allocations: 1.927 MB / 371.9 MB, free: 8.137 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01123/0.168, allocations: 7.837 MB / 379.7 MB, free: 60 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1713/0.3394, allocations: 2.086 MB / 381.8 MB, free: 51.38 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002026/0.3414, allocations: 1.228 MB / 383.1 MB, free: 50.88 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001043/0.3416, allocations: 30.12 kB / 383.1 MB, free: 50.88 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/0.3416, allocations: 63.27 kB / 383.1 MB, free: 50.82 MB / 318.1 MB Notification: Performance of pre-optimization done (n=208): time 4.198e-06/0.3416, allocations: 0 / 383.1 MB, free: 50.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=250): time 0.04968/0.3913, allocations: 14.08 MB / 397.2 MB, free: 46.08 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.484e-05/0.3914, allocations: 398 kB / 397.6 MB, free: 45.63 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001588/0.393, allocations: 1.506 MB / 399.1 MB, free: 44.81 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001801/0.3932, allocations: 72.95 kB / 399.2 MB, free: 44.74 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003814/0.3936, allocations: 0.8177 MB / 400 MB, free: 44.02 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004047/0.394, allocations: 0.8369 MB / 400.8 MB, free: 43.2 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000549/0.3946, allocations: 420.1 kB / 401.3 MB, free: 42.79 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.805e-05/0.3946, allocations: 305.1 kB / 401.6 MB, free: 42.48 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001741/0.3964, allocations: 0.9885 MB / 402.5 MB, free: 41.49 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001874/0.3983, allocations: 1.253 MB / 403.8 MB, free: 40.17 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.02919/0.4275, allocations: 9.395 MB / 413.2 MB, free: 30.66 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.4275, allocations: 4 kB / 413.2 MB, free: 30.65 MB / 318.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.004948/0.4324, allocations: 2.94 MB / 416.1 MB, free: 27.65 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.4325, allocations: 8 kB / 416.1 MB, free: 27.64 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.362e-05/0.4325, allocations: 7.984 kB / 416.1 MB, free: 27.64 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008173/0.4333, allocations: 357 kB / 416.5 MB, free: 27.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002346/0.4357, allocations: 0.55 MB / 417 MB, free: 26.72 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006359/0.4421, allocations: 11.11 MB / 428.2 MB, free: 14.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002159/0.4442, allocations: 127.9 kB / 428.3 MB, free: 14.69 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001691/0.4444, allocations: 87.95 kB / 428.4 MB, free: 14.61 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 system: 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.000818/0.4453, allocations: 466.1 kB / 428.8 MB, free: 14.14 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000396/0.4457, allocations: 214.3 kB / 429 MB, free: 13.93 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007235/0.4529, allocations: 3.446 MB / 432.5 MB, free: 10.4 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.579e-05/0.4529, allocations: 27.28 kB / 432.5 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.4529, allocations: 4 kB / 432.5 MB, free: 10.37 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.008e-05/0.453, allocations: 15.95 kB / 432.5 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01055/0.4635, allocations: 6.177 MB / 438.7 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/0.4636, allocations: 7.656 kB / 438.7 MB, free: 4.094 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001819/0.4654, allocations: 419 kB / 439.1 MB, free: 3.688 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004987/0.4704, allocations: 1.217 MB / 440.3 MB, free: 2.445 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001917/0.4706, allocations: 63.97 kB / 440.4 MB, free: 2.383 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02088/0.4915, allocations: 19.03 MB / 459.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.4915, allocations: 0 / 459.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01101/0.5025, allocations: 4.906 MB / 464.3 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/0.5037, allocations: 0.5295 MB / 464.9 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003174/0.5041, allocations: 56 kB / 464.9 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001877/0.5059, allocations: 135.9 kB / 465 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006359/0.5066, allocations: 193.8 kB / 465.2 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001585/0.5068, allocations: 75.97 kB / 465.3 MB, free: 8.117 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001601/0.5084, allocations: 1.041 MB / 466.3 MB, free: 7.078 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5084, allocations: 4 kB / 466.4 MB, free: 7.074 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002785/0.5112, allocations: 0.6952 MB / 467 MB, free: 6.387 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.0005395/0.5117, allocations: 257.7 kB / 467.3 MB, free: 6.145 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.009319/0.521, allocations: 3.76 MB / 471.1 MB, free: 2.285 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/0.5211, allocations: 8.062 kB / 471.1 MB, free: 2.277 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003809/0.5249, allocations: 2.616 MB / 473.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002213/0.5271, allocations: 387.5 kB / 474.1 MB, free: 15.17 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008876/0.536, allocations: 5.387 MB / 479.4 MB, free: 9.738 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001144/0.5372, allocations: 1.565 MB / 481 MB, free: 8.137 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008814/0.5381, allocations: 175.3 kB / 481.2 MB, free: 7.965 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.5381, allocations: 0 / 481.2 MB, free: 7.965 MB / 366.1 MB Notification: Performance of Templates: time 0.2496/0.7877, allocations: 96.28 MB / 0.5639 GB, free: 110.1 MB / 414.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