Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001886/0.001886, allocations: 181.5 kB / 17.41 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.965/2.965, allocations: 205.4 MB / 223.6 MB, free: 8.938 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001314/0.001314, allocations: 87.34 kB / 271.9 MB, free: 8.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004932/0.0004935, allocations: 12 kB / 328.2 MB, free: 15.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5133/0.5139, allocations: 47.57 MB / 375.7 MB, free: 45.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1964/0.7104, allocations: 92.06 MB / 467.8 MB, free: 4.527 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005092/0.711, allocations: 87.95 kB / 467.9 MB, free: 4.441 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8071/1.518, allocations: 116 MB / 0.5702 GB, free: 44.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.09e-06/1.518, allocations: 0 / 0.5702 GB, free: 44.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0007434/1.519, allocations: 115.8 kB / 0.5703 GB, free: 44.06 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.02244/1.541, allocations: 4.191 MB / 0.5744 GB, free: 39.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001084/1.542, allocations: 12.03 kB / 0.5744 GB, free: 39.78 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005824/1.547, allocations: 0.5576 MB / 0.575 GB, free: 39.22 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0137/1.561, allocations: 2.814 MB / 0.5777 GB, free: 36.33 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005287/1.562, allocations: 296.2 kB / 0.578 GB, free: 36.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002868/1.565, allocations: 388.3 kB / 0.5784 GB, free: 35.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02692/1.592, allocations: 5.695 MB / 0.5839 GB, free: 29.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001706/1.592, allocations: 8.172 kB / 0.5839 GB, free: 29.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001899/1.594, allocations: 167.9 kB / 0.5841 GB, free: 29.6 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003321/1.594, allocations: 208 kB / 0.5843 GB, free: 29.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01862/1.613, allocations: 4.661 MB / 0.5888 GB, free: 24.71 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05485/1.668, allocations: 16.45 MB / 0.6049 GB, free: 7.992 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0104/1.678, allocations: 6.784 MB / 0.6115 GB, free: 0.6523 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007208/1.686, allocations: 2.67 MB / 0.6141 GB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007111/1.686, allocations: 158.9 kB / 0.6143 GB, free: 13.81 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001005/1.687, allocations: 56.56 kB / 0.6143 GB, free: 13.75 MB / 394.7 MB Notification: Performance of pre-optimization done (n=249): time 9.488e-06/1.687, allocations: 0 / 0.6143 GB, free: 13.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=256): time 0.03698/1.724, allocations: 10.3 MB / 0.6244 GB, free: 3.227 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/1.724, allocations: 77.42 kB / 0.6245 GB, free: 3.137 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007721/1.732, allocations: 2.633 MB / 0.627 GB, free: 496 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008372/1.732, allocations: 69.7 kB / 0.6271 GB, free: 420 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002124/1.735, allocations: 1.632 MB / 0.6287 GB, free: 14.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001845/1.736, allocations: 0.8431 MB / 0.6295 GB, free: 13.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002335/1.737, allocations: 48 kB / 0.6296 GB, free: 13.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003123/1.737, allocations: 402.7 kB / 0.63 GB, free: 13.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00357/1.741, allocations: 1.312 MB / 0.6312 GB, free: 12.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003957/1.745, allocations: 1.628 MB / 0.6328 GB, free: 10.42 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008214/1.753, allocations: 3.023 MB / 0.6358 GB, free: 7.281 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.997e-05/1.753, allocations: 0 / 0.6358 GB, free: 7.281 MB / 410.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01434/1.767, allocations: 4.414 MB / 0.6401 GB, free: 2.785 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.027e-05/1.767, allocations: 8 kB / 0.6401 GB, free: 2.777 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-05/1.767, allocations: 8 kB / 0.6401 GB, free: 2.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005801/1.773, allocations: 1.401 MB / 0.6415 GB, free: 1.336 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003/1.776, allocations: 387.5 kB / 0.6418 GB, free: 0.957 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4873/2.264, allocations: 23.48 MB / 0.6648 GB, free: 63.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004209/2.268, allocations: 97.31 kB / 0.6649 GB, free: 63.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007467/2.269, allocations: 78.12 kB / 0.6649 GB, free: 63.99 MB / 410.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.005605/2.274, allocations: 1.409 MB / 0.6663 GB, free: 63.87 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001862/2.276, allocations: 299.2 kB / 0.6666 GB, free: 63.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01115/2.287, allocations: 4.17 MB / 0.6707 GB, free: 63.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.274e-05/2.288, allocations: 28.22 kB / 0.6707 GB, free: 63.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-05/2.288, allocations: 7.469 kB / 0.6707 GB, free: 63.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.586e-05/2.288, allocations: 11.3 kB / 0.6707 GB, free: 63.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02822/2.316, allocations: 8.894 MB / 0.6794 GB, free: 62.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.344e-05/2.316, allocations: 2.25 kB / 0.6794 GB, free: 62.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002287/2.318, allocations: 292 kB / 0.6797 GB, free: 62.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00665/2.325, allocations: 1.384 MB / 0.681 GB, free: 62.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007252/2.326, allocations: 66.95 kB / 0.6811 GB, free: 62.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03419/2.36, allocations: 23.23 MB / 0.7038 GB, free: 46.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.637e-06/2.36, allocations: 5.203 kB / 0.7038 GB, free: 46.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01561/2.376, allocations: 6.044 MB / 0.7097 GB, free: 44.03 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00339/2.379, allocations: 0.6834 MB / 0.7104 GB, free: 43.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001443/2.381, allocations: 53.08 kB / 0.7104 GB, free: 43.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00345/2.384, allocations: 130.8 kB / 0.7105 GB, free: 43.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000967/2.385, allocations: 218.7 kB / 0.7107 GB, free: 43.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002872/2.386, allocations: 66.88 kB / 0.7108 GB, free: 43.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005327/2.391, allocations: 1.839 MB / 0.7126 GB, free: 42.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.124e-06/2.391, allocations: 0 / 0.7126 GB, free: 42.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00899/2.4, allocations: 0.9727 MB / 0.7136 GB, free: 42.7 MB / 410.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.00118/2.401, allocations: 251.9 kB / 0.7138 GB, free: 42.58 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01122/2.412, allocations: 4.843 MB / 0.7185 GB, free: 40.08 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.747e-05/2.413, allocations: 3.969 kB / 0.7185 GB, free: 40.08 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008915/2.421, allocations: 3.342 MB / 0.7218 GB, free: 38.13 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01007/2.432, allocations: 0.9145 MB / 0.7227 GB, free: 37.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0289/2.461, allocations: 9.852 MB / 0.7323 GB, free: 32.94 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00551/2.466, allocations: 3.092 MB / 0.7353 GB, free: 31.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001327/2.468, allocations: 171.6 kB / 0.7355 GB, free: 31.66 MB / 410.7 MB Notification: Performance of SimCode: time 1.522e-06/2.468, allocations: 0 / 0.7355 GB, free: 31.66 MB / 410.7 MB Notification: Performance of Templates: time 1.393/3.861, allocations: 260.8 MB / 0.9902 GB, free: 133.5 MB / 474.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches