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.00172/0.00172, allocations: 111 kB / 17.74 MB, free: 5.34 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.002387/0.002386, allocations: 192.3 kB / 18.68 MB, free: 4.41 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.412/1.412, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 51.92 kB / 352 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2415, allocations: 49.44 MB / 401.4 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01047/0.252, allocations: 10.56 MB / 412 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01075/0.2627, allocations: 6.27 MB / 418.3 MB, free: 7.953 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001737/0.2645, allocations: 35.88 kB / 418.3 MB, free: 7.918 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001286/0.2658, allocations: 485.2 kB / 418.8 MB, free: 7.441 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00259/0.2685, allocations: 0.9114 MB / 419.7 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005248/0.2737, allocations: 2.498 MB / 422.2 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004437/0.2782, allocations: 3.473 MB / 425.7 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001297/0.2795, allocations: 0.7565 MB / 426.4 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00198/0.2815, allocations: 1.281 MB / 427.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002336/0.2838, allocations: 1.471 MB / 429.2 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008473/0.2847, allocations: 328 kB / 429.5 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001487/0.2862, allocations: 0.566 MB / 430 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009125/0.2871, allocations: 0.736 MB / 430.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002152/0.2893, allocations: 1.404 MB / 432.2 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00429/0.2936, allocations: 3.921 MB / 436.1 MB, free: 6.023 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.2936, allocations: 0 / 436.1 MB, free: 6.023 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2936, allocations: 0 / 436.1 MB, free: 6.023 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.077e-05/0.2937, allocations: 0 / 436.1 MB, free: 6.023 MB / 350.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.007433/0.3011, allocations: 3.082 MB / 439.2 MB, free: 2.883 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.3012, allocations: 12.02 kB / 439.2 MB, free: 2.871 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005253/0.3017, allocations: 281.7 kB / 439.5 MB, free: 2.594 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002085/0.3038, allocations: 1.373 MB / 440.8 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001935/0.304, allocations: 237.5 kB / 441.1 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005583/0.3046, allocations: 247.9 kB / 441.3 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003866/0.3084, allocations: 2.169 MB / 443.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.584e-05/0.3085, allocations: 0 / 443.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001908/0.3087, allocations: 84 kB / 443.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.629e-05/0.3087, allocations: 48 kB / 443.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003864/0.3126, allocations: 1.916 MB / 445.5 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01177/0.3244, allocations: 7.775 MB / 453.3 MB, free: 4.367 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003495/0.3279, allocations: 2.085 MB / 455.4 MB, free: 2.25 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002997/0.3309, allocations: 1.582 MB / 457 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.744e-05/0.3311, allocations: 29.92 kB / 457 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.949e-05/0.3311, allocations: 72.5 kB / 457.1 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of pre-optimization done (n=208): time 5.15e-06/0.3311, allocations: 4 kB / 457.1 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of matching and sorting (n=250): time 0.05278/0.3839, allocations: 14.06 MB / 471.1 MB, free: 2.316 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001698/0.3841, allocations: 393.8 kB / 471.5 MB, free: 1.844 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002172/0.3863, allocations: 1.506 MB / 473 MB, free: 336 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003565/0.3867, allocations: 77.64 kB / 473.1 MB, free: 252 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005958/0.3873, allocations: 0.8197 MB / 473.9 MB, free: 15.42 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008064/0.3881, allocations: 0.8354 MB / 474.8 MB, free: 14.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007016/0.3888, allocations: 416.5 kB / 475.2 MB, free: 14.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.325e-05/0.3889, allocations: 301.1 kB / 475.5 MB, free: 13.86 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002092/0.391, allocations: 0.9963 MB / 476.5 MB, free: 12.86 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002299/0.3933, allocations: 1.26 MB / 477.7 MB, free: 11.53 MB / 398.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.03448/0.4278, allocations: 9.413 MB / 487.1 MB, free: 1.992 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.804e-06/0.4278, allocations: 3.938 kB / 487.1 MB, free: 1.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006705/0.4346, allocations: 2.944 MB / 490.1 MB, free: 14.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.4346, allocations: 12.03 kB / 490.1 MB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.13e-05/0.4346, allocations: 8 kB / 490.1 MB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009891/0.4356, allocations: 344.9 kB / 490.4 MB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002791/0.4385, allocations: 0.5461 MB / 491 MB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009139/0.4476, allocations: 10.94 MB / 0.4902 GB, free: 2.277 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002395/0.45, allocations: 124 kB / 0.4903 GB, free: 2.156 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003753/0.4504, allocations: 87.95 kB / 0.4904 GB, free: 2.07 MB / 414.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.001234/0.4517, allocations: 465.3 kB / 0.4908 GB, free: 1.605 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006506/0.4523, allocations: 213.4 kB / 0.491 GB, free: 1.395 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009075/0.4614, allocations: 3.461 MB / 0.4944 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.921e-05/0.4615, allocations: 28 kB / 0.4944 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-05/0.4615, allocations: 7.938 kB / 0.4944 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.059e-05/0.4615, allocations: 11.95 kB / 0.4944 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01433/0.4759, allocations: 6.266 MB / 0.5006 GB, free: 7.391 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-05/0.4759, allocations: 4 kB / 0.5006 GB, free: 7.387 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002178/0.4781, allocations: 427.4 kB / 0.501 GB, free: 6.969 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005759/0.4839, allocations: 1.206 MB / 0.5022 GB, free: 5.734 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000364/0.4843, allocations: 64.03 kB / 0.5022 GB, free: 5.672 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02176/0.506, allocations: 18.87 MB / 0.5206 GB, free: 1.555 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.5061, allocations: 8.094 kB / 0.5206 GB, free: 1.547 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01223/0.5183, allocations: 4.924 MB / 0.5255 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001736/0.5201, allocations: 0.5295 MB / 0.526 GB, free: 11.95 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007638/0.5209, allocations: 59.98 kB / 0.526 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002275/0.5232, allocations: 131.9 kB / 0.5262 GB, free: 11.76 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006124/0.5238, allocations: 201.7 kB / 0.5263 GB, free: 11.56 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002165/0.5241, allocations: 71.92 kB / 0.5264 GB, free: 11.49 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00177/0.5258, allocations: 1.041 MB / 0.5274 GB, free: 10.45 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5259, allocations: 0 / 0.5274 GB, free: 10.45 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003218/0.5291, allocations: 0.6914 MB / 0.5281 GB, free: 9.762 MB / 462.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.0007006/0.5298, allocations: 269.1 kB / 0.5284 GB, free: 9.488 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006382/0.5362, allocations: 3.36 MB / 0.5316 GB, free: 6 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/0.5362, allocations: 4 kB / 0.5317 GB, free: 5.996 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004329/0.5406, allocations: 2.593 MB / 0.5342 GB, free: 3.281 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002717/0.5433, allocations: 386.7 kB / 0.5346 GB, free: 2.91 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1998/0.7432, allocations: 5.325 MB / 0.5398 GB, free: 130.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00124/0.7444, allocations: 1.562 MB / 0.5413 GB, free: 129.6 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001064/0.7455, allocations: 178.2 kB / 0.5414 GB, free: 129.6 MB / 462.1 MB Notification: Performance of SimCode: time 1.894e-06/0.7455, allocations: 3.969 kB / 0.5415 GB, free: 129.6 MB / 462.1 MB Notification: Performance of Templates: time 0.07062/0.8162, allocations: 96.61 MB / 0.6358 GB, free: 41.2 MB / 462.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/ThreePhaseTransformerWithRectifier/ThreePhaseTransformerWithRectifier.csv","/var/lib/jenkins1/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