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.0009793/0.0009794, allocations: 182.7 kB / 13.64 MB, free: 1.676 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.339/1.339, allocations: 194.3 MB / 208.4 MB, free: 6.703 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.001733/0.001733, allocations: 122.2 kB / 253.5 MB, free: 9.574 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.585e-05/2.586e-05, allocations: 4 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06547/0.06551, allocations: 44.5 MB / 349.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.277/0.3426, allocations: 87.59 MB / 437 MB, free: 7.164 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001985/0.3428, allocations: 81.64 kB / 437.1 MB, free: 7.152 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4533/0.7961, allocations: 117.7 MB / 0.5418 GB, free: 55.95 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.7962, allocations: 0 / 0.5418 GB, free: 55.95 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003279/0.7965, allocations: 111.6 kB / 0.5419 GB, free: 55.93 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.008413/0.805, allocations: 3.82 MB / 0.5456 GB, free: 54.79 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.805, allocations: 11 kB / 0.5456 GB, free: 54.79 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002196/0.8072, allocations: 0.5454 MB / 0.5462 GB, free: 54.55 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005657/0.8129, allocations: 2.718 MB / 0.5488 GB, free: 53.98 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002026/0.8131, allocations: 298.3 kB / 0.5491 GB, free: 53.97 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008265/0.814, allocations: 381.3 kB / 0.5495 GB, free: 53.97 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01082/0.8248, allocations: 5.582 MB / 0.5549 GB, free: 53.38 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.767e-05/0.8249, allocations: 0 / 0.5549 GB, free: 53.38 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004097/0.8253, allocations: 170.2 kB / 0.5551 GB, free: 53.38 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001647/0.8255, allocations: 208.3 kB / 0.5553 GB, free: 53.37 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007143/0.8326, allocations: 4.546 MB / 0.5597 GB, free: 53.32 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02362/0.8563, allocations: 16.44 MB / 0.5758 GB, free: 50.47 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004796/0.8611, allocations: 6.719 MB / 0.5823 GB, free: 46.99 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002932/0.8641, allocations: 2.623 MB / 0.5849 GB, free: 46.95 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003018/0.8644, allocations: 145.3 kB / 0.585 GB, free: 46.85 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/0.8645, allocations: 62.72 kB / 0.5851 GB, free: 46.81 MB / 394.7 MB Notification: Performance of pre-optimization done (n=249): time 4.398e-06/0.8645, allocations: 3.75 kB / 0.5851 GB, free: 46.81 MB / 394.7 MB Notification: Performance of matching and sorting (n=256): time 0.01169/0.8762, allocations: 7.743 MB / 0.5927 GB, free: 44.23 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.8762, allocations: 80.23 kB / 0.5927 GB, free: 44.17 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003504/0.8797, allocations: 2.332 MB / 0.595 GB, free: 43.29 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001662/0.8799, allocations: 73.23 kB / 0.5951 GB, free: 43.22 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008522/0.8808, allocations: 1.633 MB / 0.5967 GB, free: 41.98 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005376/0.8813, allocations: 0.8419 MB / 0.5975 GB, free: 41.32 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/0.8815, allocations: 46.59 kB / 0.5975 GB, free: 41.29 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.8816, allocations: 398.8 kB / 0.5979 GB, free: 40.95 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001577/0.8832, allocations: 1.285 MB / 0.5992 GB, free: 40.46 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001716/0.8849, allocations: 1.57 MB / 0.6007 GB, free: 39.71 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001932/0.8869, allocations: 1.518 MB / 0.6022 GB, free: 39.13 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.141e-05/0.8869, allocations: 3.875 kB / 0.6022 GB, free: 39.13 MB / 394.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.006542/0.8934, allocations: 4.325 MB / 0.6064 GB, free: 37.48 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.956e-05/0.8935, allocations: 7.719 kB / 0.6064 GB, free: 37.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.463e-05/0.8936, allocations: 10.97 kB / 0.6064 GB, free: 37.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003217/0.8968, allocations: 1.398 MB / 0.6078 GB, free: 37.06 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001633/0.8984, allocations: 386.9 kB / 0.6082 GB, free: 37.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01842/0.9169, allocations: 23.41 MB / 0.631 GB, free: 19.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002375/0.9193, allocations: 96.42 kB / 0.6311 GB, free: 19.17 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004116/0.9197, allocations: 73.69 kB / 0.6312 GB, free: 19.16 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 () * 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.0006024/0.9204, allocations: 239.1 kB / 0.6314 GB, free: 18.97 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007961/0.9212, allocations: 294.8 kB / 0.6317 GB, free: 18.83 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006168/0.9273, allocations: 4.082 MB / 0.6357 GB, free: 17.16 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.862e-05/0.9274, allocations: 31.44 kB / 0.6357 GB, free: 17.16 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.956e-05/0.9274, allocations: 13.88 kB / 0.6357 GB, free: 17.16 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.201e-05/0.9274, allocations: 14.25 kB / 0.6357 GB, free: 17.16 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0138/0.9412, allocations: 8.822 MB / 0.6444 GB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.9413, allocations: 3.188 kB / 0.6444 GB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/0.9425, allocations: 294.4 kB / 0.6446 GB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00297/0.9455, allocations: 1.375 MB / 0.646 GB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001767/0.9456, allocations: 63.78 kB / 0.6461 GB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02045/0.9661, allocations: 23.16 MB / 0.6687 GB, free: 6.125 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.9661, allocations: 1.312 kB / 0.6687 GB, free: 6.125 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009445/0.9756, allocations: 5.966 MB / 0.6745 GB, free: 0.8477 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002032/0.9777, allocations: 0.6918 MB / 0.6752 GB, free: 216 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008272/0.9785, allocations: 59.75 kB / 0.6752 GB, free: 160 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001845/0.9804, allocations: 125.3 kB / 0.6753 GB, free: 60 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008431/0.9812, allocations: 234.7 kB / 0.6756 GB, free: 0 / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005168/0.9818, allocations: 96.42 kB / 0.6757 GB, free: 0 / 410.7 MB Notification: Performance of sorting global known variables: time 0.003308/0.9851, allocations: 1.816 MB / 0.6774 GB, free: 14.36 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.9851, allocations: 4 kB / 0.6774 GB, free: 14.36 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004202/0.9893, allocations: 0.9765 MB / 0.6784 GB, free: 13.38 MB / 426.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.0005789/0.9899, allocations: 246.3 kB / 0.6786 GB, free: 13.16 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006858/0.9968, allocations: 4.725 MB / 0.6832 GB, free: 8.758 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.9968, allocations: 4.062 kB / 0.6832 GB, free: 8.754 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004654/1.001, allocations: 3.295 MB / 0.6865 GB, free: 5.641 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004387/1.006, allocations: 0.9012 MB / 0.6873 GB, free: 4.926 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2046/1.21, allocations: 7.009 MB / 0.6942 GB, free: 73.61 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003111/1.214, allocations: 3.248 MB / 0.6974 GB, free: 72.82 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001975/1.216, allocations: 0.5691 MB / 0.6979 GB, free: 72.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004528/1.216, allocations: 159.4 kB / 0.6981 GB, free: 72.8 MB / 426.7 MB Notification: Performance of SimCode: time 8.82e-07/1.216, allocations: 0 / 0.6981 GB, free: 72.8 MB / 426.7 MB Notification: Performance of Templates: time 0.08102/1.297, allocations: 58.47 MB / 0.7552 GB, free: 70.23 MB / 426.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)