Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_cpp_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_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00107/0.00107, allocations: 191.9 kB / 17.38 MB, free: 4.434 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 226.6 MB / 244.7 MB, free: 8.078 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008459/0.0008456, allocations: 100.1 kB / 296.8 MB, free: 6.852 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003945/0.0003948, allocations: 7.984 kB / 356.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.2986, allocations: 51.29 MB / 408.1 MB, free: 27.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.006542/0.3052, allocations: 9.29 MB / 417.3 MB, free: 18.37 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008609/0.3139, allocations: 6.117 MB / 423.5 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001518/0.3154, allocations: 39.81 kB / 423.5 MB, free: 12.21 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008564/0.3163, allocations: 361.4 kB / 423.9 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002046/0.3184, allocations: 0.745 MB / 424.6 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004209/0.3226, allocations: 1.824 MB / 426.4 MB, free: 9.293 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003214/0.3258, allocations: 3.169 MB / 429.6 MB, free: 6.109 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008573/0.3267, allocations: 0.6386 MB / 430.2 MB, free: 5.438 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00139/0.3281, allocations: 1.047 MB / 431.3 MB, free: 4.387 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00112/0.3292, allocations: 1.257 MB / 432.5 MB, free: 3.125 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002281/0.3294, allocations: 148 kB / 432.7 MB, free: 2.98 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007252/0.3302, allocations: 387.6 kB / 433.1 MB, free: 2.602 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003446/0.3305, allocations: 0.5292 MB / 433.6 MB, free: 2.07 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008216/0.3314, allocations: 1.183 MB / 434.8 MB, free: 0.875 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002214/0.3336, allocations: 3.003 MB / 437.8 MB, free: 13.86 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.3336, allocations: 0 / 437.8 MB, free: 13.86 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3336, allocations: 0 / 437.8 MB, free: 13.86 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.599e-05/0.3336, allocations: 0 / 437.8 MB, free: 13.86 MB / 314.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.005988/0.3396, allocations: 2.639 MB / 440.4 MB, free: 11.16 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.3397, allocations: 8.031 kB / 440.4 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006806/0.3404, allocations: 313.6 kB / 440.7 MB, free: 10.85 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002015/0.3424, allocations: 1.358 MB / 442.1 MB, free: 9.438 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001981/0.3426, allocations: 241.5 kB / 442.3 MB, free: 9.184 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005111/0.3431, allocations: 243.9 kB / 442.6 MB, free: 8.945 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003707/0.3469, allocations: 2.176 MB / 444.7 MB, free: 6.691 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.183e-05/0.3469, allocations: 3.938 kB / 444.7 MB, free: 6.688 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001707/0.3471, allocations: 83.98 kB / 444.8 MB, free: 6.605 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.571e-05/0.3471, allocations: 48 kB / 444.9 MB, free: 6.559 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003739/0.3509, allocations: 1.943 MB / 446.8 MB, free: 4.613 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01159/0.3625, allocations: 7.884 MB / 454.7 MB, free: 12.49 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003364/0.3659, allocations: 2.108 MB / 456.8 MB, free: 10.35 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001995/0.3679, allocations: 1.255 MB / 458.1 MB, free: 9.082 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001109/0.368, allocations: 29.92 kB / 458.1 MB, free: 9.055 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.956e-05/0.3681, allocations: 60.56 kB / 458.1 MB, free: 8.984 MB / 330.7 MB Notification: Performance of pre-optimization done (n=208): time 4.238e-06/0.3681, allocations: 0 / 458.1 MB, free: 8.984 MB / 330.7 MB Notification: Performance of matching and sorting (n=250): time 0.05234/0.4204, allocations: 14.78 MB / 472.9 MB, free: 10.04 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001729/0.4206, allocations: 393.8 kB / 473.3 MB, free: 9.566 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002464/0.4231, allocations: 1.498 MB / 474.8 MB, free: 8.059 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003477/0.4235, allocations: 69.7 kB / 474.9 MB, free: 7.984 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000604/0.4241, allocations: 0.8197 MB / 475.7 MB, free: 7.156 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008613/0.425, allocations: 0.8354 MB / 476.5 MB, free: 6.309 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000234/0.4252, allocations: 51.97 kB / 476.6 MB, free: 6.258 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001963/0.4254, allocations: 402.7 kB / 477 MB, free: 5.859 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002278/0.4277, allocations: 1.012 MB / 478 MB, free: 4.844 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002395/0.4301, allocations: 1.276 MB / 479.3 MB, free: 3.5 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.0336/0.4637, allocations: 9.71 MB / 489 MB, free: 9.664 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.4638, allocations: 0 / 489 MB, free: 9.664 MB / 362.7 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006256/0.47, allocations: 2.979 MB / 491.9 MB, free: 6.621 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.4701, allocations: 8 kB / 492 MB, free: 6.613 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.469e-05/0.4701, allocations: 4 kB / 492 MB, free: 6.609 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009913/0.4711, allocations: 361 kB / 492.3 MB, free: 6.238 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002638/0.4738, allocations: 0.5579 MB / 492.9 MB, free: 5.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008519/0.4823, allocations: 10.03 MB / 0.4911 GB, free: 10.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002029/0.4843, allocations: 147.9 kB / 0.4912 GB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002611/0.4846, allocations: 79.95 kB / 0.4913 GB, free: 10.63 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 sytem: transformer.winding23.i = transformer.I2Start[1] transformer.winding21.i = transformer.I2Start[1]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * 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 initialization (256): * Single equations (assignments): 244 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.001179/0.4858, allocations: 469.3 kB / 0.4918 GB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005709/0.4864, allocations: 213.4 kB / 0.492 GB, free: 9.949 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008758/0.4952, allocations: 3.535 MB / 0.4954 GB, free: 6.324 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.188e-05/0.4952, allocations: 24.47 kB / 0.4955 GB, free: 6.301 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.464e-05/0.4952, allocations: 4 kB / 0.4955 GB, free: 6.297 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-05/0.4952, allocations: 11.95 kB / 0.4955 GB, free: 6.285 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1996/0.6949, allocations: 6.269 MB / 0.5016 GB, free: 90.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.028e-05/0.6949, allocations: 5.656 kB / 0.5016 GB, free: 90.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0024/0.6973, allocations: 429.5 kB / 0.502 GB, free: 90.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006704/0.7041, allocations: 1.251 MB / 0.5032 GB, free: 90.64 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005862/0.7047, allocations: 61.53 kB / 0.5033 GB, free: 90.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01979/0.7245, allocations: 17.42 MB / 0.5203 GB, free: 77.06 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.7245, allocations: 0 / 0.5203 GB, free: 77.06 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01108/0.7356, allocations: 5.012 MB / 0.5252 GB, free: 74.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001162/0.7368, allocations: 0.5243 MB / 0.5257 GB, free: 74.62 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005873/0.7374, allocations: 57.09 kB / 0.5258 GB, free: 74.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002166/0.7396, allocations: 161.3 kB / 0.5259 GB, free: 74.55 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005395/0.7402, allocations: 203.2 kB / 0.5261 GB, free: 74.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001696/0.7404, allocations: 71.25 kB / 0.5262 GB, free: 74.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001556/0.7419, allocations: 1.031 MB / 0.5272 GB, free: 74.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7419, allocations: 3.172 kB / 0.5272 GB, free: 74.07 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002826/0.7448, allocations: 0.692 MB / 0.5279 GB, free: 73.98 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 (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 6 {1 8,1 8,1 8,2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006472/0.7454, allocations: 251.4 kB / 0.5281 GB, free: 73.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005465/0.7509, allocations: 3.409 MB / 0.5314 GB, free: 70.69 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.7509, allocations: 0 / 0.5314 GB, free: 70.69 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004234/0.7552, allocations: 2.64 MB / 0.534 GB, free: 67.97 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004197/0.7594, allocations: 372.2 kB / 0.5344 GB, free: 67.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01508/0.7745, allocations: 6.429 MB / 0.5406 GB, free: 61.17 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001593/0.7761, allocations: 1.575 MB / 0.5422 GB, free: 59.56 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001886/0.7781, allocations: 171.3 kB / 0.5423 GB, free: 59.39 MB / 378.7 MB Notification: Performance of SimCode: time 1.021e-06/0.7781, allocations: 3.938 kB / 0.5423 GB, free: 59.39 MB / 378.7 MB Notification: Performance of Templates: time 0.132/0.9101, allocations: 96 MB / 0.6361 GB, free: 11.39 MB / 426.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches