Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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.Rectifier12pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009232/0.0009233, allocations: 179.6 kB / 16.38 MB, free: 5.762 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.158/1.158, allocations: 194.5 MB / 211.6 MB, free: 3.047 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.001523/0.001522, allocations: 116.6 kB / 256.9 MB, free: 4.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002903/0.0002903, allocations: 8 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07069/0.071, allocations: 44.5 MB / 355.1 MB, free: 2.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2182/0.2892, allocations: 87.67 MB / 442.7 MB, free: 2.004 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001999/0.2895, allocations: 86.05 kB / 442.8 MB, free: 1.957 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3986/0.6881, allocations: 117.2 MB / 0.5469 GB, free: 70.8 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.6882, allocations: 0 / 0.5469 GB, free: 70.8 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002985/0.6885, allocations: 110.8 kB / 0.547 GB, free: 70.79 MB / 394.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.0104/0.6989, allocations: 4.251 MB / 0.5512 GB, free: 69.05 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.6989, allocations: 9.531 kB / 0.5512 GB, free: 69.05 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002526/0.7015, allocations: 0.5557 MB / 0.5517 GB, free: 68.8 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005969/0.7075, allocations: 2.733 MB / 0.5544 GB, free: 68.21 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001935/0.7077, allocations: 298.8 kB / 0.5547 GB, free: 68.2 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008723/0.7086, allocations: 377.5 kB / 0.555 GB, free: 68.2 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00839/0.717, allocations: 5.666 MB / 0.5606 GB, free: 67.6 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.31e-05/0.7171, allocations: 0 / 0.5606 GB, free: 67.6 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003688/0.7174, allocations: 173.1 kB / 0.5607 GB, free: 67.6 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001482/0.7176, allocations: 208 kB / 0.5609 GB, free: 67.58 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006674/0.7243, allocations: 4.663 MB / 0.5655 GB, free: 67.53 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0229/0.7472, allocations: 16.45 MB / 0.5815 GB, free: 60.19 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004587/0.7518, allocations: 6.781 MB / 0.5882 GB, free: 55.11 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000288/0.7521, allocations: 150.2 kB / 0.5883 GB, free: 55.02 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.7522, allocations: 58.28 kB / 0.5884 GB, free: 54.96 MB / 394.7 MB Notification: Performance of pre-optimization done (n=249): time 4.959e-06/0.7522, allocations: 0 / 0.5884 GB, free: 54.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=256): time 0.01489/0.7671, allocations: 10.36 MB / 0.5985 GB, free: 50.25 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.7671, allocations: 75.98 kB / 0.5986 GB, free: 50.19 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002664/0.7698, allocations: 2.361 MB / 0.6009 GB, free: 49.32 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001356/0.77, allocations: 73.02 kB / 0.6009 GB, free: 49.25 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007072/0.7707, allocations: 1.634 MB / 0.6025 GB, free: 48.01 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004097/0.7711, allocations: 0.8394 MB / 0.6033 GB, free: 47.36 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.7712, allocations: 46.66 kB / 0.6034 GB, free: 47.32 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.7713, allocations: 408.2 kB / 0.6038 GB, free: 46.97 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001469/0.7728, allocations: 1.338 MB / 0.6051 GB, free: 46.48 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001619/0.7744, allocations: 1.623 MB / 0.6067 GB, free: 45.71 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001668/0.7761, allocations: 1.572 MB / 0.6082 GB, free: 45.04 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.249e-06/0.7761, allocations: 3.062 kB / 0.6082 GB, free: 45.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.005605/0.7817, allocations: 4.439 MB / 0.6125 GB, free: 41.75 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.7818, allocations: 9.25 kB / 0.6125 GB, free: 41.74 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.7818, allocations: 4 kB / 0.6126 GB, free: 41.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002805/0.7846, allocations: 1.417 MB / 0.6139 GB, free: 40.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/0.786, allocations: 383.7 kB / 0.6143 GB, free: 40.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01752/0.8035, allocations: 23.89 MB / 0.6376 GB, free: 17.15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002463/0.806, allocations: 93.62 kB / 0.6377 GB, free: 17.08 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001842/0.8062, allocations: 83.52 kB / 0.6378 GB, free: 17 MB / 394.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 () * Number of clocked 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.002651/0.8089, allocations: 1.402 MB / 0.6392 GB, free: 15.81 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004784/0.8094, allocations: 300.5 kB / 0.6395 GB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00521/0.8146, allocations: 4.2 MB / 0.6436 GB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.8146, allocations: 24 kB / 0.6436 GB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.8146, allocations: 11.95 kB / 0.6436 GB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.579e-05/0.8146, allocations: 15.95 kB / 0.6436 GB, free: 11.49 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01191/0.8266, allocations: 8.927 MB / 0.6523 GB, free: 2.512 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.8266, allocations: 3.984 kB / 0.6523 GB, free: 2.508 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/0.8277, allocations: 299.6 kB / 0.6526 GB, free: 2.215 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002726/0.8304, allocations: 1.374 MB / 0.654 GB, free: 0.8125 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001369/0.8306, allocations: 59.97 kB / 0.654 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1914/1.022, allocations: 23.63 MB / 0.6771 GB, free: 72.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.022, allocations: 0 / 0.6771 GB, free: 72.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008118/1.03, allocations: 6.163 MB / 0.6831 GB, free: 71.83 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002011/1.032, allocations: 0.6929 MB / 0.6838 GB, free: 71.74 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005095/1.033, allocations: 60.58 kB / 0.6838 GB, free: 71.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001296/1.034, allocations: 129.6 kB / 0.684 GB, free: 71.74 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006015/1.035, allocations: 209.7 kB / 0.6842 GB, free: 71.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001826/1.035, allocations: 74.03 kB / 0.6842 GB, free: 71.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002822/1.038, allocations: 1.837 MB / 0.686 GB, free: 71.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.5e-07/1.038, allocations: 0 / 0.686 GB, free: 71.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003436/1.041, allocations: 0.9786 MB / 0.687 GB, free: 71.59 MB / 410.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 () * Number of clocked 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.0004641/1.042, allocations: 253 kB / 0.6872 GB, free: 71.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006254/1.048, allocations: 4.882 MB / 0.692 GB, free: 70.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/1.048, allocations: 0 / 0.692 GB, free: 70.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004868/1.053, allocations: 3.363 MB / 0.6953 GB, free: 69.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004192/1.057, allocations: 0.8858 MB / 0.6961 GB, free: 69.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01379/1.071, allocations: 9.949 MB / 0.7059 GB, free: 65.47 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002519/1.073, allocations: 3.245 MB / 0.709 GB, free: 64.68 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001845/1.075, allocations: 0.5692 MB / 0.7096 GB, free: 64.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000403/1.076, allocations: 162.8 kB / 0.7097 GB, free: 64.64 MB / 410.7 MB Notification: Performance of SimCode: time 8.22e-07/1.076, allocations: 2.812 kB / 0.7097 GB, free: 64.64 MB / 410.7 MB Notification: Performance of Templates: time 0.07712/1.153, allocations: 58.33 MB / 0.7667 GB, free: 45.37 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1)