Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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.Rectifier12pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009368/0.0009365, allocations: 164.5 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.142/1.142, allocations: 170.6 MB / 178.7 MB, free: 15.64 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.001598/0.001597, allocations: 107.5 kB / 218 MB, free: 8.402 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.349e-05/1.35e-05, allocations: 4 kB / 262.2 MB, free: 26.39 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05828/0.05831, allocations: 38.77 MB / 301 MB, free: 3.637 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2483/0.3066, allocations: 81.58 MB / 382.6 MB, free: 2.891 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002219/0.3069, allocations: 83.7 kB / 382.6 MB, free: 2.848 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.422/0.7289, allocations: 116.4 MB / 499 MB, free: 57.53 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.7289, allocations: 0 / 499 MB, free: 57.53 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002856/0.7292, allocations: 108.5 kB / 499.1 MB, free: 57.52 MB / 346.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.008471/0.7377, allocations: 3.825 MB / 0.4911 GB, free: 56.09 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.7377, allocations: 9.469 kB / 0.4911 GB, free: 56.09 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002416/0.7402, allocations: 0.5539 MB / 0.4917 GB, free: 55.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005188/0.7454, allocations: 2.721 MB / 0.4943 GB, free: 55.25 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/0.7455, allocations: 129.7 kB / 0.4945 GB, free: 55.25 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008655/0.7464, allocations: 222.2 kB / 0.4947 GB, free: 55.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007023/0.7534, allocations: 4.295 MB / 0.4989 GB, free: 55.23 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007132/0.7606, allocations: 5.001 MB / 0.5038 GB, free: 54.64 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.313e-05/0.7607, allocations: 2.531 kB / 0.5038 GB, free: 54.64 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000313/0.761, allocations: 3.906 kB / 0.5038 GB, free: 54.64 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001547/0.7612, allocations: 216.8 kB / 0.504 GB, free: 54.62 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02048/0.7816, allocations: 15.63 MB / 0.5192 GB, free: 49.96 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004159/0.7858, allocations: 6.607 MB / 0.5257 GB, free: 44.91 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002355/0.7882, allocations: 2.418 MB / 0.5281 GB, free: 44.07 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003022/0.7886, allocations: 151.2 kB / 0.5282 GB, free: 43.96 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.7886, allocations: 63.06 kB / 0.5283 GB, free: 43.91 MB / 346.7 MB Notification: Performance of pre-optimization done (n=249): time 4.358e-06/0.7886, allocations: 0 / 0.5283 GB, free: 43.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=256): time 0.01081/0.7994, allocations: 7.284 MB / 0.5354 GB, free: 40.74 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.7995, allocations: 76.67 kB / 0.5354 GB, free: 40.68 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00231/0.8018, allocations: 1.828 MB / 0.5372 GB, free: 39.94 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001871/0.802, allocations: 25.7 kB / 0.5373 GB, free: 39.91 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007884/0.8028, allocations: 1.654 MB / 0.5389 GB, free: 38.66 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005011/0.8033, allocations: 0.8106 MB / 0.5397 GB, free: 38.02 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.8034, allocations: 3.75 kB / 0.5397 GB, free: 38.02 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.8036, allocations: 403.3 kB / 0.54 GB, free: 37.67 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001298/0.8049, allocations: 1.235 MB / 0.5413 GB, free: 37.19 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001433/0.8063, allocations: 1.513 MB / 0.5427 GB, free: 36.44 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001638/0.8079, allocations: 1.469 MB / 0.5442 GB, free: 35.86 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/0.808, allocations: 0 / 0.5442 GB, free: 35.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.005646/0.8136, allocations: 4.062 MB / 0.5481 GB, free: 32.61 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.8137, allocations: 11.91 kB / 0.5481 GB, free: 32.6 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/0.8137, allocations: 11.95 kB / 0.5482 GB, free: 32.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002893/0.8166, allocations: 1.368 MB / 0.5495 GB, free: 31.47 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001428/0.818, allocations: 390.2 kB / 0.5499 GB, free: 31.15 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01679/0.8348, allocations: 22.56 MB / 0.5719 GB, free: 9.344 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002029/0.8369, allocations: 53.33 kB / 0.5719 GB, free: 9.312 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002173/0.8371, allocations: 83.94 kB / 0.572 GB, free: 9.23 MB / 346.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 () * 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.0003771/0.8375, allocations: 144.6 kB / 0.5722 GB, free: 9.086 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000425/0.838, allocations: 260.9 kB / 0.5724 GB, free: 8.828 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005072/0.843, allocations: 3.809 MB / 0.5761 GB, free: 5.582 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.527e-05/0.8431, allocations: 31.94 kB / 0.5762 GB, free: 5.551 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/0.8431, allocations: 15.69 kB / 0.5762 GB, free: 5.539 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-05/0.8431, allocations: 11.06 kB / 0.5762 GB, free: 5.539 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01222/0.8553, allocations: 8.08 MB / 0.5841 GB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/0.8554, allocations: 4 kB / 0.5841 GB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001185/0.8566, allocations: 296.7 kB / 0.5844 GB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003231/0.8598, allocations: 1.348 MB / 0.5857 GB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002008/0.8601, allocations: 22.56 kB / 0.5857 GB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2146/1.075, allocations: 22.38 MB / 0.6076 GB, free: 58.85 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/1.075, allocations: 0.9688 kB / 0.6076 GB, free: 58.85 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009233/1.084, allocations: 5.711 MB / 0.6131 GB, free: 58.45 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001555/1.086, allocations: 0.6441 MB / 0.6138 GB, free: 58.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004308/1.086, allocations: 15.67 kB / 0.6138 GB, free: 58.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001327/1.087, allocations: 89.28 kB / 0.6139 GB, free: 58.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005228/1.088, allocations: 217.9 kB / 0.6141 GB, free: 58.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001463/1.088, allocations: 70.31 kB / 0.6141 GB, free: 58.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001857/1.09, allocations: 1.394 MB / 0.6155 GB, free: 58.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.09, allocations: 0 / 0.6155 GB, free: 58.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003627/1.093, allocations: 0.8609 MB / 0.6163 GB, free: 58.21 MB / 362.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 () * 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.0004889/1.094, allocations: 227.4 kB / 0.6166 GB, free: 58.12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005288/1.099, allocations: 4.551 MB / 0.621 GB, free: 56.99 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/1.099, allocations: 0 / 0.621 GB, free: 56.99 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003543/1.103, allocations: 3.146 MB / 0.6241 GB, free: 55.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003339/1.106, allocations: 0.6176 MB / 0.6247 GB, free: 55.88 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01083/1.117, allocations: 6.824 MB / 0.6313 GB, free: 54.55 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002554/1.12, allocations: 3.25 MB / 0.6345 GB, free: 53.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001559/1.121, allocations: 0.5102 MB / 0.635 GB, free: 53.74 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003816/1.122, allocations: 141 kB / 0.6352 GB, free: 53.73 MB / 362.7 MB Notification: Performance of SimCode: time 1.012e-06/1.122, allocations: 0 / 0.6352 GB, free: 53.73 MB / 362.7 MB Notification: Performance of Templates: time 0.06496/1.187, allocations: 46.12 MB / 0.6802 GB, free: 44.44 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1)