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.001498/0.001498, allocations: 110.1 kB / 18.4 MB, free: 4.699 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.001652/0.001653, allocations: 190.3 kB / 19.33 MB, free: 3.781 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.451/1.451, allocations: 205.1 MB / 225.2 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.001456/0.001456, allocations: 55.92 kB / 329.2 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08895/0.09041, allocations: 46.61 MB / 375.8 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.1964/0.2868, allocations: 10.47 MB / 386.3 MB, free: 7.324 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01257/0.2994, allocations: 6.303 MB / 392.6 MB, free: 3.738 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002698/0.3022, allocations: 36.09 kB / 392.6 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00203/0.3043, allocations: 484.7 kB / 393.1 MB, free: 3.441 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003964/0.3083, allocations: 0.9037 MB / 394 MB, free: 2.828 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00781/0.3161, allocations: 2.51 MB / 396.5 MB, free: 1.742 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00561/0.3217, allocations: 3.47 MB / 400 MB, free: 0 / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001831/0.3236, allocations: 0.7526 MB / 400.7 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00286/0.3265, allocations: 1.29 MB / 402 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003119/0.3296, allocations: 1.466 MB / 403.5 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001217/0.3308, allocations: 328.5 kB / 403.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002241/0.3331, allocations: 0.5742 MB / 404.4 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001461/0.3346, allocations: 0.739 MB / 405.1 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003132/0.3377, allocations: 1.399 MB / 406.5 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006172/0.3439, allocations: 3.926 MB / 410.5 MB, free: 9.535 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.3439, allocations: 1.688 kB / 410.5 MB, free: 9.535 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.344, allocations: 0 / 410.5 MB, free: 9.535 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001597/0.3441, allocations: 0 / 410.5 MB, free: 9.535 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.01066/0.3548, allocations: 3.077 MB / 413.5 MB, free: 7.461 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.3549, allocations: 13.12 kB / 413.6 MB, free: 7.457 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001146/0.356, allocations: 274.5 kB / 413.8 MB, free: 7.324 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00349/0.3595, allocations: 1.371 MB / 415.2 MB, free: 6.258 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003117/0.3599, allocations: 247.6 kB / 415.4 MB, free: 6.086 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000883/0.3607, allocations: 237.1 kB / 415.7 MB, free: 6 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005789/0.3666, allocations: 2.167 MB / 417.8 MB, free: 4.633 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.557e-05/0.3667, allocations: 5.188 kB / 417.8 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003705/0.367, allocations: 79.28 kB / 417.9 MB, free: 4.57 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.962e-05/0.3671, allocations: 46.75 kB / 418 MB, free: 4.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004858/0.372, allocations: 1.921 MB / 419.9 MB, free: 3.348 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01567/0.3876, allocations: 7.786 MB / 427.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003964/0.3917, allocations: 2.073 MB / 429.7 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003187/0.3949, allocations: 1.59 MB / 431.3 MB, free: 7.617 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001333/0.395, allocations: 29.92 kB / 431.4 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.161e-05/0.3951, allocations: 64.5 kB / 431.4 MB, free: 7.516 MB / 350.1 MB Notification: Performance of pre-optimization done (n=208): time 5.401e-06/0.3951, allocations: 0 / 431.4 MB, free: 7.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=250): time 0.05523/0.4504, allocations: 14.08 MB / 445.5 MB, free: 9.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002195/0.4506, allocations: 385.8 kB / 445.9 MB, free: 8.805 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002457/0.4531, allocations: 1.51 MB / 447.4 MB, free: 7.285 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003488/0.4535, allocations: 73.7 kB / 447.5 MB, free: 7.207 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006011/0.4541, allocations: 0.8236 MB / 448.3 MB, free: 6.375 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008568/0.4549, allocations: 0.8354 MB / 449.1 MB, free: 5.527 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000939/0.4559, allocations: 416.5 kB / 449.5 MB, free: 5.113 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.456, allocations: 301.1 kB / 449.8 MB, free: 4.816 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002235/0.4583, allocations: 0.9963 MB / 450.8 MB, free: 3.816 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002425/0.4607, allocations: 1.252 MB / 452.1 MB, free: 2.496 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.03284/0.4936, allocations: 9.437 MB / 461.5 MB, free: 8.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.715e-06/0.4936, allocations: 3.938 kB / 461.5 MB, free: 8.926 MB / 382.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006778/0.5004, allocations: 2.932 MB / 464.4 MB, free: 5.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.972e-05/0.5004, allocations: 15.22 kB / 464.5 MB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.27e-05/0.5005, allocations: 16.06 kB / 464.5 MB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009725/0.5015, allocations: 356.9 kB / 464.8 MB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002736/0.5042, allocations: 0.55 MB / 465.4 MB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008704/0.5129, allocations: 10.92 MB / 476.3 MB, free: 9.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002538/0.5155, allocations: 136 kB / 476.4 MB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004173/0.5159, allocations: 83.95 kB / 476.5 MB, free: 9.016 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.001308/0.5173, allocations: 461.3 kB / 477 MB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00072/0.518, allocations: 221.4 kB / 477.2 MB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008794/0.5268, allocations: 3.449 MB / 480.6 MB, free: 4.797 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.582e-05/0.5268, allocations: 28 kB / 480.6 MB, free: 4.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.796e-05/0.5269, allocations: 4 kB / 480.7 MB, free: 4.766 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.288e-05/0.5269, allocations: 15.94 kB / 480.7 MB, free: 4.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01453/0.5414, allocations: 6.266 MB / 486.9 MB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.651e-05/0.5415, allocations: 4 kB / 486.9 MB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002091/0.5436, allocations: 427.4 kB / 487.4 MB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005519/0.5491, allocations: 1.206 MB / 488.6 MB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003456/0.5495, allocations: 63.97 kB / 488.6 MB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0209/0.5704, allocations: 18.88 MB / 0.4956 GB, free: 8.496 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.5705, allocations: 0 / 0.4956 GB, free: 8.496 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01166/0.5821, allocations: 4.917 MB / 0.5004 GB, free: 3.453 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001391/0.5836, allocations: 0.5333 MB / 0.5009 GB, free: 2.898 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006875/0.5843, allocations: 56 kB / 0.501 GB, free: 2.844 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002335/0.5866, allocations: 143.8 kB / 0.5011 GB, free: 2.703 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005619/0.5872, allocations: 193.8 kB / 0.5013 GB, free: 2.512 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002037/0.5874, allocations: 79.91 kB / 0.5014 GB, free: 2.434 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001697/0.5891, allocations: 1.041 MB / 0.5024 GB, free: 1.395 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5891, allocations: 0 / 0.5024 GB, free: 1.395 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003353/0.5925, allocations: 0.6953 MB / 0.5031 GB, free: 0.6992 MB / 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.0007095/0.5932, allocations: 253.1 kB / 0.5033 GB, free: 452 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00618/0.5994, allocations: 3.356 MB / 0.5066 GB, free: 12.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.5994, allocations: 0 / 0.5066 GB, free: 12.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004106/0.6035, allocations: 2.609 MB / 0.5091 GB, free: 10.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003079/0.6066, allocations: 387 kB / 0.5095 GB, free: 9.852 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01184/0.6185, allocations: 5.348 MB / 0.5147 GB, free: 4.438 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0016/0.6201, allocations: 1.561 MB / 0.5163 GB, free: 2.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001198/0.6214, allocations: 179.3 kB / 0.5164 GB, free: 2.664 MB / 446.1 MB Notification: Performance of SimCode: time 1.312e-06/0.6214, allocations: 0 / 0.5164 GB, free: 2.664 MB / 446.1 MB Notification: Performance of Templates: time 0.2723/0.8937, allocations: 96.58 MB / 0.6108 GB, free: 111.6 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/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