Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001716/0.001716, allocations: 103.4 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002174/0.002174, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.385/1.385, allocations: 227.4 MB / 246.3 MB, free: 9.133 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 57.25 kB / 306.3 MB, free: 0.8398 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08611/0.08728, allocations: 50.53 MB / 356.8 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01073/0.09804, allocations: 10.52 MB / 367.3 MB, free: 3.738 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1557/0.2538, allocations: 6.759 MB / 374.1 MB, free: 9.023 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001644/0.2555, allocations: 36.44 kB / 374.1 MB, free: 9.023 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00115/0.2567, allocations: 386.7 kB / 374.5 MB, free: 9.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002037/0.2587, allocations: 0.7858 MB / 375.3 MB, free: 9 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005521/0.2642, allocations: 2.062 MB / 377.3 MB, free: 8.926 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004499/0.2688, allocations: 3.382 MB / 380.7 MB, free: 7.645 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009414/0.2697, allocations: 0.6572 MB / 381.4 MB, free: 7.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001703/0.2714, allocations: 1.115 MB / 382.5 MB, free: 6.863 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001586/0.273, allocations: 1.368 MB / 383.9 MB, free: 6.258 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000379/0.2734, allocations: 172.6 kB / 384 MB, free: 6.258 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001015/0.2744, allocations: 422.1 kB / 384.4 MB, free: 6.195 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004871/0.2749, allocations: 0.5871 MB / 385 MB, free: 5.879 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001177/0.2761, allocations: 1.25 MB / 386.3 MB, free: 5.145 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002539/0.2787, allocations: 3.753 MB / 390 MB, free: 2.934 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2787, allocations: 1.656 kB / 390 MB, free: 2.934 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.2787, allocations: 0 / 390 MB, free: 2.934 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.533e-05/0.2787, allocations: 4 kB / 390 MB, free: 2.93 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.007084/0.2858, allocations: 3.091 MB / 393.1 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.2859, allocations: 8.438 kB / 393.1 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008317/0.2867, allocations: 299.1 kB / 393.4 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001995/0.2887, allocations: 1.372 MB / 394.8 MB, free: 15.68 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002334/0.289, allocations: 242.2 kB / 395 MB, free: 15.51 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000557/0.2895, allocations: 244.6 kB / 395.3 MB, free: 15.42 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004309/0.2939, allocations: 2.164 MB / 397.4 MB, free: 14.05 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.026e-05/0.2939, allocations: 1.062 kB / 397.4 MB, free: 14.05 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001993/0.2941, allocations: 78.62 kB / 397.5 MB, free: 14 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.267e-05/0.2942, allocations: 47.75 kB / 397.6 MB, free: 14 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003908/0.2981, allocations: 1.919 MB / 399.5 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01198/0.3101, allocations: 7.849 MB / 407.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003523/0.3137, allocations: 2.085 MB / 409.4 MB, free: 4.047 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002057/0.3157, allocations: 1.232 MB / 410.6 MB, free: 2.812 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001093/0.3158, allocations: 25.52 kB / 410.7 MB, free: 2.793 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.947e-05/0.3159, allocations: 72.44 kB / 410.7 MB, free: 2.711 MB / 318.1 MB Notification: Performance of pre-optimization done (n=208): time 4.448e-06/0.3159, allocations: 0 / 410.7 MB, free: 2.711 MB / 318.1 MB Notification: Performance of matching and sorting (n=250): time 0.055/0.3709, allocations: 14.08 MB / 424.8 MB, free: 4.488 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000159/0.3711, allocations: 389.8 kB / 425.2 MB, free: 4.023 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002109/0.3732, allocations: 1.519 MB / 426.7 MB, free: 2.496 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002112/0.3735, allocations: 69.7 kB / 426.8 MB, free: 2.422 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005513/0.374, allocations: 0.827 MB / 427.6 MB, free: 1.586 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006439/0.3747, allocations: 0.8332 MB / 428.5 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006687/0.3753, allocations: 408.6 kB / 428.9 MB, free: 364 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 8.621e-05/0.3754, allocations: 305.1 kB / 429.1 MB, free: 56 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002146/0.3776, allocations: 0.9935 MB / 430.1 MB, free: 15.06 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00231/0.3799, allocations: 1.256 MB / 431.4 MB, free: 13.73 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.03463/0.4145, allocations: 9.372 MB / 440.8 MB, free: 4.242 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.4146, allocations: 96 / 440.8 MB, free: 4.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.005971/0.4206, allocations: 2.947 MB / 443.7 MB, free: 1.234 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.4206, allocations: 8 kB / 443.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-05/0.4206, allocations: 8.078 kB / 443.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009779/0.4216, allocations: 360 kB / 444.1 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002845/0.4245, allocations: 0.55 MB / 444.6 MB, free: 308 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008187/0.4327, allocations: 10.01 MB / 454.6 MB, free: 5.508 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002233/0.4349, allocations: 124 kB / 454.8 MB, free: 5.387 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001833/0.4351, allocations: 83.95 kB / 454.8 MB, free: 5.305 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.0009405/0.4361, allocations: 476.3 kB / 455.3 MB, free: 4.832 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004359/0.4365, allocations: 209.6 kB / 455.5 MB, free: 4.625 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008564/0.4451, allocations: 3.448 MB / 459 MB, free: 1.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.418e-05/0.4451, allocations: 35.92 kB / 459 MB, free: 1.055 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.659e-06/0.4451, allocations: 4 kB / 459 MB, free: 1.051 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-05/0.4452, allocations: 11.95 kB / 459 MB, free: 1.039 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01328/0.4585, allocations: 6.179 MB / 465.2 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/0.4585, allocations: 4 kB / 465.2 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002108/0.4606, allocations: 419.4 kB / 465.6 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006071/0.4667, allocations: 1.208 MB / 466.8 MB, free: 9.121 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002689/0.467, allocations: 59.98 kB / 466.9 MB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02019/0.4872, allocations: 17.21 MB / 484.1 MB, free: 6.664 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.4872, allocations: 3.984 kB / 484.1 MB, free: 6.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01103/0.4983, allocations: 4.908 MB / 489 MB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001096/0.4994, allocations: 0.5294 MB / 489.5 MB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003467/0.4997, allocations: 55.98 kB / 489.6 MB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001907/0.5016, allocations: 131.9 kB / 489.7 MB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005122/0.5022, allocations: 205.7 kB / 489.9 MB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001579/0.5023, allocations: 71.97 kB / 490 MB, free: 0.6289 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001386/0.5037, allocations: 1.046 MB / 491 MB, free: 15.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5037, allocations: 0 / 491 MB, free: 15.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002461/0.5062, allocations: 0.6991 MB / 491.7 MB, free: 14.89 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.0005403/0.5068, allocations: 258.2 kB / 492 MB, free: 14.63 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005865/0.5126, allocations: 3.352 MB / 495.3 MB, free: 11.15 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/0.5127, allocations: 4 kB / 495.3 MB, free: 11.15 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003937/0.5166, allocations: 2.607 MB / 497.9 MB, free: 8.422 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002183/0.5188, allocations: 365.2 kB / 498.3 MB, free: 8.062 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008828/0.5276, allocations: 6.291 MB / 0.4928 GB, free: 1.738 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/0.5287, allocations: 1.569 MB / 0.4943 GB, free: 136 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001241/0.53, allocations: 291.9 kB / 0.4946 GB, free: 15.84 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000616/0.5306, allocations: 159.4 kB / 0.4947 GB, free: 15.69 MB / 430.1 MB Notification: Performance of SimCode: time 8.72e-07/0.5306, allocations: 0 / 0.4947 GB, free: 15.69 MB / 430.1 MB Notification: Performance of Templates: time 0.2108/0.7414, allocations: 36.93 MB / 0.5308 GB, free: 144.4 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/ThreePhaseTransformerWithRectifier/ThreePhaseTransformerWithRectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches