Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001276/0.001276, allocations: 187.8 kB / 8.351 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.295/1.295, allocations: 194.3 MB / 203.1 MB, free: 9.254 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001598/0.001598, allocations: 116.8 kB / 248.1 MB, free: 6.371 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.091e-05/1.101e-05, allocations: 0 / 298.1 MB, free: 8.242 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07225/0.07228, allocations: 44.5 MB / 342.6 MB, free: 11.63 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2515/0.3238, allocations: 85.32 MB / 427.9 MB, free: 10.61 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001893/0.3241, allocations: 82.45 kB / 428 MB, free: 10.57 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.154/0.4781, allocations: 63.26 MB / 491.2 MB, free: 2.539 MB / 363.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.4781, allocations: 0 / 491.2 MB, free: 2.539 MB / 363.1 MB Notification: Performance of Transformations before backend: time 0.0002278/0.4784, allocations: 63.94 kB / 491.3 MB, free: 2.477 MB / 363.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.005881/0.4843, allocations: 2.259 MB / 493.6 MB, free: 164 kB / 363.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.4843, allocations: 12.03 kB / 493.6 MB, free: 152 kB / 363.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001336/0.4857, allocations: 312.6 kB / 493.9 MB, free: 15.84 MB / 379.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003605/0.4893, allocations: 1.568 MB / 495.4 MB, free: 14.21 MB / 379.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/0.4894, allocations: 72 kB / 495.5 MB, free: 14.14 MB / 379.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006074/0.49, allocations: 128 kB / 495.6 MB, free: 14.02 MB / 379.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004955/0.495, allocations: 2.313 MB / 497.9 MB, free: 11.7 MB / 379.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006095/0.5011, allocations: 2.726 MB / 0.4889 GB, free: 8.832 MB / 379.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.27e-05/0.5012, allocations: 11.98 kB / 0.489 GB, free: 8.82 MB / 379.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003253/0.5015, allocations: 3.953 kB / 0.489 GB, free: 8.816 MB / 379.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001254/0.5017, allocations: 112.4 kB / 0.4891 GB, free: 8.703 MB / 379.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01596/0.5176, allocations: 8.449 MB / 0.4973 GB, free: 104 kB / 379.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003262/0.521, allocations: 3.267 MB / 0.5005 GB, free: 12.52 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00175/0.5227, allocations: 1.218 MB / 0.5017 GB, free: 11.3 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002907/0.523, allocations: 130.4 kB / 0.5018 GB, free: 11.16 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.378e-05/0.5231, allocations: 55.88 kB / 0.5019 GB, free: 11.1 MB / 395.1 MB Notification: Performance of pre-optimization done (n=128): time 3.737e-06/0.5231, allocations: 0 / 0.5019 GB, free: 11.1 MB / 395.1 MB Notification: Performance of matching and sorting (n=132): time 0.007267/0.5304, allocations: 3.865 MB / 0.5056 GB, free: 7.168 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.5305, allocations: 68.72 kB / 0.5057 GB, free: 7.09 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001945/0.5324, allocations: 1.057 MB / 0.5067 GB, free: 6.02 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 8.498e-05/0.5325, allocations: 25.7 kB / 0.5068 GB, free: 5.988 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006888/0.5332, allocations: 0.9552 MB / 0.5077 GB, free: 5.02 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000335/0.5336, allocations: 425.6 kB / 0.5081 GB, free: 4.598 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.711e-05/0.5336, allocations: 0 / 0.5081 GB, free: 4.598 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.5338, allocations: 357.9 kB / 0.5084 GB, free: 4.242 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009025/0.5347, allocations: 0.6351 MB / 0.5091 GB, free: 3.605 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009809/0.5357, allocations: 0.7816 MB / 0.5098 GB, free: 2.777 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.5368, allocations: 0.7518 MB / 0.5106 GB, free: 2.027 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.5368, allocations: 4 kB / 0.5106 GB, free: 2.023 MB / 395.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.1815/0.7183, allocations: 2.095 MB / 0.5126 GB, free: 79.13 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/0.7184, allocations: 6.031 kB / 0.5126 GB, free: 79.13 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/0.7184, allocations: 9.594 kB / 0.5126 GB, free: 79.13 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001682/0.7201, allocations: 0.6862 MB / 0.5133 GB, free: 79.09 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009452/0.7211, allocations: 198.9 kB / 0.5135 GB, free: 79.09 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008756/0.7298, allocations: 10.11 MB / 0.5234 GB, free: 74.06 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/0.7309, allocations: 33.09 kB / 0.5234 GB, free: 74.06 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.152e-05/0.731, allocations: 46.91 kB / 0.5234 GB, free: 74.06 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 99 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.000221/0.7313, allocations: 132.7 kB / 0.5236 GB, free: 73.95 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002111/0.7315, allocations: 137.7 kB / 0.5237 GB, free: 73.95 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002635/0.7341, allocations: 1.971 MB / 0.5256 GB, free: 73.83 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.7341, allocations: 14.19 kB / 0.5256 GB, free: 73.83 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.7342, allocations: 12.73 kB / 0.5257 GB, free: 73.83 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.7342, allocations: 6.703 kB / 0.5257 GB, free: 73.83 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005411/0.7396, allocations: 4.235 MB / 0.5298 GB, free: 73.42 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/0.7396, allocations: 1.125 kB / 0.5298 GB, free: 73.42 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00063/0.7402, allocations: 165.7 kB / 0.53 GB, free: 73.42 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001357/0.7416, allocations: 0.6737 MB / 0.5306 GB, free: 73.39 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.905e-05/0.7417, allocations: 16.91 kB / 0.5306 GB, free: 73.39 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008042/0.7497, allocations: 10.02 MB / 0.5404 GB, free: 68.27 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.7498, allocations: 3.094 kB / 0.5404 GB, free: 68.27 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003449/0.7532, allocations: 3.004 MB / 0.5433 GB, free: 67.93 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006263/0.7539, allocations: 381 kB / 0.5437 GB, free: 67.77 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001686/0.7541, allocations: 5.938 kB / 0.5437 GB, free: 67.77 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006962/0.7548, allocations: 53.41 kB / 0.5438 GB, free: 67.77 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002139/0.755, allocations: 111.9 kB / 0.5439 GB, free: 67.76 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.392e-05/0.7551, allocations: 37.33 kB / 0.5439 GB, free: 67.76 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0009465/0.756, allocations: 0.8169 MB / 0.5447 GB, free: 67.65 MB / 395.1 MB Notification: Performance of sort global known variables: time 6.81e-07/0.756, allocations: 0 / 0.5447 GB, free: 67.65 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.001631/0.7577, allocations: 481.8 kB / 0.5452 GB, free: 67.65 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i) * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 74 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003165/0.758, allocations: 186.6 kB / 0.5453 GB, free: 67.57 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.002629/0.7606, allocations: 2.229 MB / 0.5475 GB, free: 67.08 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.7607, allocations: 0 / 0.5475 GB, free: 67.08 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001736/0.7624, allocations: 1.521 MB / 0.549 GB, free: 66.61 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001741/0.7642, allocations: 336 kB / 0.5493 GB, free: 66.6 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007359/0.7715, allocations: 3.628 MB / 0.5529 GB, free: 65.83 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002311/0.7739, allocations: 2.084 MB / 0.5549 GB, free: 65.09 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 0.001137/0.775, allocations: 273.6 kB / 0.5552 GB, free: 65.07 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003747/0.7754, allocations: 84.69 kB / 0.5552 GB, free: 65.07 MB / 395.1 MB Notification: Performance of SimCode: time 9.01e-07/0.7754, allocations: 0 / 0.5552 GB, free: 65.07 MB / 395.1 MB Notification: Performance of Templates: time 0.04335/0.8188, allocations: 24.25 MB / 0.5789 GB, free: 63.89 MB / 395.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1)