Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001158/0.001158, allocations: 175.2 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.33/1.33, allocations: 205.4 MB / 222.9 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007304/0.0007304, allocations: 93.2 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003011/0.0003011, allocations: 11.98 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.224, allocations: 47.57 MB / 375.1 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.00821/0.2323, allocations: 9.201 MB / 384.3 MB, free: 38.19 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01079/0.2431, allocations: 6.09 MB / 390.4 MB, free: 33.4 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002386/0.2456, allocations: 39.81 kB / 390.4 MB, free: 33.36 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001149/0.2467, allocations: 369.4 kB / 390.8 MB, free: 33 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002707/0.2495, allocations: 0.745 MB / 391.5 MB, free: 32.25 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006334/0.2558, allocations: 1.825 MB / 393.4 MB, free: 30.43 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00661/0.2624, allocations: 3.174 MB / 396.5 MB, free: 27.25 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001348/0.2638, allocations: 0.6464 MB / 397.2 MB, free: 26.58 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00214/0.266, allocations: 1.039 MB / 398.2 MB, free: 25.54 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001815/0.2678, allocations: 1.253 MB / 399.5 MB, free: 24.28 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000391/0.2682, allocations: 148 kB / 399.6 MB, free: 24.13 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001098/0.2693, allocations: 379.6 kB / 400 MB, free: 23.76 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00039/0.2697, allocations: 0.5409 MB / 400.5 MB, free: 23.22 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001167/0.2709, allocations: 1.176 MB / 401.7 MB, free: 22.03 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002409/0.2733, allocations: 2.995 MB / 404.7 MB, free: 19.03 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.2734, allocations: 0 / 404.7 MB, free: 19.03 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.2734, allocations: 0 / 404.7 MB, free: 19.03 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.296e-05/0.2735, allocations: 0 / 404.7 MB, free: 19.03 MB / 298.7 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.006116/0.2796, allocations: 2.639 MB / 407.3 MB, free: 16.33 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.2797, allocations: 12.03 kB / 407.3 MB, free: 16.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006744/0.2803, allocations: 281.7 kB / 407.6 MB, free: 16.04 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001999/0.2823, allocations: 1.354 MB / 409 MB, free: 14.63 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001558/0.2825, allocations: 241.5 kB / 409.2 MB, free: 14.38 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004927/0.283, allocations: 243.9 kB / 409.4 MB, free: 14.14 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003579/0.2866, allocations: 2.163 MB / 411.6 MB, free: 11.9 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.658e-05/0.2867, allocations: 7.906 kB / 411.6 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001622/0.2868, allocations: 76 kB / 411.7 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.743e-05/0.2869, allocations: 52 kB / 411.7 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00356/0.2905, allocations: 1.947 MB / 413.7 MB, free: 9.816 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0115/0.302, allocations: 7.888 MB / 421.6 MB, free: 1.688 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003262/0.3053, allocations: 2.108 MB / 423.7 MB, free: 15.54 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002154/0.3075, allocations: 1.247 MB / 424.9 MB, free: 14.29 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000118/0.3076, allocations: 29.92 kB / 425 MB, free: 14.26 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.309e-05/0.3077, allocations: 68.5 kB / 425 MB, free: 14.18 MB / 314.7 MB Notification: Performance of pre-optimization done (n=208): time 4.789e-06/0.3077, allocations: 0 / 425 MB, free: 14.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=250): time 0.05231/0.36, allocations: 14.79 MB / 439.8 MB, free: 15.22 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002039/0.3603, allocations: 385.8 kB / 440.2 MB, free: 14.76 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002797/0.3631, allocations: 1.498 MB / 441.7 MB, free: 13.25 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004377/0.3636, allocations: 73.7 kB / 441.8 MB, free: 13.18 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000684/0.3643, allocations: 0.8197 MB / 442.6 MB, free: 12.34 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009621/0.3652, allocations: 0.8315 MB / 443.4 MB, free: 11.5 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002943/0.3655, allocations: 52 kB / 443.5 MB, free: 11.45 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001895/0.3657, allocations: 402.7 kB / 443.9 MB, free: 11.05 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002251/0.368, allocations: 1.004 MB / 444.9 MB, free: 10.04 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002501/0.3705, allocations: 1.28 MB / 446.1 MB, free: 8.695 MB / 330.7 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.03559/0.4061, allocations: 9.714 MB / 455.9 MB, free: 14.86 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/0.4062, allocations: 3.938 kB / 455.9 MB, free: 14.85 MB / 346.7 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.007246/0.4134, allocations: 2.979 MB / 458.8 MB, free: 11.81 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/0.4135, allocations: 4 kB / 458.8 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.027e-05/0.4135, allocations: 4 kB / 458.9 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001032/0.4146, allocations: 360.9 kB / 459.2 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002659/0.4172, allocations: 0.5618 MB / 459.8 MB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00905/0.4263, allocations: 10.02 MB / 469.8 MB, free: 40 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002493/0.4288, allocations: 148.1 kB / 469.9 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004819/0.4293, allocations: 79.95 kB / 470 MB, free: 15.81 MB / 362.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: transformer.winding23.i = transformer.I2Start[1] transformer.winding21.i = transformer.I2Start[1]. 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.00151/0.4309, allocations: 465.3 kB / 470.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00075/0.4316, allocations: 217.4 kB / 470.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009224/0.4409, allocations: 3.543 MB / 474.2 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.884e-05/0.4409, allocations: 28 kB / 474.2 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.055e-05/0.441, allocations: 4 kB / 474.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.443e-05/0.441, allocations: 15.95 kB / 474.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01406/0.4551, allocations: 6.266 MB / 480.5 MB, free: 5.039 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.271e-05/0.4551, allocations: 0 / 480.5 MB, free: 5.039 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002015/0.4571, allocations: 435.4 kB / 481 MB, free: 4.613 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006218/0.4634, allocations: 1.253 MB / 482.2 MB, free: 3.332 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004639/0.4639, allocations: 59.97 kB / 482.3 MB, free: 3.273 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02143/0.4853, allocations: 17.42 MB / 499.7 MB, free: 0.6367 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.4854, allocations: 4.031 kB / 499.7 MB, free: 0.6328 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01209/0.4975, allocations: 4.999 MB / 0.4929 GB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001376/0.4989, allocations: 0.5295 MB / 0.4934 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006462/0.4996, allocations: 59.98 kB / 0.4934 GB, free: 10.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002164/0.5018, allocations: 151.9 kB / 0.4936 GB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005894/0.5024, allocations: 205.7 kB / 0.4938 GB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002035/0.5026, allocations: 75.97 kB / 0.4939 GB, free: 10.48 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001702/0.5043, allocations: 1.025 MB / 0.4949 GB, free: 9.457 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5043, allocations: 0 / 0.4949 GB, free: 9.457 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003157/0.5075, allocations: 0.6914 MB / 0.4955 GB, free: 8.766 MB / 394.7 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.0006936/0.5082, allocations: 260.1 kB / 0.4958 GB, free: 8.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006682/0.5149, allocations: 3.422 MB / 0.4991 GB, free: 4.949 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.338e-06/0.5149, allocations: 4 kB / 0.4991 GB, free: 4.945 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004484/0.5194, allocations: 2.625 MB / 0.5017 GB, free: 2.199 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003151/0.5226, allocations: 370.1 kB / 0.502 GB, free: 1.836 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1811/0.7037, allocations: 6.431 MB / 0.5083 GB, free: 120.3 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001253/0.705, allocations: 1.561 MB / 0.5098 GB, free: 119.6 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001195/0.7062, allocations: 175.5 kB / 0.51 GB, free: 119.6 MB / 394.7 MB Notification: Performance of SimCode: time 9.81e-07/0.7062, allocations: 0 / 0.51 GB, free: 119.6 MB / 394.7 MB Notification: Performance of Templates: time 0.07722/0.7835, allocations: 96.02 MB / 0.6038 GB, free: 31.13 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches