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.001503/0.001503, allocations: 186.6 kB / 13.65 MB, free: 1.672 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.415/1.415, allocations: 194.3 MB / 208.4 MB, free: 6.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001546/0.001547, allocations: 118.2 kB / 253.5 MB, free: 9.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.676e-05/2.688e-05, allocations: 4 kB / 304.9 MB, free: 29.79 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07737/0.07741, allocations: 44.51 MB / 349.5 MB, free: 1.266 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.29/0.3675, allocations: 85.98 MB / 435.4 MB, free: 8.016 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002219/0.3677, allocations: 86.78 kB / 435.5 MB, free: 8 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.149/0.5168, allocations: 64.03 MB / 499.6 MB, free: 308 kB / 346.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.5168, allocations: 0 / 499.6 MB, free: 308 kB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001466/0.517, allocations: 67.86 kB / 499.6 MB, free: 240 kB / 346.7 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.003838/0.5208, allocations: 2.244 MB / 0.4901 GB, free: 13.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.5209, allocations: 12.03 kB / 0.4901 GB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007454/0.5216, allocations: 312.6 kB / 0.4904 GB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002587/0.5242, allocations: 1.572 MB / 0.4919 GB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/0.5243, allocations: 164.4 kB / 0.4921 GB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003052/0.5246, allocations: 212 kB / 0.4923 GB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004458/0.5291, allocations: 3.047 MB / 0.4953 GB, free: 8.418 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.419e-05/0.5291, allocations: 3.938 kB / 0.4953 GB, free: 8.414 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002148/0.5294, allocations: 99.98 kB / 0.4954 GB, free: 8.316 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001124/0.5295, allocations: 116.4 kB / 0.4955 GB, free: 8.199 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003599/0.5331, allocations: 2.462 MB / 0.4979 GB, free: 5.723 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01205/0.5452, allocations: 8.904 MB / 0.5066 GB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00299/0.5482, allocations: 3.314 MB / 0.5098 GB, free: 9.012 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00176/0.55, allocations: 1.308 MB / 0.5111 GB, free: 7.699 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000287/0.5503, allocations: 138.4 kB / 0.5112 GB, free: 7.547 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/0.5503, allocations: 59.81 kB / 0.5113 GB, free: 7.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=128): time 3.837e-06/0.5503, allocations: 0 / 0.5113 GB, free: 7.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=132): time 0.006958/0.5573, allocations: 4.081 MB / 0.5153 GB, free: 3.332 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.5574, allocations: 68.72 kB / 0.5153 GB, free: 3.254 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001891/0.5593, allocations: 1.322 MB / 0.5166 GB, free: 1.918 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.965e-05/0.5594, allocations: 45.7 kB / 0.5167 GB, free: 1.867 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005989/0.56, allocations: 0.9448 MB / 0.5176 GB, free: 0.9102 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003137/0.5603, allocations: 445.6 kB / 0.518 GB, free: 480 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.134e-05/0.5604, allocations: 20 kB / 0.518 GB, free: 460 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.5605, allocations: 361.9 kB / 0.5184 GB, free: 92 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008879/0.5614, allocations: 0.6469 MB / 0.519 GB, free: 15.44 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009996/0.5624, allocations: 0.8204 MB / 0.5198 GB, free: 14.57 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.5634, allocations: 0.77 MB / 0.5206 GB, free: 13.81 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.5634, allocations: 8 kB / 0.5206 GB, free: 13.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.00334/0.5668, allocations: 2.228 MB / 0.5228 GB, free: 11.55 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.5668, allocations: 8 kB / 0.5228 GB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/0.5668, allocations: 4 kB / 0.5228 GB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001627/0.5685, allocations: 0.6903 MB / 0.5234 GB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007669/0.5693, allocations: 207.7 kB / 0.5236 GB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01065/0.5799, allocations: 10.48 MB / 0.5339 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001297/0.5813, allocations: 56.02 kB / 0.5339 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/0.5814, allocations: 40 kB / 0.534 GB, free: 15.51 MB / 410.7 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.0003157/0.5817, allocations: 178.1 kB / 0.5341 GB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000265/0.582, allocations: 158.1 kB / 0.5343 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003478/0.5855, allocations: 2.11 MB / 0.5364 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.42e-05/0.5855, allocations: 12 kB / 0.5364 GB, free: 13.03 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.5855, allocations: 12.06 kB / 0.5364 GB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/0.5855, allocations: 7.969 kB / 0.5364 GB, free: 13.01 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007328/0.5929, allocations: 4.668 MB / 0.5409 GB, free: 8.246 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.5929, allocations: 0 / 0.5409 GB, free: 8.246 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006963/0.5936, allocations: 159.9 kB / 0.5411 GB, free: 8.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001611/0.5952, allocations: 0.6871 MB / 0.5418 GB, free: 7.391 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.916e-05/0.5953, allocations: 27.98 kB / 0.5418 GB, free: 7.363 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1898/0.7851, allocations: 10.36 MB / 0.5519 GB, free: 100 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.7851, allocations: 4.672 kB / 0.5519 GB, free: 100 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004107/0.7893, allocations: 3.181 MB / 0.555 GB, free: 99.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008452/0.7901, allocations: 412.8 kB / 0.5554 GB, free: 99.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001821/0.7903, allocations: 32.72 kB / 0.5554 GB, free: 99.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007572/0.7911, allocations: 71.25 kB / 0.5555 GB, free: 99.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002651/0.7914, allocations: 119.4 kB / 0.5556 GB, free: 99.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.042e-05/0.7914, allocations: 36.8 kB / 0.5557 GB, free: 99.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001266/0.7927, allocations: 1.037 MB / 0.5567 GB, free: 99.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7927, allocations: 3.375 kB / 0.5567 GB, free: 99.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001549/0.7943, allocations: 0.5225 MB / 0.5572 GB, free: 99.5 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (79): * Single equations (assignments): 75 * 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.0003276/0.7946, allocations: 194.8 kB / 0.5574 GB, free: 99.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002807/0.7974, allocations: 2.318 MB / 0.5596 GB, free: 98.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.7974, allocations: 3.375 kB / 0.5596 GB, free: 98.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001996/0.7995, allocations: 1.582 MB / 0.5612 GB, free: 98.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001794/0.8013, allocations: 489.5 kB / 0.5617 GB, free: 98.42 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006048/0.8073, allocations: 3.748 MB / 0.5653 GB, free: 97.65 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001538/0.8089, allocations: 2.078 MB / 0.5673 GB, free: 96.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001026/0.8099, allocations: 307.5 kB / 0.5676 GB, free: 96.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002449/0.8102, allocations: 99.17 kB / 0.5677 GB, free: 96.89 MB / 410.7 MB Notification: Performance of SimCode: time 6.01e-07/0.8102, allocations: 2.875 kB / 0.5677 GB, free: 96.89 MB / 410.7 MB Notification: Performance of Templates: time 0.03989/0.8501, allocations: 30.78 MB / 0.5978 GB, free: 95.46 MB / 410.7 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)