Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 111.7 kB / 17.06 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 194.9 kB / 18 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001037/0.001037, allocations: 55.91 kB / 351.3 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.2751, allocations: 49.43 MB / 400.7 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.01196/0.2871, allocations: 6.869 MB / 407.6 MB, free: 1.961 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005538/0.2927, allocations: 2.268 MB / 409.9 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008344/0.2936, allocations: 47.81 kB / 409.9 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001364/0.295, allocations: 468.7 kB / 410.4 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001948/0.297, allocations: 0.6797 MB / 411.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000633/0.2976, allocations: 267.7 kB / 411.3 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003603/0.3012, allocations: 2.836 MB / 414.1 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003918/0.3052, allocations: 2.574 MB / 416.7 MB, free: 8.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002789/0.308, allocations: 1.325 MB / 418 MB, free: 7.434 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002423/0.3104, allocations: 1.537 MB / 419.6 MB, free: 5.891 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005822/0.311, allocations: 348 kB / 419.9 MB, free: 5.551 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009214/0.3119, allocations: 431.8 kB / 420.3 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001042/0.313, allocations: 0.9 MB / 421.2 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002034/0.315, allocations: 1.525 MB / 422.8 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005707/0.3208, allocations: 4.615 MB / 427.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.3208, allocations: 0 / 427.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3208, allocations: 3.938 kB / 427.4 MB, free: 14.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.807e-05/0.3208, allocations: 0 / 427.4 MB, free: 14.06 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.007114/0.328, allocations: 2.967 MB / 430.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.328, allocations: 8.031 kB / 430.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/0.3291, allocations: 313.6 kB / 430.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003622/0.3328, allocations: 1.639 MB / 432.3 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001639/0.3329, allocations: 160.4 kB / 432.5 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004721/0.3334, allocations: 223.9 kB / 432.7 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00724/0.3407, allocations: 3.178 MB / 435.9 MB, free: 5.371 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.425e-05/0.3407, allocations: 0 / 435.9 MB, free: 5.371 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003277/0.3411, allocations: 91.98 kB / 436 MB, free: 5.281 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001618/0.3413, allocations: 112.4 kB / 436.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006562/0.3478, allocations: 2.73 MB / 438.8 MB, free: 2.422 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01849/0.3663, allocations: 8.748 MB / 447.5 MB, free: 9.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004858/0.3712, allocations: 3.387 MB / 450.9 MB, free: 5.801 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002771/0.374, allocations: 1.312 MB / 452.2 MB, free: 4.496 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002874/0.3743, allocations: 134.2 kB / 452.4 MB, free: 4.344 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.227e-05/0.3744, allocations: 51.88 kB / 452.4 MB, free: 4.285 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 5.21e-06/0.3744, allocations: 0 / 452.4 MB, free: 4.285 MB / 366.1 MB Notification: Performance of matching and sorting (n=132): time 0.01498/0.3894, allocations: 5.742 MB / 458.2 MB, free: 14.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/0.3895, allocations: 64.72 kB / 458.2 MB, free: 14.31 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003022/0.3925, allocations: 1.494 MB / 459.7 MB, free: 12.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001163/0.3926, allocations: 53.7 kB / 459.8 MB, free: 12.74 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009544/0.3936, allocations: 0.933 MB / 460.7 MB, free: 11.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004776/0.3941, allocations: 449.5 kB / 461.1 MB, free: 11.35 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005113/0.3946, allocations: 218.9 kB / 461.4 MB, free: 11.13 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.3948, allocations: 361.9 kB / 461.7 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001614/0.3964, allocations: 0.6935 MB / 462.4 MB, free: 10.08 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001776/0.3982, allocations: 0.8629 MB / 463.3 MB, free: 9.164 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003579/0.4018, allocations: 1.601 MB / 464.9 MB, free: 7.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/0.4018, allocations: 3.938 kB / 464.9 MB, free: 7.516 MB / 382.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004478/0.4063, allocations: 2.306 MB / 467.2 MB, free: 5.188 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.4064, allocations: 8 kB / 467.2 MB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.4064, allocations: 4 kB / 467.2 MB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002778/0.4092, allocations: 0.8272 MB / 468 MB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008399/0.41, allocations: 203.7 kB / 468.2 MB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01317/0.4232, allocations: 11.47 MB / 479.7 MB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/0.4244, allocations: 55.89 kB / 479.7 MB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001733/0.4246, allocations: 40 kB / 479.8 MB, free: 8.016 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.001829/0.4265, allocations: 0.8137 MB / 480.6 MB, free: 7.191 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004888/0.427, allocations: 166.1 kB / 480.8 MB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004301/0.4313, allocations: 2.281 MB / 483 MB, free: 4.723 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.4313, allocations: 12 kB / 483 MB, free: 4.711 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.79e-05/0.4313, allocations: 4 kB / 483.1 MB, free: 4.707 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.43e-05/0.4313, allocations: 7.969 kB / 483.1 MB, free: 4.699 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00834/0.4397, allocations: 4.723 MB / 487.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.4397, allocations: 0 / 487.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006791/0.4404, allocations: 155.8 kB / 487.9 MB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002601/0.443, allocations: 0.8076 MB / 488.7 MB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.33e-05/0.4431, allocations: 35.98 kB / 488.8 MB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01182/0.455, allocations: 11.39 MB / 0.4884 GB, free: 2.922 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.455, allocations: 3.938 kB / 0.4884 GB, free: 2.918 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004907/0.4599, allocations: 3.22 MB / 0.4916 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008711/0.4608, allocations: 407.1 kB / 0.492 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003084/0.4611, allocations: 31.98 kB / 0.492 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008494/0.462, allocations: 63.95 kB / 0.4921 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002583/0.4622, allocations: 121 kB / 0.4922 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.452e-05/0.4623, allocations: 35.98 kB / 0.4922 GB, free: 14.99 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001567/0.4639, allocations: 1.052 MB / 0.4932 GB, free: 13.94 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4639, allocations: 0 / 0.4932 GB, free: 13.94 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001649/0.4656, allocations: 0.5156 MB / 0.4938 GB, free: 13.42 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.0005585/0.4661, allocations: 215.7 kB / 0.494 GB, free: 13.21 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003838/0.47, allocations: 2.408 MB / 0.4963 GB, free: 10.75 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.47, allocations: 0 / 0.4963 GB, free: 10.75 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002384/0.4724, allocations: 1.629 MB / 0.4979 GB, free: 9.07 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00213/0.4745, allocations: 0.5059 MB / 0.4984 GB, free: 8.57 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007855/0.4824, allocations: 4.62 MB / 0.5029 GB, free: 3.906 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001931/0.4844, allocations: 2.043 MB / 0.5049 GB, free: 1.828 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0008147/0.4852, allocations: 313.5 kB / 0.5052 GB, free: 1.516 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003442/0.4855, allocations: 95.42 kB / 0.5053 GB, free: 1.422 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4855, allocations: 0 / 0.5053 GB, free: 1.422 MB / 430.1 MB Notification: Performance of Templates: time 0.05181/0.5374, allocations: 32.99 MB / 0.5375 GB, free: 0.8086 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches