Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001767/0.001766, allocations: 194 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.459/1.459, allocations: 226.6 MB / 244.7 MB, free: 8.156 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008067/0.0008067, allocations: 105.3 kB / 296.8 MB, free: 6.895 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002266/0.0002266, allocations: 8 kB / 356.8 MB, free: 10.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.1828, allocations: 51.3 MB / 408.1 MB, free: 27.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.004355/0.1872, allocations: 6.024 MB / 414.1 MB, free: 21.67 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00261/0.1899, allocations: 2.186 MB / 416.3 MB, free: 19.49 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003965/0.1903, allocations: 43.81 kB / 416.3 MB, free: 19.45 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000638/0.1909, allocations: 349.8 kB / 416.6 MB, free: 19.11 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009415/0.1919, allocations: 0.5945 MB / 417.2 MB, free: 18.51 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002883/0.1922, allocations: 163.8 kB / 417.4 MB, free: 18.35 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001749/0.1939, allocations: 2.937 MB / 420.3 MB, free: 15.4 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00165/0.1956, allocations: 2.154 MB / 422.5 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001249/0.1968, allocations: 0.9543 MB / 423.4 MB, free: 12.22 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001001/0.1979, allocations: 1.226 MB / 424.7 MB, free: 10.99 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001923/0.1981, allocations: 152 kB / 424.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004562/0.1985, allocations: 247.8 kB / 425.1 MB, free: 10.6 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003814/0.1989, allocations: 0.6541 MB / 425.7 MB, free: 9.945 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008685/0.1998, allocations: 1.227 MB / 426.9 MB, free: 8.707 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001978/0.2018, allocations: 3.744 MB / 430.7 MB, free: 4.953 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2018, allocations: 0 / 430.7 MB, free: 4.953 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2018, allocations: 0 / 430.7 MB, free: 4.953 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.935e-05/0.2019, allocations: 0 / 430.7 MB, free: 4.953 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.003534/0.2054, allocations: 2.535 MB / 433.2 MB, free: 2.355 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.2055, allocations: 16.02 kB / 433.2 MB, free: 2.34 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008226/0.2063, allocations: 341.6 kB / 433.6 MB, free: 2.004 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001852/0.2081, allocations: 1.585 MB / 435.2 MB, free: 368 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.284e-05/0.2082, allocations: 164.4 kB / 435.3 MB, free: 200 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002515/0.2085, allocations: 220 kB / 435.5 MB, free: 15.98 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004696/0.2132, allocations: 3.167 MB / 438.7 MB, free: 12.73 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.911e-05/0.2132, allocations: 3.938 kB / 438.7 MB, free: 12.72 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001957/0.2134, allocations: 91.98 kB / 438.8 MB, free: 12.63 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001096/0.2136, allocations: 112.4 kB / 438.9 MB, free: 12.52 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00413/0.2177, allocations: 2.723 MB / 441.6 MB, free: 9.781 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01852/0.2362, allocations: 8.947 MB / 450.6 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004866/0.2411, allocations: 3.383 MB / 454 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002882/0.2441, allocations: 1.343 MB / 455.3 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003042/0.2444, allocations: 130.4 kB / 455.4 MB, free: 11.47 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.103e-05/0.2444, allocations: 47.81 kB / 455.5 MB, free: 11.42 MB / 330.7 MB Notification: Performance of pre-optimization done (n=128): time 5.16e-06/0.2445, allocations: 0 / 455.5 MB, free: 11.42 MB / 330.7 MB Notification: Performance of matching and sorting (n=132): time 0.01537/0.2598, allocations: 5.801 MB / 461.3 MB, free: 5.469 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.208e-05/0.2599, allocations: 68.72 kB / 461.3 MB, free: 5.391 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002938/0.2629, allocations: 1.478 MB / 462.8 MB, free: 3.895 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001259/0.263, allocations: 53.7 kB / 462.9 MB, free: 3.836 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000871/0.2639, allocations: 0.9331 MB / 463.8 MB, free: 2.891 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000455/0.2644, allocations: 437.6 kB / 464.2 MB, free: 2.457 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.2645, allocations: 28 kB / 464.3 MB, free: 2.43 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.2647, allocations: 353.9 kB / 464.6 MB, free: 2.078 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001615/0.2663, allocations: 0.7013 MB / 465.3 MB, free: 1.375 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001737/0.268, allocations: 0.8629 MB / 466.2 MB, free: 472 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003285/0.2713, allocations: 1.597 MB / 467.8 MB, free: 14.81 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.2714, allocations: 0 / 467.8 MB, free: 14.81 MB / 346.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.005558/0.2769, allocations: 2.321 MB / 470.1 MB, free: 12.47 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.277, allocations: 6.656 kB / 470.1 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/0.277, allocations: 4 kB / 470.1 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003723/0.2807, allocations: 0.815 MB / 470.9 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/0.282, allocations: 207.7 kB / 471.1 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01568/0.2977, allocations: 10.53 MB / 481.6 MB, free: 380 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/0.2989, allocations: 55.89 kB / 481.7 MB, free: 324 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001212/0.2991, allocations: 40.56 kB / 481.7 MB, free: 284 kB / 346.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 (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 initialization (104): * Single equations (assignments): 100 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.001798/0.3009, allocations: 0.816 MB / 482.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00041/0.3013, allocations: 162.1 kB / 482.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005514/0.3068, allocations: 2.284 MB / 485 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.554e-05/0.3069, allocations: 16 kB / 485 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.3069, allocations: 4 kB / 485 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.602e-05/0.3069, allocations: 11.91 kB / 485 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01056/0.3175, allocations: 4.761 MB / 489.8 MB, free: 8.094 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.3175, allocations: 0 / 489.8 MB, free: 8.094 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000963/0.3185, allocations: 155.8 kB / 489.9 MB, free: 7.941 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003584/0.3221, allocations: 0.8196 MB / 490.8 MB, free: 7.109 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001129/0.3222, allocations: 35.98 kB / 490.8 MB, free: 7.074 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01558/0.3378, allocations: 10.39 MB / 0.4894 GB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3378, allocations: 0 / 0.4894 GB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007138/0.345, allocations: 3.234 MB / 0.4926 GB, free: 8.859 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001036/0.346, allocations: 411.1 kB / 0.493 GB, free: 8.438 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002839/0.3463, allocations: 24 kB / 0.493 GB, free: 8.414 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/0.3475, allocations: 75.94 kB / 0.4931 GB, free: 8.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003548/0.3479, allocations: 117.1 kB / 0.4932 GB, free: 8.227 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001197/0.348, allocations: 36 kB / 0.4932 GB, free: 8.191 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002165/0.3502, allocations: 1.04 MB / 0.4942 GB, free: 7.148 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3502, allocations: 0 / 0.4942 GB, free: 7.148 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00247/0.3527, allocations: 0.5156 MB / 0.4948 GB, free: 6.633 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005786/0.3533, allocations: 212 kB / 0.495 GB, free: 6.422 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004599/0.3579, allocations: 2.401 MB / 0.4973 GB, free: 3.969 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.3579, allocations: 256 / 0.4973 GB, free: 3.969 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002807/0.3607, allocations: 1.628 MB / 0.4989 GB, free: 2.293 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002772/0.3635, allocations: 493.2 kB / 0.4994 GB, free: 1.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1981/0.5616, allocations: 5.44 MB / 0.5047 GB, free: 89.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001943/0.5636, allocations: 1.983 MB / 0.5066 GB, free: 88.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004543/0.564, allocations: 96.55 kB / 0.5067 GB, free: 88.93 MB / 378.7 MB Notification: Performance of SimCode: time 7.22e-07/0.564, allocations: 0 / 0.5067 GB, free: 88.93 MB / 378.7 MB Notification: Performance of Templates: time 0.0683/0.6324, allocations: 75.12 MB / 0.5801 GB, free: 20.56 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches