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.001541/0.001541, allocations: 181.3 kB / 13.66 MB, free: 1.664 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.051/2.051, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001054/0.001054, allocations: 82.72 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.021e-05/3.031e-05, allocations: 4 kB / 321.5 MB, free: 17.83 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09108/0.09113, allocations: 47.58 MB / 369.1 MB, free: 2.184 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4337/0.5249, allocations: 91.81 MB / 460.9 MB, free: 1.445 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003256/0.5253, allocations: 82.39 kB / 461 MB, free: 1.402 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8057/1.331, allocations: 116.5 MB / 0.564 GB, free: 77.97 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.676e-06/1.331, allocations: 0 / 0.564 GB, free: 77.97 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007615/1.332, allocations: 117 kB / 0.5641 GB, free: 77.95 MB / 410.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.02175/1.354, allocations: 3.816 MB / 0.5678 GB, free: 76.44 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.56e-05/1.354, allocations: 11.28 kB / 0.5678 GB, free: 76.44 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004878/1.359, allocations: 0.5549 MB / 0.5683 GB, free: 76.19 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01321/1.372, allocations: 2.712 MB / 0.571 GB, free: 75.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005813/1.373, allocations: 298.8 kB / 0.5713 GB, free: 75.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002666/1.375, allocations: 387.3 kB / 0.5716 GB, free: 75.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02588/1.401, allocations: 5.576 MB / 0.5771 GB, free: 74.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002044/1.402, allocations: 0 / 0.5771 GB, free: 74.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001898/1.403, allocations: 171.1 kB / 0.5773 GB, free: 74.98 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00041/1.404, allocations: 205.4 kB / 0.5775 GB, free: 74.97 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02093/1.425, allocations: 4.547 MB / 0.5819 GB, free: 74.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05533/1.48, allocations: 16.45 MB / 0.598 GB, free: 66.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01024/1.491, allocations: 6.72 MB / 0.6045 GB, free: 61.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00631/1.497, allocations: 2.618 MB / 0.6071 GB, free: 60.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006355/1.498, allocations: 155.9 kB / 0.6072 GB, free: 60.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.801e-05/1.498, allocations: 62.78 kB / 0.6073 GB, free: 60.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=249): time 6.552e-06/1.498, allocations: 3.797 kB / 0.6073 GB, free: 60.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=256): time 0.02367/1.521, allocations: 7.736 MB / 0.6148 GB, free: 57.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.831e-05/1.522, allocations: 79.11 kB / 0.6149 GB, free: 57.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006257/1.528, allocations: 2.333 MB / 0.6172 GB, free: 55.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006506/1.529, allocations: 77.7 kB / 0.6173 GB, free: 55.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001415/1.53, allocations: 1.497 MB / 0.6187 GB, free: 53.94 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001285/1.531, allocations: 0.8388 MB / 0.6195 GB, free: 53.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000249/1.532, allocations: 48 kB / 0.6196 GB, free: 53.13 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001945/1.532, allocations: 409.9 kB / 0.62 GB, free: 52.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003256/1.535, allocations: 1.283 MB / 0.6212 GB, free: 51.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003884/1.539, allocations: 1.573 MB / 0.6228 GB, free: 50.15 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003944/1.543, allocations: 1.528 MB / 0.6243 GB, free: 48.85 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-05/1.543, allocations: 0 / 0.6243 GB, free: 48.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01274/1.556, allocations: 4.137 MB / 0.6283 GB, free: 45.22 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.754e-05/1.556, allocations: 12 kB / 0.6283 GB, free: 45.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.526e-05/1.556, allocations: 7.75 kB / 0.6283 GB, free: 45.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006233/1.562, allocations: 1.401 MB / 0.6297 GB, free: 44.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003178/1.565, allocations: 389.6 kB / 0.6301 GB, free: 43.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03437/1.6, allocations: 23.41 MB / 0.6529 GB, free: 20.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003874/1.604, allocations: 94.34 kB / 0.653 GB, free: 20.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008019/1.605, allocations: 83.23 kB / 0.6531 GB, free: 20.78 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 () * 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.000679/1.605, allocations: 232.6 kB / 0.6533 GB, free: 20.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001132/1.607, allocations: 300.4 kB / 0.6536 GB, free: 20.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01144/1.618, allocations: 4.076 MB / 0.6576 GB, free: 16.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.223e-05/1.618, allocations: 28 kB / 0.6576 GB, free: 16.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.429e-05/1.618, allocations: 11.95 kB / 0.6576 GB, free: 16.69 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.354e-05/1.618, allocations: 11.11 kB / 0.6576 GB, free: 16.69 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02794/1.646, allocations: 8.813 MB / 0.6662 GB, free: 8.344 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.581e-05/1.646, allocations: 0 / 0.6662 GB, free: 8.344 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00266/1.649, allocations: 295.6 kB / 0.6665 GB, free: 8.055 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005901/1.655, allocations: 1.374 MB / 0.6679 GB, free: 6.652 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006731/1.656, allocations: 63.97 kB / 0.6679 GB, free: 6.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3829/2.039, allocations: 23.16 MB / 0.6905 GB, free: 80.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/2.039, allocations: 7.922 kB / 0.6905 GB, free: 80.25 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01864/2.057, allocations: 5.966 MB / 0.6964 GB, free: 79.85 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003095/2.06, allocations: 0.6799 MB / 0.697 GB, free: 79.76 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001352/2.062, allocations: 57.3 kB / 0.6971 GB, free: 79.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003832/2.066, allocations: 131.7 kB / 0.6972 GB, free: 79.76 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001325/2.067, allocations: 214.4 kB / 0.6974 GB, free: 79.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003612/2.068, allocations: 70.42 kB / 0.6975 GB, free: 79.75 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006185/2.074, allocations: 1.814 MB / 0.6993 GB, free: 79.59 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.21e-07/2.074, allocations: 0 / 0.6993 GB, free: 79.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006707/2.081, allocations: 0.9688 MB / 0.7002 GB, free: 79.59 MB / 426.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.001251/2.082, allocations: 261.2 kB / 0.7005 GB, free: 79.51 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01232/2.094, allocations: 4.733 MB / 0.7051 GB, free: 78.29 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.178e-05/2.094, allocations: 3.969 kB / 0.7051 GB, free: 78.29 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007854/2.102, allocations: 3.281 MB / 0.7083 GB, free: 77.11 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007827/2.11, allocations: 0.8969 MB / 0.7092 GB, free: 77.09 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02354/2.134, allocations: 6.96 MB / 0.716 GB, free: 75.75 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006293/2.14, allocations: 3.174 MB / 0.7191 GB, free: 74.96 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001318/2.141, allocations: 167.7 kB / 0.7192 GB, free: 74.96 MB / 426.7 MB Notification: Performance of SimCode: time 1.533e-06/2.141, allocations: 0 / 0.7192 GB, free: 74.96 MB / 426.7 MB Notification: Performance of Templates: time 0.7427/2.884, allocations: 248.3 MB / 0.9617 GB, free: 51.71 MB / 458.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