Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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.Electrical.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001393/0.001393, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001744/0.001744, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 59.91 kB / 358.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2532, allocations: 50.54 MB / 409.3 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.007491/0.2607, allocations: 6.886 MB / 416.1 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004214/0.2649, allocations: 2.321 MB / 418.5 MB, free: 8.336 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007435/0.2657, allocations: 51.75 kB / 418.5 MB, free: 8.285 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001096/0.2668, allocations: 452.8 kB / 419 MB, free: 7.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001573/0.2684, allocations: 0.6603 MB / 419.6 MB, free: 7.176 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005043/0.2689, allocations: 279.6 kB / 419.9 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002696/0.2717, allocations: 2.84 MB / 422.7 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002634/0.2743, allocations: 2.57 MB / 425.3 MB, free: 1.414 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002428/0.2767, allocations: 1.325 MB / 426.6 MB, free: 96 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001835/0.2786, allocations: 1.537 MB / 428.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000405/0.279, allocations: 352 kB / 428.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007362/0.2798, allocations: 439.8 kB / 428.9 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007411/0.2805, allocations: 0.8999 MB / 429.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001689/0.2822, allocations: 1.521 MB / 431.4 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004404/0.2866, allocations: 4.632 MB / 436 MB, free: 6.703 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.2867, allocations: 0 / 436 MB, free: 6.703 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.2867, allocations: 0 / 436 MB, free: 6.703 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.031e-05/0.2868, allocations: 0 / 436 MB, free: 6.703 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.005787/0.2925, allocations: 2.975 MB / 439 MB, free: 3.664 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.2926, allocations: 16.03 kB / 439 MB, free: 3.648 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009997/0.2936, allocations: 329.6 kB / 439.3 MB, free: 3.324 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002735/0.2964, allocations: 1.67 MB / 441 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/0.2965, allocations: 164.4 kB / 441.1 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003128/0.2968, allocations: 216 kB / 441.3 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004949/0.3018, allocations: 3.186 MB / 444.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.176e-05/0.3018, allocations: 3.938 kB / 444.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002187/0.302, allocations: 88 kB / 444.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001008/0.3021, allocations: 108.4 kB / 444.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004195/0.3064, allocations: 2.727 MB / 447.4 MB, free: 11 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01251/0.3189, allocations: 8.752 MB / 456.2 MB, free: 2.078 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003405/0.3223, allocations: 3.395 MB / 459.6 MB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001848/0.3242, allocations: 1.315 MB / 460.9 MB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002543/0.3245, allocations: 122.3 kB / 461 MB, free: 12.92 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.115e-05/0.3245, allocations: 47.88 kB / 461.1 MB, free: 12.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.487e-06/0.3245, allocations: 0 / 461.1 MB, free: 12.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.0104/0.3349, allocations: 5.758 MB / 466.8 MB, free: 6.953 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.335, allocations: 68.7 kB / 466.9 MB, free: 6.875 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002133/0.3371, allocations: 1.499 MB / 468.4 MB, free: 5.359 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.812e-05/0.3373, allocations: 49.7 kB / 468.4 MB, free: 5.305 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007032/0.338, allocations: 0.9487 MB / 469.4 MB, free: 4.344 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003565/0.3383, allocations: 437.6 kB / 469.8 MB, free: 3.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003634/0.3387, allocations: 218.8 kB / 470 MB, free: 3.688 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.3389, allocations: 357.9 kB / 470.4 MB, free: 3.332 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00104/0.3399, allocations: 0.6896 MB / 471.1 MB, free: 2.645 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001209/0.3412, allocations: 0.8706 MB / 471.9 MB, free: 1.727 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002156/0.3433, allocations: 1.601 MB / 473.5 MB, free: 80 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.3433, allocations: 3.938 kB / 473.6 MB, free: 76 kB / 382.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003752/0.3471, allocations: 2.31 MB / 475.9 MB, free: 13.74 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.3471, allocations: 4 kB / 475.9 MB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.3472, allocations: 7.938 kB / 475.9 MB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002616/0.3498, allocations: 0.8189 MB / 476.7 MB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007587/0.3505, allocations: 211.7 kB / 476.9 MB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01214/0.3627, allocations: 11.49 MB / 488.4 MB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/0.3639, allocations: 47.97 kB / 488.4 MB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.656e-05/0.364, allocations: 47.98 kB / 488.5 MB, free: 0.5547 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (diode2.idealDiode[3].off,diode2.idealDiode[2].off,diode2.idealDiode[1].off,diode1.idealDiode[3].off,diode1.idealDiode[2].off,diode1.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,29,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.001316/0.3653, allocations: 0.8275 MB / 489.3 MB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003328/0.3656, allocations: 158.1 kB / 489.5 MB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003864/0.3695, allocations: 2.269 MB / 491.7 MB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/0.3696, allocations: 16 kB / 491.7 MB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.211e-05/0.3696, allocations: 8 kB / 491.8 MB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/0.3696, allocations: 7.969 kB / 491.8 MB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008293/0.3779, allocations: 4.711 MB / 496.5 MB, free: 8.434 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.3779, allocations: 4.125 kB / 496.5 MB, free: 8.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006461/0.3786, allocations: 155.8 kB / 496.6 MB, free: 8.277 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002549/0.3811, allocations: 0.8035 MB / 497.4 MB, free: 7.461 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.149e-05/0.3812, allocations: 27.98 kB / 497.5 MB, free: 7.434 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01195/0.3932, allocations: 11.38 MB / 0.4969 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.3933, allocations: 8.531 kB / 0.4969 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004925/0.3982, allocations: 3.232 MB / 0.5001 GB, free: 8.207 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009056/0.3991, allocations: 407.1 kB / 0.5005 GB, free: 7.789 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001778/0.3993, allocations: 24 kB / 0.5005 GB, free: 7.766 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000762/0.4001, allocations: 71.88 kB / 0.5006 GB, free: 7.695 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002696/0.4003, allocations: 125 kB / 0.5007 GB, free: 7.574 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.788e-05/0.4004, allocations: 35.94 kB / 0.5007 GB, free: 7.539 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001483/0.4019, allocations: 1.064 MB / 0.5017 GB, free: 6.473 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4019, allocations: 0 / 0.5017 GB, free: 6.473 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001682/0.4036, allocations: 0.5117 MB / 0.5022 GB, free: 5.961 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i) * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000457/0.4041, allocations: 204.5 kB / 0.5024 GB, free: 5.762 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003822/0.4079, allocations: 2.404 MB / 0.5048 GB, free: 3.301 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.4079, allocations: 0 / 0.5048 GB, free: 3.301 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002284/0.4102, allocations: 1.629 MB / 0.5064 GB, free: 1.625 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002131/0.4124, allocations: 0.5114 MB / 0.5069 GB, free: 1.117 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007304/0.4197, allocations: 4.624 MB / 0.5114 GB, free: 12.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00166/0.4214, allocations: 2.043 MB / 0.5134 GB, free: 10.37 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000879/0.4223, allocations: 313.5 kB / 0.5137 GB, free: 10.06 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002624/0.4225, allocations: 95.42 kB / 0.5138 GB, free: 9.965 MB / 446.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4225, allocations: 0 / 0.5138 GB, free: 9.965 MB / 446.1 MB Notification: Performance of Templates: time 0.2367/0.6593, allocations: 33.54 MB / 0.5465 GB, free: 124.4 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches