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.001233/0.001233, allocations: 179.2 kB / 16.38 MB, free: 5.766 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.14/1.14, allocations: 194.5 MB / 211.6 MB, free: 3.039 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.001605/0.001606, allocations: 108.1 kB / 256.9 MB, free: 4.359 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002959/0.0002959, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0845/0.08481, allocations: 44.49 MB / 355.1 MB, free: 2.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2338/0.3187, allocations: 86.07 MB / 441.1 MB, free: 3.582 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002064/0.3189, allocations: 87.08 kB / 441.2 MB, free: 3.535 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1463/0.4652, allocations: 63.81 MB / 0.4932 GB, free: 5.906 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.4653, allocations: 0 / 0.4932 GB, free: 5.906 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000137/0.4654, allocations: 67.92 kB / 0.4932 GB, free: 5.84 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.004406/0.4698, allocations: 2.503 MB / 0.4957 GB, free: 3.277 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.4699, allocations: 8.031 kB / 0.4957 GB, free: 3.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007112/0.4706, allocations: 320.6 kB / 0.496 GB, free: 2.953 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0028/0.4734, allocations: 1.568 MB / 0.4975 GB, free: 1.328 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001086/0.4735, allocations: 160.4 kB / 0.4977 GB, free: 1.168 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003093/0.4739, allocations: 223.9 kB / 0.4979 GB, free: 0.9492 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004523/0.4784, allocations: 3.106 MB / 0.5009 GB, free: 13.7 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.23e-05/0.4784, allocations: 4 kB / 0.5009 GB, free: 13.69 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001973/0.4786, allocations: 88 kB / 0.501 GB, free: 13.61 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001084/0.4788, allocations: 116.4 kB / 0.5011 GB, free: 13.49 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003983/0.4827, allocations: 2.547 MB / 0.5036 GB, free: 10.93 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01301/0.4958, allocations: 8.908 MB / 0.5123 GB, free: 1.844 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1445/0.6403, allocations: 3.354 MB / 0.5156 GB, free: 83.53 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003093/0.6406, allocations: 134.5 kB / 0.5157 GB, free: 83.43 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.6407, allocations: 47.08 kB / 0.5158 GB, free: 83.39 MB / 394.7 MB Notification: Performance of pre-optimization done (n=128): time 3.116e-06/0.6407, allocations: 0.7188 kB / 0.5158 GB, free: 83.39 MB / 394.7 MB Notification: Performance of matching and sorting (n=132): time 0.008889/0.6496, allocations: 5.686 MB / 0.5213 GB, free: 82.36 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.6496, allocations: 69.06 kB / 0.5214 GB, free: 82.3 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001468/0.6511, allocations: 1.334 MB / 0.5227 GB, free: 82.15 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.356e-05/0.6512, allocations: 54.3 kB / 0.5227 GB, free: 82.12 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004053/0.6516, allocations: 0.9384 MB / 0.5237 GB, free: 81.82 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002126/0.6518, allocations: 443.7 kB / 0.5241 GB, free: 81.59 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-05/0.6519, allocations: 24.16 kB / 0.5241 GB, free: 81.59 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.873e-05/0.652, allocations: 359.5 kB / 0.5245 GB, free: 81.29 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007618/0.6527, allocations: 0.6964 MB / 0.5251 GB, free: 81.29 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008329/0.6536, allocations: 0.8552 MB / 0.526 GB, free: 81.16 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009357/0.6545, allocations: 0.8168 MB / 0.5268 GB, free: 81.14 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.6545, allocations: 0 / 0.5268 GB, free: 81.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.003024/0.6576, allocations: 2.3 MB / 0.529 GB, free: 80.96 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.6576, allocations: 10.12 kB / 0.529 GB, free: 80.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.6576, allocations: 4.125 kB / 0.529 GB, free: 80.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001576/0.6592, allocations: 0.7084 MB / 0.5297 GB, free: 80.92 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007675/0.66, allocations: 209.8 kB / 0.5299 GB, free: 80.92 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009184/0.6692, allocations: 10.7 MB / 0.5404 GB, free: 75.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/0.6703, allocations: 52.81 kB / 0.5404 GB, free: 75.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.312e-05/0.6704, allocations: 45.44 kB / 0.5405 GB, free: 75.52 MB / 394.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 () * Number of clocked 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.001318/0.6717, allocations: 0.8145 MB / 0.5413 GB, free: 75.4 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002595/0.672, allocations: 162.8 kB / 0.5414 GB, free: 75.32 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003237/0.6752, allocations: 2.195 MB / 0.5436 GB, free: 75.19 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.6752, allocations: 14.36 kB / 0.5436 GB, free: 75.19 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.6752, allocations: 7.953 kB / 0.5436 GB, free: 75.19 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.305e-05/0.6753, allocations: 11.11 kB / 0.5436 GB, free: 75.19 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007121/0.6824, allocations: 4.741 MB / 0.5482 GB, free: 74.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.6824, allocations: 4.438 kB / 0.5482 GB, free: 74.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006518/0.6831, allocations: 157.2 kB / 0.5484 GB, free: 74.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001515/0.6846, allocations: 0.6989 MB / 0.549 GB, free: 74.68 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.542e-05/0.6847, allocations: 33.72 kB / 0.5491 GB, free: 74.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008539/0.6932, allocations: 10.62 MB / 0.5594 GB, free: 67.13 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.6933, allocations: 0 / 0.5594 GB, free: 67.13 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003809/0.6971, allocations: 3.25 MB / 0.5626 GB, free: 65.74 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008276/0.6979, allocations: 410.1 kB / 0.563 GB, free: 65.48 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001746/0.6981, allocations: 34.33 kB / 0.563 GB, free: 65.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007075/0.6988, allocations: 73.58 kB / 0.5631 GB, free: 65.44 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002264/0.6991, allocations: 114.2 kB / 0.5632 GB, free: 65.42 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.016e-05/0.6991, allocations: 31.22 kB / 0.5633 GB, free: 65.41 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001267/0.7004, allocations: 1.053 MB / 0.5643 GB, free: 65 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.7004, allocations: 0 / 0.5643 GB, free: 65 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001623/0.702, allocations: 0.5237 MB / 0.5648 GB, free: 64.95 MB / 394.7 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 () * Number of clocked 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.0003029/0.7023, allocations: 204.4 kB / 0.565 GB, free: 64.85 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002696/0.7051, allocations: 2.417 MB / 0.5673 GB, free: 63.68 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.7051, allocations: 0 / 0.5673 GB, free: 63.68 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00171/0.7068, allocations: 1.63 MB / 0.5689 GB, free: 62.79 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001492/0.7083, allocations: 484.2 kB / 0.5694 GB, free: 62.68 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005886/0.7142, allocations: 5.431 MB / 0.5747 GB, free: 59.93 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001189/0.7154, allocations: 2.081 MB / 0.5767 GB, free: 58.93 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0008477/0.7162, allocations: 309.6 kB / 0.577 GB, free: 58.89 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002215/0.7165, allocations: 91.86 kB / 0.5771 GB, free: 58.89 MB / 394.7 MB Notification: Performance of SimCode: time 4.51e-07/0.7165, allocations: 0 / 0.5771 GB, free: 58.89 MB / 394.7 MB Notification: Performance of Templates: time 0.03672/0.7532, allocations: 30.64 MB / 0.607 GB, free: 49.52 MB / 394.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)