Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.1_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.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.006709/0.006709, allocations: 165.1 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.429/1.429, allocations: 170.8 MB / 186.6 MB, free: 1.133 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001669/0.001669, allocations: 115.3 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004918/0.0004919, allocations: 8 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2234, allocations: 38.77 MB / 312.9 MB, free: 38.69 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09895/0.3224, allocations: 80.75 MB / 393.6 MB, free: 9.77 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002974/0.3227, allocations: 83.95 kB / 393.7 MB, free: 9.688 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3261/0.6489, allocations: 63.96 MB / 457.7 MB, free: 65.15 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.649, allocations: 0 / 457.7 MB, free: 65.15 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002164/0.6492, allocations: 63.88 kB / 457.7 MB, free: 65.09 MB / 314.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.006813/0.656, allocations: 2.512 MB / 460.3 MB, free: 62.52 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.6561, allocations: 8.031 kB / 460.3 MB, free: 62.51 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001329/0.6574, allocations: 312.7 kB / 460.6 MB, free: 62.2 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003648/0.6611, allocations: 1.584 MB / 462.1 MB, free: 60.56 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001286/0.6612, allocations: 164.4 kB / 462.3 MB, free: 60.39 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006591/0.6619, allocations: 219.8 kB / 462.5 MB, free: 60.18 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005852/0.6678, allocations: 3.098 MB / 465.6 MB, free: 56.93 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.812e-05/0.6678, allocations: 3.984 kB / 465.6 MB, free: 56.93 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003728/0.6682, allocations: 99.98 kB / 465.7 MB, free: 56.83 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001106/0.6683, allocations: 108.4 kB / 465.8 MB, free: 56.72 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004103/0.6725, allocations: 2.543 MB / 468.4 MB, free: 54.16 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01465/0.6871, allocations: 8.909 MB / 477.3 MB, free: 45.08 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0034/0.6906, allocations: 3.366 MB / 480.6 MB, free: 41.41 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003865/0.691, allocations: 138.4 kB / 480.8 MB, free: 41.25 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.46e-05/0.6911, allocations: 43.88 kB / 480.8 MB, free: 41.2 MB / 314.7 MB Notification: Performance of pre-optimization done (n=128): time 5.08e-06/0.6911, allocations: 4 kB / 480.8 MB, free: 41.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=132): time 0.0105/0.7016, allocations: 5.699 MB / 486.5 MB, free: 35.35 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.7017, allocations: 64.72 kB / 486.6 MB, free: 35.27 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002543/0.7043, allocations: 1.344 MB / 487.9 MB, free: 33.91 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001094/0.7044, allocations: 53.64 kB / 488 MB, free: 33.86 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004995/0.7049, allocations: 0.9332 MB / 488.9 MB, free: 32.91 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002689/0.7052, allocations: 445.5 kB / 489.4 MB, free: 32.47 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.724e-05/0.7053, allocations: 28 kB / 489.4 MB, free: 32.44 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.649e-05/0.7054, allocations: 357.9 kB / 489.7 MB, free: 32.09 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009104/0.7063, allocations: 0.6935 MB / 490.4 MB, free: 31.39 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009973/0.7073, allocations: 0.8504 MB / 491.3 MB, free: 30.5 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009996/0.7083, allocations: 0.8183 MB / 492.1 MB, free: 29.68 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.7083, allocations: 3.953 kB / 492.1 MB, free: 29.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.00346/0.7118, allocations: 2.302 MB / 494.4 MB, free: 27.35 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.155e-05/0.7118, allocations: 11.95 kB / 494.4 MB, free: 27.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.7119, allocations: 4 kB / 494.4 MB, free: 27.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001932/0.7138, allocations: 0.7136 MB / 495.1 MB, free: 26.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009959/0.7148, allocations: 207.7 kB / 495.3 MB, free: 26.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009886/0.7247, allocations: 10.7 MB / 0.4942 GB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/0.7261, allocations: 51.97 kB / 0.4942 GB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002047/0.7264, allocations: 43.98 kB / 0.4943 GB, free: 15.07 MB / 314.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.001603/0.728, allocations: 0.8103 MB / 0.4951 GB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005807/0.7286, allocations: 170 kB / 0.4952 GB, free: 14.08 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00356/0.7322, allocations: 2.195 MB / 0.4974 GB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.7322, allocations: 12 kB / 0.4974 GB, free: 11.85 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/0.7322, allocations: 8 kB / 0.4974 GB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.719e-06/0.7322, allocations: 3.984 kB / 0.4974 GB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007579/0.7398, allocations: 4.754 MB / 0.502 GB, free: 6.996 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/0.7399, allocations: 256 / 0.502 GB, free: 6.996 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006434/0.7405, allocations: 167.7 kB / 0.5022 GB, free: 6.832 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001511/0.742, allocations: 0.6905 MB / 0.5029 GB, free: 6.129 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-05/0.7422, allocations: 28 kB / 0.5029 GB, free: 6.102 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01102/0.7532, allocations: 10.61 MB / 0.5133 GB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.7532, allocations: 0 / 0.5133 GB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007685/0.7609, allocations: 3.269 MB / 0.5164 GB, free: 7.629 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001631/0.7626, allocations: 415 kB / 0.5168 GB, free: 7.203 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005633/0.7632, allocations: 31.98 kB / 0.5169 GB, free: 7.172 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001508/0.7647, allocations: 63.95 kB / 0.5169 GB, free: 7.109 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003886/0.7651, allocations: 117.1 kB / 0.517 GB, free: 6.992 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001438/0.7653, allocations: 35.98 kB / 0.5171 GB, free: 6.957 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002855/0.7682, allocations: 1.06 MB / 0.5181 GB, free: 5.895 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.7682, allocations: 0 / 0.5181 GB, free: 5.895 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003394/0.7716, allocations: 0.5273 MB / 0.5186 GB, free: 5.367 MB / 330.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.0006045/0.7722, allocations: 197.7 kB / 0.5188 GB, free: 5.168 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005819/0.7781, allocations: 2.423 MB / 0.5212 GB, free: 2.688 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.7781, allocations: 0 / 0.5212 GB, free: 2.688 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003799/0.7819, allocations: 1.625 MB / 0.5228 GB, free: 1.016 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00387/0.7858, allocations: 480.4 kB / 0.5232 GB, free: 0.5547 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01467/0.8005, allocations: 5.442 MB / 0.5285 GB, free: 11.07 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003905/0.8045, allocations: 2.093 MB / 0.5306 GB, free: 8.941 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002106/0.8066, allocations: 313.3 kB / 0.5309 GB, free: 8.629 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005956/0.8072, allocations: 87.44 kB / 0.531 GB, free: 8.543 MB / 346.7 MB Notification: Performance of SimCode: time 1.533e-06/0.8073, allocations: 0 / 0.531 GB, free: 8.543 MB / 346.7 MB Notification: Performance of Templates: time 0.2376/1.045, allocations: 30.63 MB / 0.5609 GB, free: 85.08 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1)