Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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.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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 110.8 kB / 17.06 MB, free: 6.016 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.001183/0.001183, allocations: 191 kB / 18 MB, free: 5.105 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.364/1.364, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009595/0.0009595, allocations: 51.92 kB / 351.3 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2461, allocations: 49.43 MB / 400.8 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01063/0.2568, allocations: 10.72 MB / 411.5 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005364/0.2622, allocations: 3.178 MB / 414.7 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001156/0.2634, allocations: 91.56 kB / 414.7 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001399/0.2648, allocations: 0.702 MB / 415.4 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002063/0.2669, allocations: 1.13 MB / 416.6 MB, free: 9.008 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007765/0.2677, allocations: 471.4 kB / 417 MB, free: 8.547 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004812/0.2725, allocations: 5.128 MB / 422.2 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004742/0.2773, allocations: 4.787 MB / 426.9 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005269/0.2826, allocations: 2.399 MB / 429.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003999/0.2866, allocations: 2.771 MB / 432.1 MB, free: 9.359 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009517/0.2875, allocations: 0.6211 MB / 432.7 MB, free: 8.738 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001382/0.2889, allocations: 0.703 MB / 433.4 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001321/0.2903, allocations: 1.632 MB / 435.1 MB, free: 6.398 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003137/0.2934, allocations: 2.762 MB / 437.8 MB, free: 3.625 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007886/0.3013, allocations: 8.413 MB / 446.3 MB, free: 11.19 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.3014, allocations: 0 / 446.3 MB, free: 11.19 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.3014, allocations: 4 kB / 446.3 MB, free: 11.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001655/0.3015, allocations: 0 / 446.3 MB, free: 11.18 MB / 366.1 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.01038/0.3119, allocations: 5.099 MB / 451.4 MB, free: 6.012 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.312, allocations: 12.03 kB / 451.4 MB, free: 6 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001503/0.3135, allocations: 0.5459 MB / 451.9 MB, free: 5.449 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004673/0.3182, allocations: 2.845 MB / 454.8 MB, free: 2.527 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000189/0.3184, allocations: 295.8 kB / 455 MB, free: 2.238 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000538/0.3189, allocations: 388 kB / 455.4 MB, free: 1.859 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009905/0.3288, allocations: 5.801 MB / 461.2 MB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.79e-05/0.3289, allocations: 0 / 461.2 MB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003655/0.3293, allocations: 164 kB / 461.4 MB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001926/0.3295, allocations: 211.9 kB / 461.6 MB, free: 11.6 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00827/0.3378, allocations: 5.02 MB / 466.6 MB, free: 6.562 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0236/0.3614, allocations: 16.19 MB / 482.8 MB, free: 6.098 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006502/0.3679, allocations: 6.802 MB / 489.6 MB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003612/0.3716, allocations: 2.611 MB / 492.2 MB, free: 12.13 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000318/0.3719, allocations: 143.1 kB / 492.4 MB, free: 11.97 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.256e-05/0.372, allocations: 60.56 kB / 492.4 MB, free: 11.9 MB / 414.1 MB Notification: Performance of pre-optimization done (n=249): time 5.14e-06/0.372, allocations: 0 / 492.4 MB, free: 11.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=256): time 0.02275/0.3947, allocations: 10.71 MB / 0.4913 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.556e-05/0.3948, allocations: 81.36 kB / 0.4914 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004271/0.3991, allocations: 2.628 MB / 0.494 GB, free: 14.2 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003018/0.3994, allocations: 65.7 kB / 0.494 GB, free: 14.13 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001175/0.4006, allocations: 1.644 MB / 0.4956 GB, free: 12.46 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007195/0.4014, allocations: 0.8355 MB / 0.4965 GB, free: 11.62 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006401/0.402, allocations: 408.6 kB / 0.4968 GB, free: 11.21 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.4021, allocations: 317 kB / 0.4972 GB, free: 10.9 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002003/0.4041, allocations: 1.332 MB / 0.4985 GB, free: 9.562 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002238/0.4064, allocations: 1.65 MB / 0.5001 GB, free: 7.816 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004438/0.4108, allocations: 3.087 MB / 0.5031 GB, free: 4.605 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/0.4109, allocations: 0 / 0.5031 GB, free: 4.605 MB / 430.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.007603/0.4185, allocations: 4.465 MB / 0.5074 GB, free: 60 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.755e-05/0.4185, allocations: 8 kB / 0.5074 GB, free: 52 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.839e-05/0.4185, allocations: 4 kB / 0.5075 GB, free: 48 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005273/0.4238, allocations: 1.644 MB / 0.5091 GB, free: 14.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001804/0.4256, allocations: 391.5 kB / 0.5094 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02649/0.4521, allocations: 25.74 MB / 0.5346 GB, free: 2.863 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002389/0.4546, allocations: 91.92 kB / 0.5346 GB, free: 2.773 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005252/0.4551, allocations: 80.3 kB / 0.5347 GB, free: 2.695 MB / 462.1 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 (diode4.idealDiode[3].off,diode4.idealDiode[2].off,diode4.idealDiode[1].off,diode3.idealDiode[3].off,diode3.idealDiode[2].off,diode3.idealDiode[1].off,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 (198): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,9,100.0%), (1,9,100.0%), (1,9,100.0%), (2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.002947/0.4581, allocations: 1.411 MB / 0.5361 GB, free: 1.273 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009397/0.459, allocations: 296.5 kB / 0.5364 GB, free: 0.9805 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2215/0.6805, allocations: 4.379 MB / 0.5407 GB, free: 128.2 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.072e-05/0.6806, allocations: 27.28 kB / 0.5407 GB, free: 128.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.749e-05/0.6806, allocations: 8.594 kB / 0.5407 GB, free: 128.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.989e-05/0.6807, allocations: 11.34 kB / 0.5407 GB, free: 128.2 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01245/0.6931, allocations: 8.773 MB / 0.5493 GB, free: 125.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/0.6932, allocations: 3.812 kB / 0.5493 GB, free: 125.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00105/0.6942, allocations: 287.1 kB / 0.5496 GB, free: 125.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004209/0.6984, allocations: 1.611 MB / 0.5511 GB, free: 124.7 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000163/0.6986, allocations: 63.14 kB / 0.5512 GB, free: 124.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0177/0.7163, allocations: 25.48 MB / 0.5761 GB, free: 98.98 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.7164, allocations: 0 / 0.5761 GB, free: 98.98 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00721/0.7236, allocations: 6.087 MB / 0.582 GB, free: 92.93 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001255/0.7249, allocations: 0.6769 MB / 0.5827 GB, free: 92.38 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003649/0.7252, allocations: 59.81 kB / 0.5827 GB, free: 92.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/0.7265, allocations: 123.9 kB / 0.5829 GB, free: 92.2 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004992/0.727, allocations: 213.6 kB / 0.5831 GB, free: 91.99 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001245/0.7271, allocations: 71.98 kB / 0.5831 GB, free: 91.92 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002052/0.7292, allocations: 1.844 MB / 0.5849 GB, free: 90.06 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7292, allocations: 0 / 0.5849 GB, free: 90.06 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002863/0.7321, allocations: 0.9592 MB / 0.5859 GB, free: 89.11 MB / 462.1 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 (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,29,100.0%), (1,9,100.0%), (1,9,100.0%), (1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005192/0.7326, allocations: 245.5 kB / 0.5861 GB, free: 88.88 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005394/0.738, allocations: 4.886 MB / 0.5909 GB, free: 83.89 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.738, allocations: 384 / 0.5909 GB, free: 83.89 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003562/0.7416, allocations: 3.353 MB / 0.5941 GB, free: 80.45 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003714/0.7454, allocations: 0.9465 MB / 0.5951 GB, free: 79.51 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01207/0.7574, allocations: 8.472 MB / 0.6033 GB, free: 71.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002209/0.7597, allocations: 3.175 MB / 0.6064 GB, free: 67.89 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00175/0.7615, allocations: 0.5713 MB / 0.607 GB, free: 67.31 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004715/0.7619, allocations: 167.4 kB / 0.6072 GB, free: 67.15 MB / 462.1 MB Notification: Performance of SimCode: time 9.72e-07/0.7619, allocations: 0 / 0.6072 GB, free: 67.15 MB / 462.1 MB Notification: Performance of Templates: time 0.07561/0.8376, allocations: 60.03 MB / 0.6658 GB, free: 7.844 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches