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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 222.9 MB / 240.9 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009357/0.0009357, allocations: 109.9 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007861/0.0007862, allocations: 39.95 kB / 350 MB, free: 72 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2227, allocations: 49.44 MB / 399.5 MB, free: 33.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.00811/0.2309, allocations: 10.47 MB / 410 MB, free: 22.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00971/0.2406, allocations: 6.676 MB / 416.6 MB, free: 16.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002356/0.2431, allocations: 31.88 kB / 416.7 MB, free: 16.15 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001279/0.2444, allocations: 389.4 kB / 417 MB, free: 15.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002583/0.247, allocations: 0.7879 MB / 417.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00423/0.2512, allocations: 2.03 MB / 419.9 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003138/0.2544, allocations: 3.403 MB / 423.3 MB, free: 9.539 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007501/0.2551, allocations: 0.6581 MB / 423.9 MB, free: 8.855 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001342/0.2565, allocations: 1.117 MB / 425 MB, free: 7.734 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00108/0.2576, allocations: 1.373 MB / 426.4 MB, free: 6.355 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000269/0.2579, allocations: 172 kB / 426.6 MB, free: 6.188 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007503/0.2586, allocations: 415.6 kB / 427 MB, free: 5.781 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003796/0.259, allocations: 0.5798 MB / 427.6 MB, free: 5.199 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000846/0.2599, allocations: 1.255 MB / 428.8 MB, free: 3.938 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002195/0.2621, allocations: 3.741 MB / 432.6 MB, free: 188 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2621, allocations: 0 / 432.6 MB, free: 188 kB / 298.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.2621, allocations: 4 kB / 432.6 MB, free: 184 kB / 298.7 MB Notification: Performance of Transformations before backend: time 4.365e-05/0.2622, allocations: 0 / 432.6 MB, free: 184 kB / 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.007304/0.2695, allocations: 3.083 MB / 435.6 MB, free: 13.04 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.2695, allocations: 8.031 kB / 435.7 MB, free: 13.03 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004636/0.27, allocations: 273.8 kB / 435.9 MB, free: 12.76 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002063/0.2721, allocations: 1.354 MB / 437.3 MB, free: 11.35 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002168/0.2723, allocations: 237.5 kB / 437.5 MB, free: 11.1 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005521/0.2728, allocations: 240 kB / 437.7 MB, free: 10.87 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003681/0.2765, allocations: 2.174 MB / 439.9 MB, free: 8.613 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.692e-05/0.2766, allocations: 0 / 439.9 MB, free: 8.613 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001624/0.2768, allocations: 84 kB / 440 MB, free: 8.531 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.589e-05/0.2768, allocations: 48 kB / 440 MB, free: 8.484 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00372/0.2805, allocations: 1.92 MB / 442 MB, free: 6.562 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01185/0.2924, allocations: 7.837 MB / 449.8 MB, free: 14.49 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003377/0.2958, allocations: 2.088 MB / 451.9 MB, free: 12.35 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001998/0.2978, allocations: 1.231 MB / 453.1 MB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001117/0.298, allocations: 37.91 kB / 453.2 MB, free: 11.08 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.869e-05/0.298, allocations: 60.56 kB / 453.2 MB, free: 11.01 MB / 330.7 MB Notification: Performance of pre-optimization done (n=208): time 3.988e-06/0.298, allocations: 0 / 453.2 MB, free: 11.01 MB / 330.7 MB Notification: Performance of matching and sorting (n=250): time 0.04861/0.3467, allocations: 14.05 MB / 467.3 MB, free: 12.79 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001644/0.3469, allocations: 393.8 kB / 467.7 MB, free: 12.32 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002162/0.349, allocations: 1.514 MB / 469.2 MB, free: 10.79 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002678/0.3493, allocations: 69.7 kB / 469.2 MB, free: 10.72 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005673/0.3499, allocations: 0.8274 MB / 470.1 MB, free: 9.883 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006828/0.3506, allocations: 0.8277 MB / 470.9 MB, free: 9.043 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006328/0.3512, allocations: 416.5 kB / 471.3 MB, free: 8.629 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.104e-05/0.3513, allocations: 305.1 kB / 471.6 MB, free: 8.328 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00202/0.3533, allocations: 0.9924 MB / 472.6 MB, free: 7.332 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002129/0.3555, allocations: 1.256 MB / 473.8 MB, free: 6.008 MB / 346.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.03143/0.3869, allocations: 9.37 MB / 483.2 MB, free: 12.51 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-05/0.387, allocations: 4 kB / 483.2 MB, free: 12.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006005/0.393, allocations: 2.936 MB / 486.2 MB, free: 9.508 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.393, allocations: 8 kB / 486.2 MB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.705e-05/0.393, allocations: 7.984 kB / 486.2 MB, free: 9.492 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009395/0.394, allocations: 364.9 kB / 486.5 MB, free: 9.117 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002514/0.3965, allocations: 0.55 MB / 487.1 MB, free: 8.566 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008144/0.4047, allocations: 10.01 MB / 497.1 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002361/0.4071, allocations: 131.9 kB / 497.2 MB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001867/0.4073, allocations: 83.95 kB / 497.3 MB, free: 13.54 MB / 378.7 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.001011/0.4083, allocations: 472.9 kB / 497.8 MB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004143/0.4087, allocations: 209.5 kB / 498 MB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008325/0.417, allocations: 3.453 MB / 0.4897 GB, free: 9.324 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.123e-05/0.4171, allocations: 35.92 kB / 0.4897 GB, free: 9.289 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/0.4171, allocations: 4 kB / 0.4897 GB, free: 9.285 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.684e-05/0.4172, allocations: 11.95 kB / 0.4897 GB, free: 9.273 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01255/0.4297, allocations: 6.165 MB / 0.4957 GB, free: 2.961 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/0.4298, allocations: 7.938 kB / 0.4957 GB, free: 2.953 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00195/0.4317, allocations: 419.4 kB / 0.4961 GB, free: 2.543 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005598/0.4373, allocations: 1.206 MB / 0.4973 GB, free: 1.309 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002894/0.4376, allocations: 59.97 kB / 0.4974 GB, free: 1.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1931/0.6307, allocations: 17.21 MB / 0.5142 GB, free: 84.13 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.6308, allocations: 3.938 kB / 0.5142 GB, free: 84.13 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09212/0.7229, allocations: 47.51 MB / 0.5606 GB, free: 40.76 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007626/0.7237, allocations: 0.5323 MB / 0.5611 GB, free: 40.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002474/0.724, allocations: 56 kB / 0.5612 GB, free: 40.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001684/0.7256, allocations: 135.9 kB / 0.5613 GB, free: 40.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004905/0.7262, allocations: 189.8 kB / 0.5615 GB, free: 39.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001316/0.7263, allocations: 75.98 kB / 0.5615 GB, free: 39.76 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001079/0.7274, allocations: 1.048 MB / 0.5626 GB, free: 38.71 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.162e-06/0.7274, allocations: 0 / 0.5626 GB, free: 38.71 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003683/0.7311, allocations: 1.03 MB / 0.5636 GB, free: 37.7 MB / 378.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 (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.0005753/0.7317, allocations: 254.6 kB / 0.5638 GB, free: 37.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004912/0.7366, allocations: 3.354 MB / 0.5671 GB, free: 33.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.7366, allocations: 0 / 0.5671 GB, free: 33.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00318/0.7398, allocations: 2.599 MB / 0.5696 GB, free: 31.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002085/0.7419, allocations: 366.2 kB / 0.57 GB, free: 30.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01062/0.7525, allocations: 9.155 MB / 0.5789 GB, free: 21.63 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009341/0.7535, allocations: 1.65 MB / 0.5805 GB, free: 19.95 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001494/0.755, allocations: 343.8 kB / 0.5809 GB, free: 19.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007005/0.7557, allocations: 183.3 kB / 0.581 GB, free: 19.43 MB / 378.7 MB Notification: Performance of SimCode: time 6.91e-07/0.7557, allocations: 0 / 0.581 GB, free: 19.43 MB / 378.7 MB Notification: Performance of Templates: time 0.07577/0.8315, allocations: 52.54 MB / 0.6323 GB, free: 15.17 MB / 426.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/ThreePhaseTransformerWithRectifier/ThreePhaseTransformerWithRectifier.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches