Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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.Rectifier12pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001475/0.001475, allocations: 108 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001798/0.001798, allocations: 211.8 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 63.89 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.2432, allocations: 50.54 MB / 410 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01044/0.2537, allocations: 10.73 MB / 420.7 MB, free: 6.812 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005904/0.2596, allocations: 3.236 MB / 423.9 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001475/0.2611, allocations: 87.62 kB / 424 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001527/0.2627, allocations: 0.706 MB / 424.7 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002764/0.2655, allocations: 1.13 MB / 425.8 MB, free: 1.633 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009437/0.2665, allocations: 479.4 kB / 426.3 MB, free: 1.164 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005069/0.2715, allocations: 5.139 MB / 431.5 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004971/0.2765, allocations: 4.792 MB / 436.2 MB, free: 7.125 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004319/0.2809, allocations: 2.399 MB / 438.6 MB, free: 4.738 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004072/0.285, allocations: 2.779 MB / 441.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00119/0.2862, allocations: 0.6211 MB / 442 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001668/0.2878, allocations: 0.703 MB / 442.8 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001311/0.2892, allocations: 1.632 MB / 444.4 MB, free: 14.99 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003182/0.2924, allocations: 2.766 MB / 447.1 MB, free: 12.21 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007294/0.2997, allocations: 8.42 MB / 455.6 MB, free: 3.766 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.2997, allocations: 0 / 455.6 MB, free: 3.766 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.2997, allocations: 0 / 455.6 MB, free: 3.766 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001917/0.2999, allocations: 4 kB / 455.6 MB, free: 3.762 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01057/0.3105, allocations: 5.114 MB / 460.7 MB, free: 14.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.3105, allocations: 8.031 kB / 460.7 MB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001632/0.3122, allocations: 0.5732 MB / 461.3 MB, free: 13.99 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004494/0.3167, allocations: 2.872 MB / 464.1 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000189/0.3169, allocations: 287.8 kB / 464.4 MB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005941/0.3175, allocations: 388 kB / 464.8 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009701/0.3272, allocations: 5.812 MB / 470.6 MB, free: 4.484 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.711e-05/0.3273, allocations: 0 / 470.6 MB, free: 4.484 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003659/0.3277, allocations: 164 kB / 470.8 MB, free: 4.324 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001847/0.3279, allocations: 208 kB / 471 MB, free: 4.117 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008613/0.3365, allocations: 5.024 MB / 476 MB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02437/0.3609, allocations: 16.19 MB / 492.2 MB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006239/0.3672, allocations: 6.79 MB / 499 MB, free: 7.258 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003484/0.3707, allocations: 2.618 MB / 0.4898 GB, free: 4.641 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000274/0.371, allocations: 143 kB / 0.49 GB, free: 4.484 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.332e-05/0.371, allocations: 56.56 kB / 0.49 GB, free: 4.418 MB / 414.1 MB Notification: Performance of pre-optimization done (n=249): time 4.268e-06/0.3711, allocations: 4 kB / 0.49 GB, free: 4.414 MB / 414.1 MB Notification: Performance of matching and sorting (n=256): time 0.02469/0.3957, allocations: 10.7 MB / 0.5005 GB, free: 9.457 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/0.3959, allocations: 77.42 kB / 0.5006 GB, free: 9.367 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005355/0.4013, allocations: 2.644 MB / 0.5031 GB, free: 6.703 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002902/0.4016, allocations: 65.7 kB / 0.5032 GB, free: 6.633 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001827/0.4034, allocations: 1.644 MB / 0.5048 GB, free: 4.969 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009738/0.4044, allocations: 0.8393 MB / 0.5056 GB, free: 4.117 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008671/0.4053, allocations: 420.5 kB / 0.506 GB, free: 3.699 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.4054, allocations: 313.1 kB / 0.5063 GB, free: 3.391 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002879/0.4083, allocations: 1.332 MB / 0.5076 GB, free: 2.055 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003183/0.4115, allocations: 1.647 MB / 0.5092 GB, free: 320 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006062/0.4176, allocations: 3.087 MB / 0.5122 GB, free: 13.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/0.4176, allocations: 0 / 0.5122 GB, free: 13.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.007893/0.4255, allocations: 4.461 MB / 0.5166 GB, free: 8.555 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.4255, allocations: 8 kB / 0.5166 GB, free: 8.547 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.11e-05/0.4256, allocations: 11.98 kB / 0.5166 GB, free: 8.535 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005044/0.4306, allocations: 1.643 MB / 0.5182 GB, free: 6.859 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001477/0.4321, allocations: 391.5 kB / 0.5186 GB, free: 6.477 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2289/0.661, allocations: 25.71 MB / 0.5437 GB, free: 118 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002181/0.6632, allocations: 96.3 kB / 0.5438 GB, free: 118 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002042/0.6634, allocations: 81.81 kB / 0.5439 GB, free: 118 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 12 (diode4.idealDiode[3].off,diode4.idealDiode[2].off,diode4.idealDiode[1].off,diode3.idealDiode[3].off,diode3.idealDiode[2].off,diode3.idealDiode[1].off,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 (198): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,9,100.0%), (1,9,100.0%), (1,9,100.0%), (2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.002206/0.6656, allocations: 1.415 MB / 0.5453 GB, free: 117.9 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000638/0.6663, allocations: 300 kB / 0.5456 GB, free: 117.9 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00603/0.6723, allocations: 4.385 MB / 0.5498 GB, free: 116.2 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/0.6724, allocations: 27.22 kB / 0.5499 GB, free: 116.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/0.6724, allocations: 8.969 kB / 0.5499 GB, free: 116.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.627e-05/0.6724, allocations: 11.02 kB / 0.5499 GB, free: 116.2 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01115/0.6836, allocations: 8.777 MB / 0.5585 GB, free: 112.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.246e-06/0.6836, allocations: 0 / 0.5585 GB, free: 112.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/0.6847, allocations: 286.2 kB / 0.5587 GB, free: 112.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004299/0.689, allocations: 1.625 MB / 0.5603 GB, free: 111.6 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001818/0.6892, allocations: 55.98 kB / 0.5604 GB, free: 111.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01764/0.7068, allocations: 25.47 MB / 0.5852 GB, free: 84.99 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.7069, allocations: 4.031 kB / 0.5852 GB, free: 84.99 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007322/0.7142, allocations: 6.091 MB / 0.5912 GB, free: 78.93 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001304/0.7155, allocations: 0.6735 MB / 0.5918 GB, free: 78.3 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003586/0.7159, allocations: 59.92 kB / 0.5919 GB, free: 78.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001274/0.7172, allocations: 119.9 kB / 0.592 GB, free: 78.13 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004584/0.7177, allocations: 213.6 kB / 0.5922 GB, free: 77.92 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001267/0.7178, allocations: 64 kB / 0.5923 GB, free: 77.86 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002057/0.7199, allocations: 1.852 MB / 0.5941 GB, free: 75.99 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.7199, allocations: 8 kB / 0.5941 GB, free: 75.98 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002813/0.7227, allocations: 0.9531 MB / 0.595 GB, free: 75.03 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i,transformer2.l2sigma.inductor[1].i,transformer2.l2sigma.inductor[2].i,transformer2.l2sigma.inductor[3].i) * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,29,100.0%), (1,9,100.0%), (1,9,100.0%), (1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005176/0.7232, allocations: 245.8 kB / 0.5953 GB, free: 74.8 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005427/0.7287, allocations: 4.866 MB / 0.6 GB, free: 69.79 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.7287, allocations: 1.562 kB / 0.6 GB, free: 69.79 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00354/0.7322, allocations: 3.363 MB / 0.6033 GB, free: 66.3 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003595/0.7358, allocations: 0.9605 MB / 0.6042 GB, free: 65.35 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01127/0.7471, allocations: 8.424 MB / 0.6125 GB, free: 56.96 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002016/0.7492, allocations: 3.107 MB / 0.6155 GB, free: 53.82 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006466/0.7498, allocations: 175.4 kB / 0.6157 GB, free: 53.64 MB / 462.1 MB Notification: Performance of SimCode: time 9.92e-07/0.7498, allocations: 0 / 0.6157 GB, free: 53.64 MB / 462.1 MB Notification: Performance of Templates: time 0.3839/1.134, allocations: 262.1 MB / 0.8716 GB, free: 75.95 MB / 0.5294 GB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches