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.0009094/0.0009091, allocations: 197.1 kB / 17.05 MB, free: 5.102 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.277/1.277, allocations: 226.6 MB / 244.3 MB, free: 6.562 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007426/0.0007426, allocations: 94.94 kB / 296.4 MB, free: 6.777 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002409/0.0002411, allocations: 8 kB / 356.2 MB, free: 10.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2625, allocations: 51.29 MB / 407.5 MB, free: 27.77 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.008066/0.2707, allocations: 6.018 MB / 413.5 MB, free: 21.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005684/0.2764, allocations: 2.184 MB / 415.7 MB, free: 19.56 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001612/0.2781, allocations: 39.81 kB / 415.7 MB, free: 19.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001583/0.2797, allocations: 349.8 kB / 416.1 MB, free: 19.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002612/0.2823, allocations: 0.5867 MB / 416.7 MB, free: 18.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008588/0.2832, allocations: 159.8 kB / 416.8 MB, free: 18.43 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003931/0.2872, allocations: 2.934 MB / 419.8 MB, free: 15.49 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003353/0.2906, allocations: 1.697 MB / 421.5 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002016/0.2926, allocations: 0.9574 MB / 422.4 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002539/0.2952, allocations: 1.226 MB / 423.6 MB, free: 11.56 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000792/0.296, allocations: 148 kB / 423.8 MB, free: 11.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001456/0.2974, allocations: 211.9 kB / 424 MB, free: 11.21 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001177/0.2986, allocations: 0.6619 MB / 424.7 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001414/0.3001, allocations: 0.52 MB / 425.2 MB, free: 10.02 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005135/0.3052, allocations: 3.751 MB / 428.9 MB, free: 6.254 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.3053, allocations: 4 kB / 428.9 MB, free: 6.25 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.3053, allocations: 4 kB / 428.9 MB, free: 6.246 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001747/0.3055, allocations: 0 / 428.9 MB, free: 6.246 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.007263/0.3128, allocations: 2.55 MB / 431.5 MB, free: 3.633 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.3128, allocations: 12.03 kB / 431.5 MB, free: 3.621 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001758/0.3146, allocations: 344.6 kB / 431.8 MB, free: 3.281 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003825/0.3184, allocations: 1.542 MB / 433.4 MB, free: 1.68 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001675/0.3186, allocations: 164.4 kB / 433.5 MB, free: 1.516 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008025/0.3194, allocations: 208 kB / 433.7 MB, free: 1.312 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008927/0.3284, allocations: 3.174 MB / 436.9 MB, free: 14.05 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.54e-05/0.3285, allocations: 0 / 436.9 MB, free: 14.05 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004876/0.329, allocations: 88 kB / 437 MB, free: 13.96 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001703/0.3292, allocations: 116.4 kB / 437.1 MB, free: 13.85 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006081/0.3353, allocations: 2.726 MB / 439.8 MB, free: 11.11 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01524/0.3506, allocations: 8.936 MB / 448.8 MB, free: 1.996 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003947/0.3546, allocations: 3.375 MB / 452.1 MB, free: 14.32 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002232/0.3569, allocations: 1.347 MB / 453.5 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002693/0.3572, allocations: 122.4 kB / 453.6 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.962e-05/0.3572, allocations: 47.88 kB / 453.7 MB, free: 12.77 MB / 330.7 MB Notification: Performance of pre-optimization done (n=128): time 3.075e-06/0.3572, allocations: 0 / 453.7 MB, free: 12.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=132): time 0.01108/0.3683, allocations: 5.79 MB / 459.5 MB, free: 6.832 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.3684, allocations: 68.72 kB / 459.5 MB, free: 6.754 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002475/0.3709, allocations: 1.478 MB / 461 MB, free: 5.258 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.289e-05/0.371, allocations: 49.7 kB / 461 MB, free: 5.203 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006715/0.3717, allocations: 0.937 MB / 462 MB, free: 4.254 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003638/0.372, allocations: 445.5 kB / 462.4 MB, free: 3.812 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.861e-05/0.3721, allocations: 24 kB / 462.4 MB, free: 3.789 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.3723, allocations: 357.9 kB / 462.8 MB, free: 3.434 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/0.3734, allocations: 0.7013 MB / 463.5 MB, free: 2.73 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001145/0.3745, allocations: 0.8599 MB / 464.4 MB, free: 1.82 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/0.3757, allocations: 0.8183 MB / 465.2 MB, free: 1.008 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.3757, allocations: 0 / 465.2 MB, free: 1.008 MB / 330.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003715/0.3794, allocations: 2.306 MB / 467.5 MB, free: 14.68 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.3795, allocations: 8 kB / 467.5 MB, free: 14.67 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.3795, allocations: 7.938 kB / 467.5 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002806/0.3823, allocations: 0.8267 MB / 468.3 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008092/0.3831, allocations: 207.7 kB / 468.5 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01154/0.3947, allocations: 10.51 MB / 479 MB, free: 2.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/0.3959, allocations: 59.89 kB / 479.1 MB, free: 2.512 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001805/0.3961, allocations: 40 kB / 479.1 MB, free: 2.473 MB / 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.001544/0.3976, allocations: 0.812 MB / 479.9 MB, free: 1.652 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004608/0.3981, allocations: 166.1 kB / 480.1 MB, free: 1.488 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003939/0.4021, allocations: 2.273 MB / 482.4 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.4021, allocations: 15.94 kB / 482.4 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/0.4021, allocations: 8 kB / 482.4 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/0.4021, allocations: 7.969 kB / 482.4 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008123/0.4102, allocations: 4.761 MB / 487.2 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/0.4103, allocations: 4 kB / 487.2 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006621/0.411, allocations: 155.8 kB / 487.3 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002782/0.4138, allocations: 0.8189 MB / 488.1 MB, free: 9.312 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.58e-05/0.4139, allocations: 35.98 kB / 488.2 MB, free: 9.277 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01121/0.4251, allocations: 10.39 MB / 498.6 MB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.4251, allocations: 4.562 kB / 498.6 MB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005218/0.4304, allocations: 3.226 MB / 0.49 GB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009871/0.4314, allocations: 415.1 kB / 0.4904 GB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003784/0.4318, allocations: 24 kB / 0.4905 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009536/0.4327, allocations: 87.73 kB / 0.4905 GB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002555/0.433, allocations: 109.1 kB / 0.4906 GB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001/0.4331, allocations: 39.94 kB / 0.4907 GB, free: 10.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001775/0.4349, allocations: 1.044 MB / 0.4917 GB, free: 9.344 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4349, allocations: 0 / 0.4917 GB, free: 9.344 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002055/0.437, allocations: 0.5195 MB / 0.4922 GB, free: 8.824 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.0004746/0.4375, allocations: 170.1 kB / 0.4924 GB, free: 8.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003668/0.4412, allocations: 2.392 MB / 0.4947 GB, free: 6.215 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.4412, allocations: 0 / 0.4947 GB, free: 6.215 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002316/0.4435, allocations: 1.625 MB / 0.4963 GB, free: 4.539 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002506/0.446, allocations: 0.4929 MB / 0.4968 GB, free: 4.051 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1855/0.6315, allocations: 5.449 MB / 0.5021 GB, free: 90.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001841/0.6334, allocations: 1.989 MB / 0.504 GB, free: 89.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004595/0.6339, allocations: 96.44 kB / 0.5041 GB, free: 89.45 MB / 378.7 MB Notification: Performance of SimCode: time 1.272e-06/0.6339, allocations: 2.375 kB / 0.5041 GB, free: 89.45 MB / 378.7 MB Notification: Performance of Templates: time 0.08357/0.7175, allocations: 75.12 MB / 0.5775 GB, free: 22.29 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