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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00165/0.001651, allocations: 180.1 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.63/1.63, allocations: 223.2 MB / 240.3 MB, free: 10.17 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009397/0.0009395, allocations: 91.77 kB / 291.5 MB, free: 10.72 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002667/0.0002665, allocations: 7.938 kB / 351.1 MB, free: 15.11 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2924, allocations: 50.4 MB / 401.5 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1427/0.4352, allocations: 92.66 MB / 494.2 MB, free: 3.797 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/0.4355, allocations: 89.53 kB / 494.2 MB, free: 3.711 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4444/0.88, allocations: 116.5 MB / 0.5964 GB, free: 14.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.88, allocations: 0 / 0.5964 GB, free: 14.59 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000499/0.8805, allocations: 111.8 kB / 0.5965 GB, free: 14.48 MB / 378.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.01278/0.8933, allocations: 4.288 MB / 0.6007 GB, free: 10.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.8934, allocations: 12.03 kB / 0.6007 GB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003027/0.8964, allocations: 0.549 MB / 0.6013 GB, free: 9.559 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007546/0.904, allocations: 2.733 MB / 0.6039 GB, free: 6.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002619/0.9043, allocations: 291.8 kB / 0.6042 GB, free: 6.465 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001542/0.9059, allocations: 392.3 kB / 0.6046 GB, free: 6.082 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01334/0.9192, allocations: 5.628 MB / 0.6101 GB, free: 264 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001432/0.9194, allocations: 4 kB / 0.6101 GB, free: 260 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00114/0.9206, allocations: 164 kB / 0.6102 GB, free: 96 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002874/0.9209, allocations: 211.9 kB / 0.6104 GB, free: 15.88 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01029/0.9312, allocations: 4.634 MB / 0.615 GB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03791/0.9691, allocations: 16.42 MB / 0.631 GB, free: 10.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008652/0.9778, allocations: 6.783 MB / 0.6376 GB, free: 3.191 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004794/0.9784, allocations: 155 kB / 0.6378 GB, free: 3.023 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.976e-05/0.9785, allocations: 60.5 kB / 0.6378 GB, free: 2.957 MB / 410.7 MB Notification: Performance of pre-optimization done (n=249): time 5.521e-06/0.9785, allocations: 0 / 0.6378 GB, free: 2.957 MB / 410.7 MB Notification: Performance of matching and sorting (n=256): time 0.02362/1.002, allocations: 10.68 MB / 0.6483 GB, free: 8.004 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.501e-05/1.002, allocations: 85.41 kB / 0.6483 GB, free: 7.906 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005629/1.008, allocations: 2.351 MB / 0.6506 GB, free: 5.539 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006011/1.009, allocations: 77.64 kB / 0.6507 GB, free: 5.457 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001775/1.01, allocations: 1.628 MB / 0.6523 GB, free: 3.809 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001459/1.012, allocations: 0.8432 MB / 0.6531 GB, free: 2.953 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002063/1.012, allocations: 48 kB / 0.6532 GB, free: 2.906 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002251/1.012, allocations: 398.7 kB / 0.6536 GB, free: 2.512 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002167/1.014, allocations: 1.34 MB / 0.6549 GB, free: 1.168 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002248/1.017, allocations: 1.629 MB / 0.6565 GB, free: 15.45 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002179/1.019, allocations: 1.565 MB / 0.658 GB, free: 13.86 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/1.019, allocations: 4 kB / 0.658 GB, free: 13.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.007576/1.026, allocations: 4.449 MB / 0.6623 GB, free: 9.324 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.146e-05/1.027, allocations: 4 kB / 0.6623 GB, free: 9.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.082e-05/1.027, allocations: 8 kB / 0.6623 GB, free: 9.312 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003503/1.03, allocations: 1.414 MB / 0.6637 GB, free: 7.867 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001622/1.032, allocations: 391.5 kB / 0.6641 GB, free: 7.484 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3366/1.368, allocations: 23.88 MB / 0.6874 GB, free: 74.67 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002448/1.371, allocations: 97.89 kB / 0.6875 GB, free: 74.67 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002209/1.371, allocations: 80.09 kB / 0.6876 GB, free: 74.67 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (196): * Single equations (assignments): 186 * 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.002552/1.374, allocations: 1.409 MB / 0.689 GB, free: 74.55 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008736/1.374, allocations: 297.2 kB / 0.6893 GB, free: 74.55 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005895/1.38, allocations: 4.196 MB / 0.6934 GB, free: 74.27 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.744e-05/1.38, allocations: 29.22 kB / 0.6934 GB, free: 74.27 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/1.38, allocations: 7.25 kB / 0.6934 GB, free: 74.27 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.543e-05/1.381, allocations: 11.95 kB / 0.6934 GB, free: 74.27 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01471/1.395, allocations: 8.937 MB / 0.7021 GB, free: 73.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.248e-06/1.395, allocations: 0 / 0.7021 GB, free: 73.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001226/1.397, allocations: 298.6 kB / 0.7024 GB, free: 73.65 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002969/1.399, allocations: 1.384 MB / 0.7038 GB, free: 73.57 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001727/1.4, allocations: 61.17 kB / 0.7038 GB, free: 73.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01981/1.42, allocations: 23.65 MB / 0.7269 GB, free: 59.6 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/1.42, allocations: 0 / 0.7269 GB, free: 59.6 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008425/1.428, allocations: 6.152 MB / 0.7329 GB, free: 57.02 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001865/1.43, allocations: 0.685 MB / 0.7336 GB, free: 56.61 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000357/1.43, allocations: 61.8 kB / 0.7337 GB, free: 56.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001269/1.432, allocations: 131.3 kB / 0.7338 GB, free: 56.54 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004864/1.432, allocations: 214.4 kB / 0.734 GB, free: 56.51 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001351/1.432, allocations: 72.38 kB / 0.7341 GB, free: 56.49 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002393/1.435, allocations: 1.838 MB / 0.7358 GB, free: 55.79 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.61e-07/1.435, allocations: 2.688 kB / 0.7359 GB, free: 55.79 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003413/1.438, allocations: 0.9698 MB / 0.7368 GB, free: 55.7 MB / 442.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.0004962/1.439, allocations: 254.7 kB / 0.737 GB, free: 55.57 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005952/1.444, allocations: 4.88 MB / 0.7418 GB, free: 53.06 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/1.445, allocations: 6.719 kB / 0.7418 GB, free: 53.06 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003879/1.448, allocations: 3.378 MB / 0.7451 GB, free: 51.09 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004137/1.453, allocations: 0.8924 MB / 0.746 GB, free: 50.88 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01457/1.467, allocations: 9.947 MB / 0.7557 GB, free: 46 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002891/1.47, allocations: 3.256 MB / 0.7589 GB, free: 44.73 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002523/1.473, allocations: 0.5686 MB / 0.7594 GB, free: 44.68 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004547/1.473, allocations: 155.1 kB / 0.7596 GB, free: 44.68 MB / 442.7 MB Notification: Performance of SimCode: time 2.144e-06/1.473, allocations: 0 / 0.7596 GB, free: 44.68 MB / 442.7 MB Notification: Performance of Templates: time 0.08564/1.559, allocations: 58.26 MB / 0.8165 GB, free: 4.344 MB / 442.7 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","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches