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/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.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/Complex trunk/package.mo): time 0.001195/0.001195, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.285/1.285, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009561/0.0009561, allocations: 101.8 kB / 296.7 MB, free: 6.473 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009776/0.0009777, allocations: 51.92 kB / 356.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2063, allocations: 50.44 MB / 407 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.005739/0.2121, allocations: 6.859 MB / 413.9 MB, free: 20.94 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003438/0.2155, allocations: 2.293 MB / 416.2 MB, free: 18.64 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006998/0.2163, allocations: 47.75 kB / 416.2 MB, free: 18.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008508/0.2172, allocations: 393.8 kB / 416.6 MB, free: 18.21 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001463/0.2186, allocations: 0.6141 MB / 417.2 MB, free: 17.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004075/0.2191, allocations: 235.8 kB / 417.5 MB, free: 17.36 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002153/0.2212, allocations: 3.249 MB / 420.7 MB, free: 14.1 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001801/0.223, allocations: 2.146 MB / 422.9 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002399/0.2254, allocations: 1.12 MB / 424 MB, free: 10.77 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001712/0.2272, allocations: 1.475 MB / 425.5 MB, free: 9.293 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003254/0.2275, allocations: 216 kB / 425.7 MB, free: 9.082 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006855/0.2282, allocations: 311.8 kB / 426 MB, free: 8.777 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004789/0.2287, allocations: 0.7477 MB / 426.7 MB, free: 8.027 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001289/0.23, allocations: 1.38 MB / 428.1 MB, free: 6.641 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003076/0.2331, allocations: 4.463 MB / 432.6 MB, free: 2.164 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.2331, allocations: 0 / 432.6 MB, free: 2.164 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2331, allocations: 0 / 432.6 MB, free: 2.164 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.709e-05/0.2332, allocations: 0 / 432.6 MB, free: 2.164 MB / 298.7 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.004804/0.238, allocations: 2.971 MB / 435.5 MB, free: 15.13 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.238, allocations: 12.03 kB / 435.6 MB, free: 15.12 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009311/0.239, allocations: 329.6 kB / 435.9 MB, free: 14.79 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002601/0.2416, allocations: 1.588 MB / 437.5 MB, free: 13.14 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001127/0.2417, allocations: 164.4 kB / 437.6 MB, free: 12.98 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002872/0.242, allocations: 220 kB / 437.8 MB, free: 12.77 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004729/0.2467, allocations: 3.178 MB / 441 MB, free: 9.5 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.472e-05/0.2468, allocations: 0 / 441 MB, free: 9.5 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001935/0.247, allocations: 95.98 kB / 441.1 MB, free: 9.406 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001321/0.2471, allocations: 112.4 kB / 441.2 MB, free: 9.293 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004537/0.2517, allocations: 2.73 MB / 444 MB, free: 6.547 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01383/0.2655, allocations: 8.873 MB / 452.8 MB, free: 13.5 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003284/0.2689, allocations: 3.384 MB / 456.2 MB, free: 9.809 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001841/0.2707, allocations: 1.331 MB / 457.5 MB, free: 8.473 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002403/0.271, allocations: 122.4 kB / 457.7 MB, free: 8.332 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.271, allocations: 59.75 kB / 457.7 MB, free: 8.266 MB / 330.7 MB Notification: Performance of pre-optimization done (n=128): time 3.416e-06/0.271, allocations: 0 / 457.7 MB, free: 8.266 MB / 330.7 MB Notification: Performance of matching and sorting (n=132): time 0.01062/0.2817, allocations: 5.742 MB / 463.5 MB, free: 2.375 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.2817, allocations: 68.66 kB / 463.5 MB, free: 2.297 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002114/0.2839, allocations: 1.49 MB / 465 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001526/0.284, allocations: 57.64 kB / 465.1 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006249/0.2847, allocations: 0.9369 MB / 466 MB, free: 15.78 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000384/0.2851, allocations: 445.6 kB / 466.4 MB, free: 15.34 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003598/0.2854, allocations: 222.8 kB / 466.7 MB, free: 15.11 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.2856, allocations: 357.9 kB / 467 MB, free: 14.75 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001042/0.2866, allocations: 0.6896 MB / 467.7 MB, free: 14.07 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001105/0.2878, allocations: 0.8629 MB / 468.6 MB, free: 13.15 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0022/0.29, allocations: 1.601 MB / 470.2 MB, free: 11.5 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.29, allocations: 0 / 470.2 MB, free: 11.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003689/0.2937, allocations: 2.306 MB / 472.5 MB, free: 9.176 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.2937, allocations: 11.94 kB / 472.5 MB, free: 9.164 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.2937, allocations: 4 kB / 472.5 MB, free: 9.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002492/0.2962, allocations: 0.8189 MB / 473.3 MB, free: 8.328 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007552/0.297, allocations: 207.7 kB / 473.5 MB, free: 8.125 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01119/0.3082, allocations: 10.52 MB / 484 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/0.3094, allocations: 43.97 kB / 484.1 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000223/0.3096, allocations: 47.98 kB / 484.1 MB, free: 12.98 MB / 362.7 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.001455/0.3111, allocations: 0.8157 MB / 484.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004168/0.3115, allocations: 166.1 kB / 485.1 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003855/0.3154, allocations: 2.269 MB / 487.4 MB, free: 9.703 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.3154, allocations: 12 kB / 487.4 MB, free: 9.691 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.3154, allocations: 8.062 kB / 487.4 MB, free: 9.684 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/0.3155, allocations: 7.969 kB / 487.4 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008123/0.3236, allocations: 4.742 MB / 492.1 MB, free: 4.836 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/0.3236, allocations: 0 / 492.1 MB, free: 4.836 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006588/0.3243, allocations: 159.8 kB / 492.3 MB, free: 4.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002576/0.3269, allocations: 0.8075 MB / 493.1 MB, free: 3.859 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.669e-05/0.327, allocations: 35.92 kB / 493.1 MB, free: 3.824 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01091/0.3379, allocations: 10.39 MB / 0.4917 GB, free: 8.883 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.3379, allocations: 0 / 0.4917 GB, free: 8.883 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2155/0.5535, allocations: 23.34 MB / 0.5145 GB, free: 81.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006638/0.5542, allocations: 402.5 kB / 0.5149 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001913/0.5544, allocations: 30.31 kB / 0.5149 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007586/0.5551, allocations: 66.33 kB / 0.515 GB, free: 80.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003349/0.5555, allocations: 121 kB / 0.5151 GB, free: 80.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.617e-05/0.5556, allocations: 31.09 kB / 0.5151 GB, free: 80.91 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00131/0.5569, allocations: 1.06 MB / 0.5162 GB, free: 80.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.5569, allocations: 0 / 0.5162 GB, free: 80.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001955/0.5588, allocations: 0.7237 MB / 0.5169 GB, free: 80.44 MB / 378.7 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.0003949/0.5592, allocations: 204 kB / 0.5171 GB, free: 80.33 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002661/0.5619, allocations: 2.391 MB / 0.5194 GB, free: 79.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5619, allocations: 0 / 0.5194 GB, free: 79.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001757/0.5637, allocations: 1.621 MB / 0.521 GB, free: 78.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001838/0.5655, allocations: 485.8 kB / 0.5215 GB, free: 78.17 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007574/0.5731, allocations: 7.25 MB / 0.5285 GB, free: 71.61 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001291/0.5744, allocations: 2.083 MB / 0.5306 GB, free: 69.5 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008799/0.5753, allocations: 321.5 kB / 0.5309 GB, free: 69.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000248/0.5756, allocations: 99.42 kB / 0.531 GB, free: 69.08 MB / 378.7 MB Notification: Performance of SimCode: time 1.794e-06/0.5756, allocations: 0 / 0.531 GB, free: 69.08 MB / 378.7 MB Notification: Performance of Templates: time 0.04253/0.6181, allocations: 36.47 MB / 0.5666 GB, free: 32.96 MB / 378.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches