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.001388/0.001388, allocations: 104 kB / 17.73 MB, free: 5.367 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.001567/0.001567, allocations: 183.1 kB / 18.66 MB, free: 4.449 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.294/1.294, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001052/0.001052, allocations: 43.94 kB / 352 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2333, allocations: 49.44 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.0104/0.2438, allocations: 10.71 MB / 412.2 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005724/0.2495, allocations: 3.189 MB / 415.3 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001325/0.2509, allocations: 83.62 kB / 415.4 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001502/0.2524, allocations: 0.7021 MB / 416.1 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002621/0.2551, allocations: 1.134 MB / 417.3 MB, free: 8.977 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008092/0.2559, allocations: 459.4 kB / 417.7 MB, free: 8.527 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004567/0.2605, allocations: 5.139 MB / 422.8 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004587/0.2651, allocations: 4.791 MB / 427.6 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003701/0.2688, allocations: 2.38 MB / 430 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003375/0.2722, allocations: 2.771 MB / 432.8 MB, free: 9.344 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007811/0.273, allocations: 0.6211 MB / 433.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001163/0.2741, allocations: 0.7069 MB / 434.1 MB, free: 8.016 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00125/0.2754, allocations: 1.64 MB / 435.8 MB, free: 6.371 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002969/0.2784, allocations: 2.77 MB / 438.5 MB, free: 3.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007057/0.2854, allocations: 8.397 MB / 446.9 MB, free: 11.17 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.969e-06/0.2855, allocations: 0 / 446.9 MB, free: 11.17 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2855, allocations: 3.938 kB / 446.9 MB, free: 11.16 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001796/0.2857, allocations: 0 / 446.9 MB, free: 11.16 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.009816/0.2955, allocations: 5.111 MB / 452 MB, free: 5.98 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.2956, allocations: 12.03 kB / 452 MB, free: 5.969 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001392/0.297, allocations: 0.5498 MB / 452.6 MB, free: 5.414 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004403/0.3014, allocations: 2.841 MB / 455.4 MB, free: 2.496 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001824/0.3016, allocations: 291.8 kB / 455.7 MB, free: 2.211 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005376/0.3021, allocations: 380 kB / 456.1 MB, free: 1.84 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008811/0.3109, allocations: 5.805 MB / 461.9 MB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.822e-05/0.311, allocations: 3.938 kB / 461.9 MB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003663/0.3114, allocations: 168 kB / 462.1 MB, free: 11.78 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001829/0.3116, allocations: 208 kB / 462.3 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007569/0.3192, allocations: 5.024 MB / 467.3 MB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02392/0.3431, allocations: 16.18 MB / 483.5 MB, free: 6.078 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006116/0.3492, allocations: 6.806 MB / 490.3 MB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003439/0.3527, allocations: 2.619 MB / 492.9 MB, free: 12.1 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002752/0.353, allocations: 131.1 kB / 493 MB, free: 11.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.452e-05/0.3531, allocations: 60.5 kB / 493.1 MB, free: 11.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=249): time 4.708e-06/0.3531, allocations: 0 / 493.1 MB, free: 11.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=256): time 0.01898/0.3721, allocations: 10.7 MB / 0.492 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.887e-05/0.3722, allocations: 81.42 kB / 0.4921 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003758/0.3759, allocations: 2.624 MB / 0.4946 GB, free: 14.18 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002357/0.3762, allocations: 73.7 kB / 0.4947 GB, free: 14.11 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001106/0.3773, allocations: 1.64 MB / 0.4963 GB, free: 12.45 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007101/0.378, allocations: 0.8432 MB / 0.4971 GB, free: 11.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000623/0.3787, allocations: 412.6 kB / 0.4975 GB, free: 11.18 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.629e-05/0.3788, allocations: 309 kB / 0.4978 GB, free: 10.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001916/0.3807, allocations: 1.336 MB / 0.4991 GB, free: 9.535 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00212/0.3828, allocations: 1.654 MB / 0.5007 GB, free: 7.785 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004022/0.3869, allocations: 3.079 MB / 0.5037 GB, free: 4.582 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-05/0.3869, allocations: 11.98 kB / 0.5037 GB, free: 4.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.00702/0.3939, allocations: 4.453 MB / 0.5081 GB, free: 36 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.133e-05/0.394, allocations: 11.98 kB / 0.5081 GB, free: 24 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/0.394, allocations: 8 kB / 0.5081 GB, free: 16 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005106/0.3991, allocations: 1.648 MB / 0.5097 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001521/0.4006, allocations: 387.5 kB / 0.5101 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02394/0.4246, allocations: 25.73 MB / 0.5352 GB, free: 2.836 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001943/0.4266, allocations: 87.94 kB / 0.5353 GB, free: 2.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002225/0.4268, allocations: 79.98 kB / 0.5354 GB, free: 2.672 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.002259/0.4291, allocations: 1.411 MB / 0.5368 GB, free: 1.25 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006189/0.4297, allocations: 296.5 kB / 0.537 GB, free: 0.957 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2098/0.6395, allocations: 4.39 MB / 0.5413 GB, free: 128.2 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-05/0.6396, allocations: 23.66 kB / 0.5414 GB, free: 128.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.491e-05/0.6396, allocations: 7.906 kB / 0.5414 GB, free: 128.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.081e-05/0.6396, allocations: 11.25 kB / 0.5414 GB, free: 128.2 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0126/0.6523, allocations: 8.767 MB / 0.5499 GB, free: 125.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.6523, allocations: 0 / 0.5499 GB, free: 125.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/0.6534, allocations: 291.4 kB / 0.5502 GB, free: 125.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004468/0.6579, allocations: 1.612 MB / 0.5518 GB, free: 124.6 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002805/0.6582, allocations: 65.05 kB / 0.5518 GB, free: 124.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01834/0.6765, allocations: 25.48 MB / 0.5767 GB, free: 98.84 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.6765, allocations: 4.031 kB / 0.5767 GB, free: 98.84 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007415/0.684, allocations: 6.09 MB / 0.5827 GB, free: 92.79 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001324/0.6853, allocations: 0.6769 MB / 0.5833 GB, free: 92.24 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004049/0.6857, allocations: 59.98 kB / 0.5834 GB, free: 92.18 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001209/0.687, allocations: 119.9 kB / 0.5835 GB, free: 92.06 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004326/0.6874, allocations: 217.6 kB / 0.5837 GB, free: 91.85 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001236/0.6875, allocations: 67.86 kB / 0.5838 GB, free: 91.79 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002068/0.6896, allocations: 1.848 MB / 0.5856 GB, free: 89.93 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6896, allocations: 0 / 0.5856 GB, free: 89.93 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003133/0.6927, allocations: 0.9553 MB / 0.5865 GB, free: 88.97 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.0005105/0.6933, allocations: 246.7 kB / 0.5868 GB, free: 88.74 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005424/0.6987, allocations: 4.876 MB / 0.5915 GB, free: 83.77 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.6987, allocations: 0 / 0.5915 GB, free: 83.77 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003531/0.7023, allocations: 3.362 MB / 0.5948 GB, free: 80.32 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003454/0.7057, allocations: 0.9576 MB / 0.5957 GB, free: 79.38 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01149/0.7173, allocations: 8.405 MB / 0.6039 GB, free: 71.02 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002219/0.7195, allocations: 3.091 MB / 0.607 GB, free: 67.89 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007033/0.7202, allocations: 175.4 kB / 0.6071 GB, free: 67.72 MB / 462.1 MB Notification: Performance of SimCode: time 7.82e-07/0.7202, allocations: 0 / 0.6071 GB, free: 67.72 MB / 462.1 MB Notification: Performance of Templates: time 0.3818/1.102, allocations: 262 MB / 0.863 GB, free: 62.05 MB / 0.5137 GB 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","/var/lib/jenkins1/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