Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001324/0.001324, allocations: 105.6 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001432/0.001432, allocations: 208.1 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.446/1.446, allocations: 227.7 MB / 247.7 MB, free: 10.44 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002674/0.002674, allocations: 65.2 kB / 307.9 MB, free: 0.5508 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1382, allocations: 50.53 MB / 358.4 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.02205/0.1603, allocations: 10.59 MB / 369 MB, free: 3.363 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1698/0.3301, allocations: 6.359 MB / 375.4 MB, free: 9.086 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0018/0.332, allocations: 42.28 kB / 375.4 MB, free: 9.086 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001224/0.3333, allocations: 493.5 kB / 375.9 MB, free: 9.078 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002484/0.3358, allocations: 0.9059 MB / 376.8 MB, free: 9.055 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005968/0.3417, allocations: 2.529 MB / 379.3 MB, free: 8.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004033/0.3458, allocations: 3.454 MB / 382.8 MB, free: 7.418 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001006/0.3468, allocations: 0.7565 MB / 383.5 MB, free: 7.055 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00188/0.3487, allocations: 1.281 MB / 384.8 MB, free: 6.441 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002083/0.3508, allocations: 1.467 MB / 386.3 MB, free: 5.727 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005932/0.3514, allocations: 328 kB / 386.6 MB, free: 5.727 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001238/0.3526, allocations: 0.5729 MB / 387.2 MB, free: 5.664 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005001/0.3531, allocations: 0.7366 MB / 387.9 MB, free: 5.195 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001212/0.3544, allocations: 1.405 MB / 389.3 MB, free: 4.305 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002984/0.3574, allocations: 3.891 MB / 393.2 MB, free: 1.707 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3574, allocations: 0 / 393.2 MB, free: 1.707 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3574, allocations: 0 / 393.2 MB, free: 1.707 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.731e-05/0.3574, allocations: 1.219 kB / 393.2 MB, free: 1.707 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.007111/0.3646, allocations: 3.088 MB / 396.3 MB, free: 15.64 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.3646, allocations: 13.62 kB / 396.3 MB, free: 15.63 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000829/0.3655, allocations: 302.5 kB / 396.6 MB, free: 15.49 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002254/0.3677, allocations: 1.369 MB / 398 MB, free: 14.45 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002284/0.368, allocations: 239.2 kB / 398.2 MB, free: 14.29 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005389/0.3685, allocations: 234.9 kB / 398.4 MB, free: 14.2 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00387/0.3724, allocations: 2.171 MB / 400.6 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.638e-05/0.3724, allocations: 6.812 kB / 400.6 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001815/0.3726, allocations: 82.66 kB / 400.7 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.943e-05/0.3727, allocations: 47.19 kB / 400.8 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003794/0.3765, allocations: 1.915 MB / 402.7 MB, free: 11.82 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01302/0.3895, allocations: 7.853 MB / 410.5 MB, free: 4.23 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0038/0.3933, allocations: 2.068 MB / 412.6 MB, free: 2.129 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002258/0.3956, allocations: 1.235 MB / 413.8 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001014/0.3957, allocations: 33.98 kB / 413.9 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.881e-05/0.3958, allocations: 68.5 kB / 413.9 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of pre-optimization done (n=208): time 3.897e-06/0.3958, allocations: 0 / 413.9 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of matching and sorting (n=250): time 0.05462/0.4505, allocations: 14.09 MB / 428 MB, free: 2.551 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002266/0.4507, allocations: 389.8 kB / 428.4 MB, free: 2.086 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002469/0.4532, allocations: 1.515 MB / 429.9 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003369/0.4535, allocations: 73.7 kB / 430 MB, free: 496 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007299/0.4543, allocations: 0.8271 MB / 430.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008352/0.4551, allocations: 0.8367 MB / 431.6 MB, free: 14.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007289/0.4559, allocations: 414.9 kB / 432 MB, free: 14.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.456, allocations: 305.1 kB / 432.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002264/0.4583, allocations: 0.9885 MB / 433.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002496/0.4608, allocations: 1.249 MB / 434.6 MB, free: 11.8 MB / 350.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.03516/0.496, allocations: 9.403 MB / 444 MB, free: 2.277 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.496, allocations: 4 kB / 444 MB, free: 2.273 MB / 350.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006551/0.5026, allocations: 2.936 MB / 446.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.5026, allocations: 4 kB / 446.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.051e-05/0.5026, allocations: 7.984 kB / 446.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001003/0.5037, allocations: 368.9 kB / 447.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002728/0.5064, allocations: 0.55 MB / 447.8 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01049/0.5169, allocations: 11.11 MB / 459 MB, free: 2.422 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002409/0.5193, allocations: 128 kB / 459.1 MB, free: 2.297 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002153/0.5196, allocations: 87.94 kB / 459.2 MB, free: 2.211 MB / 366.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.001028/0.5206, allocations: 473 kB / 459.6 MB, free: 1.742 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004788/0.5211, allocations: 213.4 kB / 459.8 MB, free: 1.531 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008852/0.5299, allocations: 3.453 MB / 463.3 MB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.303e-05/0.53, allocations: 24 kB / 463.3 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.53, allocations: 4 kB / 463.3 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.051e-05/0.5301, allocations: 19.94 kB / 463.3 MB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01362/0.5437, allocations: 6.177 MB / 469.5 MB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/0.5437, allocations: 0 / 469.5 MB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002093/0.5458, allocations: 419.4 kB / 469.9 MB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005875/0.5517, allocations: 1.212 MB / 471.1 MB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002608/0.552, allocations: 63.91 kB / 471.2 MB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02399/0.576, allocations: 19.03 MB / 490.2 MB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/0.576, allocations: 4.031 kB / 490.2 MB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01166/0.5877, allocations: 4.908 MB / 495.1 MB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001264/0.589, allocations: 0.5256 MB / 495.7 MB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003599/0.5894, allocations: 63.98 kB / 495.7 MB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0019/0.5913, allocations: 131.9 kB / 495.9 MB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005245/0.5918, allocations: 205.7 kB / 496.1 MB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001613/0.592, allocations: 67.98 kB / 496.1 MB, free: 11.67 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00155/0.5935, allocations: 1.053 MB / 497.2 MB, free: 10.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5935, allocations: 0 / 497.2 MB, free: 10.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00265/0.5962, allocations: 0.6953 MB / 497.9 MB, free: 9.926 MB / 414.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.0005778/0.5968, allocations: 254.4 kB / 498.1 MB, free: 9.672 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01008/0.6069, allocations: 3.754 MB / 0.4901 GB, free: 5.789 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/0.6069, allocations: 0 / 0.4901 GB, free: 5.789 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004275/0.6112, allocations: 2.617 MB / 0.4927 GB, free: 3.051 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002319/0.6135, allocations: 389.2 kB / 0.493 GB, free: 2.676 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009855/0.6234, allocations: 5.407 MB / 0.4983 GB, free: 13.23 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001463/0.6249, allocations: 1.573 MB / 0.4999 GB, free: 11.62 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00106/0.626, allocations: 175.3 kB / 0.5 GB, free: 11.45 MB / 430.1 MB Notification: Performance of SimCode: time 7.01e-07/0.626, allocations: 0 / 0.5 GB, free: 11.45 MB / 430.1 MB Notification: Performance of Templates: time 0.2309/0.8568, allocations: 96.69 MB / 0.5945 GB, free: 94.4 MB / 446.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/ThreePhaseTransformerWithRectifier/ThreePhaseTransformerWithRectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches