Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.0007499/0.0007499, allocations: 86.53 kB / 16.31 MB, free: 6.449 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.0007761/0.0007761, allocations: 180.2 kB / 17.21 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 223.3 MB / 241.2 MB, free: 5.191 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002387/0.0002388, allocations: 9.906 kB / 300.8 MB, free: 5.469 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08479/0.08505, allocations: 50.42 MB / 351.3 MB, free: 11.36 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.009104/0.09419, allocations: 9.28 MB / 360.5 MB, free: 2.039 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01004/0.1043, allocations: 6.063 MB / 366.6 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009764/0.1053, allocations: 31.88 kB / 366.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008648/0.1061, allocations: 365.4 kB / 367 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001615/0.1078, allocations: 0.745 MB / 367.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004537/0.1123, allocations: 1.826 MB / 369.6 MB, free: 9.008 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004002/0.1163, allocations: 3.145 MB / 372.7 MB, free: 5.848 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009272/0.1173, allocations: 0.5847 MB / 373.3 MB, free: 5.238 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001463/0.1187, allocations: 1.039 MB / 374.3 MB, free: 4.195 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001433/0.1202, allocations: 1.257 MB / 375.6 MB, free: 2.934 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002696/0.1205, allocations: 148 kB / 375.7 MB, free: 2.789 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009502/0.1214, allocations: 383.6 kB / 376.1 MB, free: 2.414 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005673/0.122, allocations: 0.537 MB / 376.6 MB, free: 1.875 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005306/0.1225, allocations: 476.5 kB / 377.1 MB, free: 1.402 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002659/0.1252, allocations: 2.987 MB / 380.1 MB, free: 14.41 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.1252, allocations: 8 kB / 380.1 MB, free: 14.4 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1252, allocations: 0 / 380.1 MB, free: 14.4 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.156e-05/0.1253, allocations: 0 / 380.1 MB, free: 14.4 MB / 318.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.006128/0.1314, allocations: 2.662 MB / 382.8 MB, free: 11.68 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.1315, allocations: 8.562 kB / 382.8 MB, free: 11.67 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004421/0.1319, allocations: 276.7 kB / 383 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001836/0.1338, allocations: 1.299 MB / 384.3 MB, free: 10.04 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002114/0.134, allocations: 244.8 kB / 384.6 MB, free: 9.785 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004846/0.1345, allocations: 235.9 kB / 384.8 MB, free: 9.555 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003685/0.1382, allocations: 2.165 MB / 387 MB, free: 7.309 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.001e-05/0.1382, allocations: 11.84 kB / 387 MB, free: 7.297 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001696/0.1384, allocations: 84 kB / 387.1 MB, free: 7.215 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.579e-05/0.1384, allocations: 47.98 kB / 387.1 MB, free: 7.168 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003728/0.1422, allocations: 1.947 MB / 389.1 MB, free: 5.219 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01141/0.1536, allocations: 7.892 MB / 396.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003347/0.157, allocations: 2.104 MB / 399.1 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001987/0.159, allocations: 1.247 MB / 400.3 MB, free: 9.695 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001081/0.1591, allocations: 29.98 kB / 400.3 MB, free: 9.664 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.753e-05/0.1592, allocations: 60.56 kB / 400.4 MB, free: 9.598 MB / 334.1 MB Notification: Performance of pre-optimization done (n=208): time 4.008e-06/0.1592, allocations: 4 kB / 400.4 MB, free: 9.594 MB / 334.1 MB Notification: Performance of matching and sorting (n=250): time 0.04886/0.208, allocations: 14.78 MB / 415.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001654/0.2082, allocations: 393.8 kB / 415.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002049/0.2103, allocations: 1.498 MB / 417.1 MB, free: 8.668 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001716/0.2105, allocations: 73.7 kB / 417.1 MB, free: 8.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005887/0.2111, allocations: 0.8119 MB / 417.9 MB, free: 7.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006256/0.2117, allocations: 0.8354 MB / 418.8 MB, free: 6.922 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/0.2119, allocations: 52 kB / 418.8 MB, free: 6.871 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.212, allocations: 390.8 kB / 419.2 MB, free: 6.484 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002041/0.2141, allocations: 1.016 MB / 420.2 MB, free: 5.465 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002211/0.2163, allocations: 1.28 MB / 421.5 MB, free: 4.117 MB / 350.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.1874/0.4037, allocations: 7.458 MB / 429 MB, free: 61.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.4037, allocations: 0 / 429 MB, free: 61.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.00636/0.4101, allocations: 2.97 MB / 431.9 MB, free: 61.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.324e-05/0.4102, allocations: 9.203 kB / 431.9 MB, free: 61.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.018e-05/0.4102, allocations: 7.172 kB / 431.9 MB, free: 61.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009034/0.4111, allocations: 357.1 kB / 432.3 MB, free: 61.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002498/0.4136, allocations: 0.5506 MB / 432.8 MB, free: 61.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006849/0.4205, allocations: 10.02 MB / 442.9 MB, free: 53.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001846/0.4223, allocations: 137.2 kB / 443 MB, free: 53.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001764/0.4225, allocations: 84.02 kB / 443.1 MB, free: 53.73 MB / 350.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.H[1] = transformer.HStart[1] transformer.H[3] = transformer.HStart[3]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * 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 initialization (256): * Single equations (assignments): 244 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.00111/0.4236, allocations: 475.7 kB / 443.5 MB, free: 53.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003648/0.424, allocations: 207.1 kB / 443.7 MB, free: 53.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007516/0.4315, allocations: 3.542 MB / 447.3 MB, free: 52.56 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-05/0.4316, allocations: 27.5 kB / 447.3 MB, free: 52.56 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.395e-06/0.4316, allocations: 3.969 kB / 447.3 MB, free: 52.56 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.939e-05/0.4316, allocations: 11.34 kB / 447.3 MB, free: 52.56 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01084/0.4424, allocations: 6.273 MB / 453.6 MB, free: 49.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/0.4425, allocations: 1 kB / 453.6 MB, free: 49.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001778/0.4443, allocations: 432.2 kB / 454 MB, free: 49.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005209/0.4495, allocations: 1.253 MB / 455.3 MB, free: 49.04 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003321/0.4499, allocations: 66.09 kB / 455.3 MB, free: 49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01562/0.4655, allocations: 17.4 MB / 472.7 MB, free: 31.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.4655, allocations: 3.984 kB / 472.8 MB, free: 31.19 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008715/0.4742, allocations: 5.002 MB / 477.8 MB, free: 26.08 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008821/0.4751, allocations: 0.5333 MB / 478.3 MB, free: 25.53 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002825/0.4754, allocations: 52 kB / 478.3 MB, free: 25.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001546/0.477, allocations: 151.9 kB / 478.5 MB, free: 25.33 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003871/0.4774, allocations: 209.7 kB / 478.7 MB, free: 25.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001274/0.4775, allocations: 71.97 kB / 478.8 MB, free: 25.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001151/0.4787, allocations: 1.025 MB / 479.8 MB, free: 24.03 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4787, allocations: 4 kB / 479.8 MB, free: 24.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002356/0.481, allocations: 0.6987 MB / 480.5 MB, free: 23.33 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 (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 6 {1 8,1 8,1 8,2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004411/0.4815, allocations: 258.4 kB / 480.7 MB, free: 23.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004586/0.4861, allocations: 3.408 MB / 484.1 MB, free: 19.56 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.4861, allocations: 4 kB / 484.2 MB, free: 19.56 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002971/0.4891, allocations: 2.627 MB / 486.8 MB, free: 16.81 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001803/0.4909, allocations: 367.6 kB / 487.1 MB, free: 16.46 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007509/0.4984, allocations: 6.37 MB / 493.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008079/0.4992, allocations: 1.561 MB / 495.1 MB, free: 8.449 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001189/0.5004, allocations: 295.8 kB / 495.4 MB, free: 8.156 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005473/0.501, allocations: 155.4 kB / 495.5 MB, free: 8.008 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.501, allocations: 4 kB / 495.5 MB, free: 8.004 MB / 350.1 MB Notification: Performance of Templates: time 0.05379/0.5548, allocations: 35.32 MB / 0.5184 GB, free: 4.934 MB / 382.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/ThreePhaseTransformerWithRectifier/ThreePhaseTransformerWithRectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches