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.001652/0.001652, allocations: 107.3 kB / 18.35 MB, free: 4.512 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.001907/0.001907, allocations: 192 kB / 19.29 MB, free: 3.578 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.305/1.305, allocations: 205.1 MB / 225.2 MB, free: 12.29 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.001198/0.001199, allocations: 55.92 kB / 282.1 MB, free: 2.484 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0788/0.08001, allocations: 46.62 MB / 328.7 MB, free: 3.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.009759/0.0898, allocations: 10.48 MB / 339.2 MB, free: 9.254 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01012/0.09996, allocations: 6.298 MB / 345.5 MB, free: 2.934 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001328/0.1013, allocations: 39.81 kB / 345.5 MB, free: 2.895 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.1025, allocations: 495.8 kB / 346 MB, free: 2.406 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001944/0.1044, allocations: 0.8998 MB / 346.9 MB, free: 1.5 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004676/0.1091, allocations: 2.495 MB / 349.4 MB, free: 15 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003428/0.1126, allocations: 3.473 MB / 352.9 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008864/0.1134, allocations: 0.7566 MB / 353.7 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001338/0.1148, allocations: 1.265 MB / 354.9 MB, free: 9.465 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001418/0.1162, allocations: 1.475 MB / 356.4 MB, free: 7.984 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003456/0.1166, allocations: 328 kB / 356.7 MB, free: 7.664 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008039/0.1174, allocations: 0.5738 MB / 357.3 MB, free: 7.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005574/0.118, allocations: 0.7282 MB / 358 MB, free: 6.359 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001107/0.1191, allocations: 1.4 MB / 359.4 MB, free: 4.953 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002953/0.122, allocations: 3.925 MB / 363.3 MB, free: 1.016 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1221, allocations: 0 / 363.3 MB, free: 1.016 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1221, allocations: 0 / 363.3 MB, free: 1.016 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.12e-05/0.1221, allocations: 0 / 363.3 MB, free: 1.016 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.006807/0.1289, allocations: 3.083 MB / 366.4 MB, free: 13.87 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.129, allocations: 12.03 kB / 366.4 MB, free: 13.86 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004397/0.1294, allocations: 273.8 kB / 366.7 MB, free: 13.59 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002183/0.1316, allocations: 1.377 MB / 368.1 MB, free: 12.16 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002256/0.1318, allocations: 241.5 kB / 368.3 MB, free: 11.9 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005203/0.1324, allocations: 232 kB / 368.5 MB, free: 11.68 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003657/0.136, allocations: 2.169 MB / 370.7 MB, free: 9.426 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.446e-05/0.1361, allocations: 0 / 370.7 MB, free: 9.426 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001727/0.1363, allocations: 83.94 kB / 370.8 MB, free: 9.344 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.069e-05/0.1363, allocations: 51.98 kB / 370.8 MB, free: 9.293 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003737/0.1401, allocations: 1.92 MB / 372.8 MB, free: 7.371 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1546/0.2947, allocations: 7.784 MB / 380.6 MB, free: 50.03 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003894/0.2986, allocations: 2.08 MB / 382.6 MB, free: 49.91 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002046/0.3007, allocations: 1.222 MB / 383.9 MB, free: 49.51 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001192/0.3008, allocations: 32.56 kB / 383.9 MB, free: 49.51 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.844e-05/0.3009, allocations: 64.14 kB / 383.9 MB, free: 49.45 MB / 318.1 MB Notification: Performance of pre-optimization done (n=208): time 4.028e-06/0.3009, allocations: 1.344 kB / 383.9 MB, free: 49.45 MB / 318.1 MB Notification: Performance of matching and sorting (n=250): time 0.04732/0.3482, allocations: 14.08 MB / 398 MB, free: 44.6 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.809e-05/0.3483, allocations: 390.9 kB / 398.4 MB, free: 44.16 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001669/0.35, allocations: 1.508 MB / 399.9 MB, free: 43.34 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001975/0.3502, allocations: 76.17 kB / 400 MB, free: 43.27 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004024/0.3506, allocations: 0.8171 MB / 400.8 MB, free: 42.55 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004609/0.3511, allocations: 0.8316 MB / 401.6 MB, free: 41.83 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005909/0.3517, allocations: 406.8 kB / 402 MB, free: 41.59 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.692e-05/0.3517, allocations: 316.1 kB / 402.3 MB, free: 41.28 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001719/0.3535, allocations: 0.9848 MB / 403.3 MB, free: 40.33 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001843/0.3553, allocations: 1.253 MB / 404.6 MB, free: 39.01 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.02956/0.3849, allocations: 9.381 MB / 414 MB, free: 29.51 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.942e-06/0.3849, allocations: 0 / 414 MB, free: 29.51 MB / 318.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.005248/0.3902, allocations: 2.944 MB / 416.9 MB, free: 26.5 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.3902, allocations: 4 kB / 416.9 MB, free: 26.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.431e-05/0.3902, allocations: 8 kB / 416.9 MB, free: 26.49 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008579/0.3911, allocations: 364.1 kB / 417.3 MB, free: 26.12 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002424/0.3935, allocations: 0.5422 MB / 417.8 MB, free: 25.58 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006639/0.4002, allocations: 11.1 MB / 428.9 MB, free: 13.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002164/0.4024, allocations: 124 kB / 429 MB, free: 13.56 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003154/0.4027, allocations: 83.97 kB / 429.1 MB, free: 13.48 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.001019/0.4037, allocations: 469.9 kB / 429.6 MB, free: 13.01 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005531/0.4043, allocations: 209.5 kB / 429.8 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007526/0.4118, allocations: 3.445 MB / 433.2 MB, free: 9.27 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.837e-05/0.4119, allocations: 31.94 kB / 433.3 MB, free: 9.238 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.506e-05/0.4119, allocations: 4 kB / 433.3 MB, free: 9.234 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.14e-05/0.4119, allocations: 11.95 kB / 433.3 MB, free: 9.223 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01224/0.4242, allocations: 6.17 MB / 439.5 MB, free: 2.988 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/0.4242, allocations: 0 / 439.5 MB, free: 2.988 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001889/0.4261, allocations: 419.5 kB / 439.9 MB, free: 2.578 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005267/0.4314, allocations: 1.206 MB / 441.1 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002375/0.4317, allocations: 67.28 kB / 441.1 MB, free: 1.281 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0208/0.4525, allocations: 19.02 MB / 460.1 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.4525, allocations: 0 / 460.1 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01083/0.4633, allocations: 4.913 MB / 465.1 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001174/0.4645, allocations: 0.5295 MB / 465.6 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004212/0.465, allocations: 56 kB / 465.6 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001941/0.4669, allocations: 139.9 kB / 465.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004941/0.4674, allocations: 193.8 kB / 466 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001667/0.4676, allocations: 75.97 kB / 466 MB, free: 7.023 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001446/0.4691, allocations: 1.041 MB / 467.1 MB, free: 5.984 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4691, allocations: 0 / 467.1 MB, free: 5.984 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002625/0.4717, allocations: 0.6913 MB / 467.8 MB, free: 5.301 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.0005905/0.4723, allocations: 263.6 kB / 468 MB, free: 5.051 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.006024/0.4783, allocations: 3.372 MB / 471.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/0.4784, allocations: 4 kB / 471.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004051/0.4824, allocations: 2.614 MB / 474 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002605/0.4851, allocations: 388.2 kB / 474.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009407/0.4945, allocations: 5.257 MB / 479.7 MB, free: 9.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001333/0.4958, allocations: 1.563 MB / 481.2 MB, free: 7.562 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001297/0.4971, allocations: 303.8 kB / 481.5 MB, free: 7.262 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006523/0.4978, allocations: 163.3 kB / 481.7 MB, free: 7.102 MB / 366.1 MB Notification: Performance of SimCode: time 6.72e-07/0.4978, allocations: 0 / 481.7 MB, free: 7.102 MB / 366.1 MB Notification: Performance of Templates: time 0.06288/0.5607, allocations: 39.27 MB / 0.5087 GB, free: 15.8 MB / 414.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 -s gbode -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