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.001382/0.001382, allocations: 104.6 kB / 17.16 MB, free: 6.32 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.001554/0.001554, allocations: 190 kB / 18.07 MB, free: 5.414 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.354/1.354, allocations: 205.1 MB / 223.9 MB, free: 12.47 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.001154/0.001154, allocations: 52.34 kB / 280 MB, free: 3.574 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0868/0.08797, allocations: 46.63 MB / 326.6 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01038/0.09838, allocations: 10.39 MB / 337 MB, free: 10.43 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01166/0.1101, allocations: 6.701 MB / 343.7 MB, free: 3.711 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00231/0.1124, allocations: 35.81 kB / 343.7 MB, free: 3.676 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001289/0.1138, allocations: 389.4 kB / 344.1 MB, free: 3.293 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002354/0.1162, allocations: 0.7801 MB / 344.9 MB, free: 2.508 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004885/0.1211, allocations: 2.036 MB / 346.9 MB, free: 480 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00429/0.1254, allocations: 3.375 MB / 350.3 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009926/0.1264, allocations: 0.6581 MB / 351 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001704/0.1281, allocations: 1.113 MB / 352.1 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001506/0.1296, allocations: 1.357 MB / 353.4 MB, free: 9.918 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003837/0.13, allocations: 172 kB / 353.6 MB, free: 9.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001015/0.131, allocations: 419.6 kB / 354 MB, free: 9.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005492/0.1316, allocations: 0.5875 MB / 354.6 MB, free: 8.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00119/0.1328, allocations: 1.247 MB / 355.8 MB, free: 7.496 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003036/0.1358, allocations: 3.749 MB / 359.6 MB, free: 3.734 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1359, allocations: 0 / 359.6 MB, free: 3.734 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.1359, allocations: 0 / 359.6 MB, free: 3.734 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.892e-05/0.1359, allocations: 3.938 kB / 359.6 MB, free: 3.73 MB / 302.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.007151/0.1431, allocations: 3.079 MB / 362.7 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.1431, allocations: 8.031 kB / 362.7 MB, free: 0.582 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004338/0.1436, allocations: 273.8 kB / 363 MB, free: 320 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001904/0.1455, allocations: 1.358 MB / 364.3 MB, free: 14.9 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000199/0.1457, allocations: 241.4 kB / 364.5 MB, free: 14.65 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005108/0.1462, allocations: 243.9 kB / 364.8 MB, free: 14.41 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003733/0.15, allocations: 2.162 MB / 366.9 MB, free: 12.17 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.775e-05/0.15, allocations: 3.984 kB / 366.9 MB, free: 12.16 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001746/0.1502, allocations: 84 kB / 367 MB, free: 12.08 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.307e-05/0.1502, allocations: 48 kB / 367.1 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003739/0.154, allocations: 1.916 MB / 369 MB, free: 10.12 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01126/0.1653, allocations: 7.849 MB / 376.8 MB, free: 2.027 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1545/0.3198, allocations: 2.082 MB / 378.9 MB, free: 50.87 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00251/0.3224, allocations: 1.232 MB / 380.2 MB, free: 50.83 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001169/0.3225, allocations: 30.94 kB / 380.2 MB, free: 50.83 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.135e-05/0.3226, allocations: 61.08 kB / 380.2 MB, free: 50.79 MB / 318.1 MB Notification: Performance of pre-optimization done (n=208): time 5.13e-06/0.3226, allocations: 0.5 kB / 380.2 MB, free: 50.79 MB / 318.1 MB Notification: Performance of matching and sorting (n=250): time 0.05215/0.3747, allocations: 14.06 MB / 394.3 MB, free: 46.5 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.295e-05/0.3749, allocations: 397.3 kB / 394.7 MB, free: 46.05 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001737/0.3766, allocations: 1.504 MB / 396.2 MB, free: 45.35 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001775/0.3768, allocations: 73.36 kB / 396.3 MB, free: 45.28 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003673/0.3772, allocations: 0.8256 MB / 397.1 MB, free: 44.55 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004424/0.3776, allocations: 0.8416 MB / 397.9 MB, free: 43.82 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005789/0.3782, allocations: 402.9 kB / 398.3 MB, free: 43.59 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.371e-05/0.3782, allocations: 305.1 kB / 398.6 MB, free: 43.29 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00176/0.38, allocations: 0.9879 MB / 399.6 MB, free: 42.79 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00189/0.3819, allocations: 1.248 MB / 400.9 MB, free: 42.04 MB / 318.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.02904/0.411, allocations: 9.38 MB / 410.2 MB, free: 32.66 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.411, allocations: 0 / 410.2 MB, free: 32.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.004847/0.4158, allocations: 2.944 MB / 413.2 MB, free: 29.65 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.4159, allocations: 8 kB / 413.2 MB, free: 29.64 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.253e-05/0.4159, allocations: 7.984 kB / 413.2 MB, free: 29.64 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008245/0.4167, allocations: 352.9 kB / 413.6 MB, free: 29.28 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002389/0.4191, allocations: 0.5585 MB / 414.1 MB, free: 28.72 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005988/0.4251, allocations: 10.01 MB / 424.1 MB, free: 17.95 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00188/0.427, allocations: 127.8 kB / 424.2 MB, free: 17.83 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001605/0.4272, allocations: 87.95 kB / 424.3 MB, free: 17.74 MB / 318.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.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.0009191/0.4281, allocations: 472.3 kB / 424.8 MB, free: 17.28 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003999/0.4285, allocations: 209.5 kB / 425 MB, free: 17.07 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007386/0.4359, allocations: 3.448 MB / 428.4 MB, free: 13.54 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-05/0.436, allocations: 28 kB / 428.5 MB, free: 13.51 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.436, allocations: 8 kB / 428.5 MB, free: 13.5 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.73e-05/0.436, allocations: 11.95 kB / 428.5 MB, free: 13.49 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01084/0.4468, allocations: 6.176 MB / 434.7 MB, free: 7.238 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.497e-06/0.4469, allocations: 0 / 434.7 MB, free: 7.238 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001887/0.4488, allocations: 423.4 kB / 435.1 MB, free: 6.824 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005488/0.4543, allocations: 1.209 MB / 436.3 MB, free: 5.59 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001805/0.4545, allocations: 63.97 kB / 436.4 MB, free: 5.527 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01939/0.4739, allocations: 17.21 MB / 453.6 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.4739, allocations: 4.031 kB / 453.6 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01109/0.485, allocations: 4.907 MB / 458.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001147/0.4862, allocations: 0.5295 MB / 459 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003541/0.4865, allocations: 56 kB / 459.1 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001942/0.4885, allocations: 135.9 kB / 459.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005115/0.489, allocations: 197.7 kB / 459.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001663/0.4892, allocations: 75.97 kB / 459.5 MB, free: 13.11 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001364/0.4905, allocations: 1.037 MB / 460.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4906, allocations: 4 kB / 460.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002445/0.493, allocations: 0.6995 MB / 461.2 MB, free: 11.38 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 (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.0005253/0.4935, allocations: 257.3 kB / 461.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005598/0.4992, allocations: 3.351 MB / 464.8 MB, free: 7.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.4992, allocations: 4 kB / 464.8 MB, free: 7.656 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003783/0.503, allocations: 2.602 MB / 467.4 MB, free: 4.934 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00214/0.5051, allocations: 367.5 kB / 467.8 MB, free: 4.582 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009195/0.5143, allocations: 6.265 MB / 474 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001135/0.5155, allocations: 1.565 MB / 475.6 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001395/0.5169, allocations: 299.8 kB / 475.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006065/0.5175, allocations: 155.4 kB / 476 MB, free: 12.22 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.5175, allocations: 0 / 476 MB, free: 12.22 MB / 366.1 MB Notification: Performance of Templates: time 0.05352/0.571, allocations: 36.9 MB / 0.5009 GB, free: 7.285 MB / 398.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/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_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches