Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009156/0.0009156, allocations: 173.5 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.285/1.285, allocations: 205.4 MB / 222.9 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000726/0.0007261, allocations: 90.39 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003249/0.000325, allocations: 8 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2363, allocations: 47.57 MB / 375.1 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01423/0.2506, allocations: 9.388 MB / 384.5 MB, free: 38.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009014/0.2597, allocations: 3.127 MB / 387.6 MB, free: 35.45 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002964/0.2627, allocations: 64.31 kB / 387.7 MB, free: 35.42 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002887/0.2657, allocations: 0.54 MB / 388.2 MB, free: 34.99 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005194/0.2709, allocations: 1.023 MB / 389.2 MB, free: 34.18 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001934/0.2729, allocations: 316.4 kB / 389.5 MB, free: 33.91 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.009051/0.282, allocations: 5.476 MB / 395 MB, free: 28.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007579/0.2896, allocations: 3.356 MB / 398.4 MB, free: 25.29 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005441/0.2951, allocations: 1.736 MB / 400.1 MB, free: 23.55 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005052/0.3002, allocations: 2.241 MB / 402.4 MB, free: 21.3 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001862/0.3021, allocations: 280 kB / 402.6 MB, free: 21.03 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003181/0.3053, allocations: 371.8 kB / 403 MB, free: 20.66 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002546/0.3079, allocations: 1.211 MB / 404.2 MB, free: 19.45 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005662/0.3136, allocations: 2.218 MB / 406.4 MB, free: 17.21 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009447/0.3231, allocations: 6.817 MB / 413.2 MB, free: 10.38 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.104e-05/0.3232, allocations: 4 kB / 413.2 MB, free: 10.38 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.3232, allocations: 0 / 413.2 MB, free: 10.38 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0003002/0.3235, allocations: 0 / 413.2 MB, free: 10.38 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01356/0.3371, allocations: 4.269 MB / 417.5 MB, free: 6.035 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/0.3372, allocations: 15.97 kB / 417.5 MB, free: 6.02 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003127/0.3403, allocations: 0.5499 MB / 418.1 MB, free: 5.465 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007338/0.3477, allocations: 2.592 MB / 420.7 MB, free: 2.797 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004179/0.3482, allocations: 291.8 kB / 421 MB, free: 2.512 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001521/0.3497, allocations: 384 kB / 421.3 MB, free: 2.137 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01967/0.3694, allocations: 5.769 MB / 427.1 MB, free: 12.29 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001959/0.3697, allocations: 3.938 kB / 427.1 MB, free: 12.28 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001231/0.3709, allocations: 164 kB / 427.3 MB, free: 12.12 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003462/0.3713, allocations: 208 kB / 427.5 MB, free: 11.91 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01703/0.3884, allocations: 4.993 MB / 432.5 MB, free: 6.902 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04886/0.4373, allocations: 16.52 MB / 449 MB, free: 6.117 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01182/0.4491, allocations: 6.809 MB / 455.8 MB, free: 14.75 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006921/0.4561, allocations: 2.669 MB / 458.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005608/0.4567, allocations: 135.1 kB / 458.6 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.095e-05/0.4569, allocations: 64.56 kB / 458.6 MB, free: 11.86 MB / 346.7 MB Notification: Performance of pre-optimization done (n=249): time 1.074e-05/0.4569, allocations: 3.938 kB / 458.6 MB, free: 11.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=256): time 0.03654/0.4934, allocations: 10.73 MB / 469.4 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.4936, allocations: 77.42 kB / 469.5 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006595/0.5002, allocations: 2.632 MB / 472.1 MB, free: 14.13 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005137/0.5008, allocations: 65.7 kB / 472.2 MB, free: 14.06 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001677/0.5025, allocations: 1.636 MB / 473.8 MB, free: 12.4 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001377/0.5039, allocations: 0.8394 MB / 474.6 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003845/0.5043, allocations: 48 kB / 474.7 MB, free: 11.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003108/0.5046, allocations: 402.7 kB / 475.1 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00289/0.5075, allocations: 1.34 MB / 476.4 MB, free: 9.762 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003095/0.5106, allocations: 1.647 MB / 478.1 MB, free: 8.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005402/0.5161, allocations: 3.072 MB / 481.1 MB, free: 4.824 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.178e-05/0.5161, allocations: 4 kB / 481.1 MB, free: 4.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.008382/0.5245, allocations: 4.457 MB / 485.6 MB, free: 288 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.178e-05/0.5246, allocations: 8 kB / 485.6 MB, free: 280 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/0.5246, allocations: 4 kB / 485.6 MB, free: 276 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005707/0.5303, allocations: 1.647 MB / 487.2 MB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001696/0.532, allocations: 391.5 kB / 487.6 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1981/0.7302, allocations: 23.47 MB / 0.4991 GB, free: 97.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00247/0.7327, allocations: 100.7 kB / 0.4992 GB, free: 97.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005419/0.7333, allocations: 80.94 kB / 0.4993 GB, free: 97.73 MB / 378.7 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 (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 initialization (198): * Single equations (assignments): 188 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9,(2,100.0%) 29} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.003292/0.7366, allocations: 1.409 MB / 0.5007 GB, free: 97.05 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009876/0.7376, allocations: 295.2 kB / 0.501 GB, free: 97.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008554/0.7462, allocations: 4.382 MB / 0.5052 GB, free: 95.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.412e-05/0.7463, allocations: 24.91 kB / 0.5053 GB, free: 95.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.643e-05/0.7463, allocations: 11.66 kB / 0.5053 GB, free: 95.26 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.681e-05/0.7464, allocations: 12 kB / 0.5053 GB, free: 95.26 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01618/0.7625, allocations: 8.885 MB / 0.514 GB, free: 90.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.51e-05/0.7626, allocations: 4 kB / 0.514 GB, free: 90.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001141/0.7638, allocations: 290.8 kB / 0.5142 GB, free: 90.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005088/0.7689, allocations: 1.622 MB / 0.5158 GB, free: 88.45 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003439/0.7692, allocations: 60.05 kB / 0.5159 GB, free: 88.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01936/0.7886, allocations: 23.25 MB / 0.5386 GB, free: 64.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.7887, allocations: 8.016 kB / 0.5386 GB, free: 64.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00926/0.7979, allocations: 6.077 MB / 0.5445 GB, free: 58 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001769/0.7998, allocations: 0.6772 MB / 0.5452 GB, free: 57.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009375/0.8007, allocations: 55.98 kB / 0.5452 GB, free: 57.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001949/0.8027, allocations: 130 kB / 0.5454 GB, free: 57.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006357/0.8034, allocations: 213.6 kB / 0.5456 GB, free: 56.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002278/0.8036, allocations: 71.92 kB / 0.5456 GB, free: 56.85 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003205/0.8068, allocations: 1.825 MB / 0.5474 GB, free: 55.01 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.8068, allocations: 7.172 kB / 0.5474 GB, free: 55.01 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004247/0.8111, allocations: 0.957 MB / 0.5484 GB, free: 54.05 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 29,(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007556/0.8119, allocations: 232.1 kB / 0.5486 GB, free: 53.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006757/0.8186, allocations: 4.834 MB / 0.5533 GB, free: 48.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.265e-06/0.8187, allocations: 4 kB / 0.5533 GB, free: 48.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004411/0.8231, allocations: 3.346 MB / 0.5566 GB, free: 45.38 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005307/0.8284, allocations: 0.9074 MB / 0.5575 GB, free: 44.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01541/0.8439, allocations: 9.885 MB / 0.5671 GB, free: 34.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002623/0.8466, allocations: 3.099 MB / 0.5701 GB, free: 31.44 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007686/0.8473, allocations: 171.4 kB / 0.5703 GB, free: 31.27 MB / 378.7 MB Notification: Performance of SimCode: time 5.21e-07/0.8474, allocations: 0 / 0.5703 GB, free: 31.27 MB / 378.7 MB Notification: Performance of Templates: time 0.5674/1.415, allocations: 260.7 MB / 0.8249 GB, free: 149.6 MB / 442.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches