Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009907/0.0009907, allocations: 198.6 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.239/1.239, allocations: 227.2 MB / 245 MB, free: 7.645 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009929/0.0009933, allocations: 93.55 kB / 297.3 MB, free: 6.211 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002282/0.0002282, allocations: 8 kB / 357.9 MB, free: 9.547 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2347, allocations: 51.48 MB / 409.4 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1047/0.3394, allocations: 93.47 MB / 0.4911 GB, free: 13.13 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/0.3397, allocations: 88.7 kB / 0.4912 GB, free: 13.04 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3987/0.7384, allocations: 116.5 MB / 0.605 GB, free: 3.957 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.7384, allocations: 0 / 0.605 GB, free: 3.957 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002766/0.7387, allocations: 111.9 kB / 0.6051 GB, free: 3.848 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.009443/0.7481, allocations: 4.292 MB / 0.6092 GB, free: 15.48 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.7482, allocations: 12.03 kB / 0.6093 GB, free: 15.47 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002061/0.7503, allocations: 0.596 MB / 0.6098 GB, free: 14.87 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005368/0.7556, allocations: 2.729 MB / 0.6125 GB, free: 12.06 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001872/0.7558, allocations: 291.8 kB / 0.6128 GB, free: 11.78 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005522/0.7564, allocations: 380 kB / 0.6131 GB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008408/0.7648, allocations: 5.635 MB / 0.6187 GB, free: 5.574 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.117e-05/0.7649, allocations: 7.922 kB / 0.6187 GB, free: 5.566 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003687/0.7653, allocations: 172 kB / 0.6188 GB, free: 5.398 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001889/0.7655, allocations: 204 kB / 0.619 GB, free: 5.195 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007247/0.7727, allocations: 4.638 MB / 0.6235 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02436/0.7971, allocations: 16.42 MB / 0.6396 GB, free: 15.85 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006545/0.8037, allocations: 6.787 MB / 0.6462 GB, free: 8.492 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003675/0.8041, allocations: 147 kB / 0.6464 GB, free: 8.332 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.796e-05/0.8041, allocations: 64.55 kB / 0.6464 GB, free: 8.262 MB / 426.7 MB Notification: Performance of pre-optimization done (n=249): time 4.599e-06/0.8042, allocations: 4 kB / 0.6464 GB, free: 8.258 MB / 426.7 MB Notification: Performance of matching and sorting (n=256): time 0.01884/0.823, allocations: 10.68 MB / 0.6568 GB, free: 13.31 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.8231, allocations: 77.42 kB / 0.6569 GB, free: 13.22 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003341/0.8264, allocations: 2.351 MB / 0.6592 GB, free: 10.85 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001654/0.8266, allocations: 69.7 kB / 0.6593 GB, free: 10.78 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001083/0.8277, allocations: 1.644 MB / 0.6609 GB, free: 9.113 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006136/0.8283, allocations: 0.8316 MB / 0.6617 GB, free: 8.27 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.8285, allocations: 55.94 kB / 0.6618 GB, free: 8.215 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.8286, allocations: 402.7 kB / 0.6621 GB, free: 7.816 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001823/0.8305, allocations: 1.34 MB / 0.6634 GB, free: 6.473 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00199/0.8325, allocations: 1.625 MB / 0.665 GB, free: 4.758 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002068/0.8345, allocations: 1.569 MB / 0.6666 GB, free: 3.168 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.8346, allocations: 7.938 kB / 0.6666 GB, free: 3.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.2077/1.042, allocations: 4.441 MB / 0.6709 GB, free: 76.27 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.385e-05/1.042, allocations: 7.688 kB / 0.6709 GB, free: 76.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/1.042, allocations: 3.375 kB / 0.6709 GB, free: 76.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003083/1.045, allocations: 1.409 MB / 0.6723 GB, free: 76.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001688/1.047, allocations: 388.8 kB / 0.6727 GB, free: 76.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01915/1.066, allocations: 23.89 MB / 0.696 GB, free: 62.94 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002052/1.068, allocations: 102.8 kB / 0.6961 GB, free: 62.94 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002099/1.069, allocations: 77.44 kB / 0.6962 GB, free: 62.94 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.002252/1.071, allocations: 1.405 MB / 0.6975 GB, free: 62.82 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007349/1.072, allocations: 292 kB / 0.6978 GB, free: 62.82 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006164/1.078, allocations: 4.201 MB / 0.7019 GB, free: 62.55 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.679e-05/1.078, allocations: 21.88 kB / 0.7019 GB, free: 62.55 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/1.078, allocations: 10.56 kB / 0.702 GB, free: 62.55 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.082e-05/1.078, allocations: 13.12 kB / 0.702 GB, free: 62.55 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01284/1.091, allocations: 8.942 MB / 0.7107 GB, free: 61.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/1.091, allocations: 0 / 0.7107 GB, free: 61.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/1.092, allocations: 301.7 kB / 0.711 GB, free: 61.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002872/1.095, allocations: 1.372 MB / 0.7123 GB, free: 61.85 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001653/1.095, allocations: 66.59 kB / 0.7124 GB, free: 61.85 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01792/1.113, allocations: 23.67 MB / 0.7355 GB, free: 46.45 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/1.113, allocations: 3.953 kB / 0.7355 GB, free: 46.44 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007471/1.12, allocations: 6.147 MB / 0.7415 GB, free: 43.86 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00172/1.122, allocations: 0.6864 MB / 0.7422 GB, free: 43.45 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003201/1.122, allocations: 55.19 kB / 0.7422 GB, free: 43.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001217/1.124, allocations: 137.2 kB / 0.7424 GB, free: 43.38 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004452/1.124, allocations: 211.8 kB / 0.7426 GB, free: 43.35 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001323/1.124, allocations: 69.73 kB / 0.7426 GB, free: 43.33 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002285/1.127, allocations: 1.839 MB / 0.7444 GB, free: 42.63 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.127, allocations: 0 / 0.7444 GB, free: 42.63 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002917/1.13, allocations: 0.9736 MB / 0.7454 GB, free: 42.54 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.0004478/1.13, allocations: 252.5 kB / 0.7456 GB, free: 42.42 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00534/1.135, allocations: 4.885 MB / 0.7504 GB, free: 39.9 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/1.135, allocations: 6.75 kB / 0.7504 GB, free: 39.9 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003517/1.139, allocations: 3.368 MB / 0.7537 GB, free: 37.93 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0031/1.142, allocations: 0.8953 MB / 0.7546 GB, free: 37.72 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0126/1.155, allocations: 9.946 MB / 0.7643 GB, free: 32.81 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002409/1.157, allocations: 3.243 MB / 0.7674 GB, free: 31.55 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001932/1.159, allocations: 0.5701 MB / 0.768 GB, free: 31.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004098/1.159, allocations: 160 kB / 0.7682 GB, free: 31.5 MB / 442.7 MB Notification: Performance of SimCode: time 1.683e-06/1.159, allocations: 0 / 0.7682 GB, free: 31.5 MB / 442.7 MB Notification: Performance of Templates: time 0.07785/1.237, allocations: 58.26 MB / 0.825 GB, free: 5.504 MB / 458.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches