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.001469/0.001469, allocations: 174.3 kB / 8.349 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 221.5 MB / 230.3 MB, free: 7.531 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009838/0.0009838, allocations: 90.06 kB / 281.2 MB, free: 5.281 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.321e-05/1.323e-05, allocations: 4 kB / 337 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09133/0.09136, allocations: 50.43 MB / 387.5 MB, free: 7.566 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3017/0.3932, allocations: 91.93 MB / 479.4 MB, free: 2.898 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/0.3935, allocations: 79.95 kB / 479.5 MB, free: 2.82 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4787/0.8722, allocations: 115.5 MB / 0.581 GB, free: 84.1 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.8723, allocations: 4 kB / 0.581 GB, free: 84.1 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003829/0.8727, allocations: 112.5 kB / 0.5811 GB, free: 84.09 MB / 426.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.009487/0.8822, allocations: 3.851 MB / 0.5849 GB, free: 82.57 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.8822, allocations: 10.91 kB / 0.5849 GB, free: 82.57 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002587/0.8848, allocations: 0.5535 MB / 0.5854 GB, free: 82.32 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006042/0.8909, allocations: 2.716 MB / 0.5881 GB, free: 81.73 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001639/0.8911, allocations: 126.7 kB / 0.5882 GB, free: 81.73 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001172/0.8923, allocations: 227.8 kB / 0.5884 GB, free: 81.73 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008098/0.9004, allocations: 4.267 MB / 0.5926 GB, free: 81.71 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01025/0.9107, allocations: 4.975 MB / 0.5974 GB, free: 81.1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.393e-05/0.9108, allocations: 3.094 kB / 0.5974 GB, free: 81.1 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007269/0.9115, allocations: 7.281 kB / 0.5974 GB, free: 81.1 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000181/0.9117, allocations: 200.2 kB / 0.5976 GB, free: 81.08 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02491/0.9366, allocations: 15.61 MB / 0.6129 GB, free: 73.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005036/0.9417, allocations: 6.61 MB / 0.6193 GB, free: 68.64 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002654/0.9444, allocations: 2.418 MB / 0.6217 GB, free: 67.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000324/0.9448, allocations: 151.8 kB / 0.6218 GB, free: 67.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.9448, allocations: 63.22 kB / 0.6219 GB, free: 67.64 MB / 426.7 MB Notification: Performance of pre-optimization done (n=249): time 4.288e-06/0.9448, allocations: 0 / 0.6219 GB, free: 67.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=256): time 0.01176/0.9566, allocations: 7.289 MB / 0.629 GB, free: 64.44 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.9567, allocations: 75.3 kB / 0.6291 GB, free: 64.37 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002913/0.9596, allocations: 1.811 MB / 0.6309 GB, free: 63.64 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001953/0.9598, allocations: 32.42 kB / 0.6309 GB, free: 63.61 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007996/0.9606, allocations: 1.654 MB / 0.6325 GB, free: 62.36 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005223/0.9611, allocations: 0.8035 MB / 0.6333 GB, free: 61.72 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.9613, allocations: 0 / 0.6333 GB, free: 61.72 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.9614, allocations: 401.7 kB / 0.6337 GB, free: 61.38 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001372/0.9628, allocations: 1.234 MB / 0.6349 GB, free: 60.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001577/0.9644, allocations: 1.515 MB / 0.6364 GB, free: 60.14 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001822/0.9662, allocations: 1.468 MB / 0.6378 GB, free: 59.56 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/0.9662, allocations: 3.562 kB / 0.6378 GB, free: 59.56 MB / 426.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.005739/0.972, allocations: 4.065 MB / 0.6418 GB, free: 56.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.972, allocations: 11.8 kB / 0.6418 GB, free: 56.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/0.972, allocations: 8 kB / 0.6418 GB, free: 56.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002795/0.9748, allocations: 1.381 MB / 0.6431 GB, free: 55.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001478/0.9763, allocations: 396.7 kB / 0.6435 GB, free: 54.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.017/0.9933, allocations: 22.56 MB / 0.6655 GB, free: 33.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001954/0.9953, allocations: 46.42 kB / 0.6656 GB, free: 33.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003923/0.9957, allocations: 87.62 kB / 0.6657 GB, free: 32.99 MB / 426.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 () * 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.0005276/0.9963, allocations: 148.9 kB / 0.6658 GB, free: 32.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006698/0.9969, allocations: 264.7 kB / 0.6661 GB, free: 32.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005682/1.003, allocations: 3.805 MB / 0.6698 GB, free: 29.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.534e-05/1.003, allocations: 24 kB / 0.6698 GB, free: 29.32 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-05/1.003, allocations: 8 kB / 0.6698 GB, free: 29.31 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.945e-05/1.003, allocations: 14.08 kB / 0.6698 GB, free: 29.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0124/1.015, allocations: 8.043 MB / 0.6777 GB, free: 21.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/1.015, allocations: 4 kB / 0.6777 GB, free: 21.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001141/1.016, allocations: 299.6 kB / 0.678 GB, free: 21.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002758/1.019, allocations: 1.351 MB / 0.6793 GB, free: 20.28 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001556/1.019, allocations: 27.66 kB / 0.6793 GB, free: 20.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01725/1.037, allocations: 22.39 MB / 0.7012 GB, free: 12.74 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/1.037, allocations: 0 / 0.7012 GB, free: 12.74 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009187/1.046, allocations: 5.732 MB / 0.7068 GB, free: 6.879 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001634/1.047, allocations: 0.6307 MB / 0.7074 GB, free: 6.227 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007134/1.048, allocations: 15.98 kB / 0.7074 GB, free: 6.211 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001718/1.05, allocations: 83.91 kB / 0.7075 GB, free: 6.129 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005066/1.05, allocations: 217.6 kB / 0.7077 GB, free: 5.914 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001858/1.051, allocations: 67.98 kB / 0.7078 GB, free: 5.848 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002547/1.053, allocations: 1.39 MB / 0.7091 GB, free: 4.438 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.21e-07/1.053, allocations: 0 / 0.7091 GB, free: 4.438 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004172/1.057, allocations: 0.8671 MB / 0.71 GB, free: 3.57 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 () * 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.0005471/1.058, allocations: 241.3 kB / 0.7102 GB, free: 3.344 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.2267/1.285, allocations: 4.543 MB / 0.7146 GB, free: 86.66 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/1.285, allocations: 3.094 kB / 0.7146 GB, free: 86.66 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004515/1.289, allocations: 3.138 MB / 0.7177 GB, free: 85.58 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004053/1.293, allocations: 0.6117 MB / 0.7183 GB, free: 85.57 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0139/1.307, allocations: 6.818 MB / 0.725 GB, free: 84.25 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004025/1.311, allocations: 3.245 MB / 0.7281 GB, free: 83.47 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002196/1.314, allocations: 0.5096 MB / 0.7286 GB, free: 83.44 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004587/1.314, allocations: 140.3 kB / 0.7288 GB, free: 83.44 MB / 442.7 MB Notification: Performance of SimCode: time 1.032e-06/1.314, allocations: 0.7812 kB / 0.7288 GB, free: 83.44 MB / 442.7 MB Notification: Performance of Templates: time 0.06712/1.381, allocations: 46.1 MB / 0.7738 GB, free: 81.14 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