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.001403/0.001403, allocations: 188.6 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.276/1.276, allocations: 194.3 MB / 203.1 MB, free: 9.32 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001673/0.001673, allocations: 120.1 kB / 248.1 MB, free: 6.328 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.418e-05/1.42e-05, allocations: 0 / 298.1 MB, free: 8.25 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07732/0.07735, allocations: 44.5 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2822/0.3596, allocations: 86.91 MB / 429.5 MB, free: 8.949 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000209/0.3598, allocations: 86 kB / 429.6 MB, free: 8.902 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.4871/0.8469, allocations: 116.2 MB / 0.533 GB, free: 55.72 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.847, allocations: 0 / 0.533 GB, free: 55.72 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0004102/0.8474, allocations: 114.9 kB / 0.5331 GB, free: 55.7 MB / 395.1 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.01119/0.8586, allocations: 3.82 MB / 0.5368 GB, free: 54.39 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.8587, allocations: 8.781 kB / 0.5368 GB, free: 54.39 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002573/0.8612, allocations: 0.5503 MB / 0.5374 GB, free: 54.14 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006417/0.8677, allocations: 2.73 MB / 0.54 GB, free: 53.57 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001826/0.8679, allocations: 125 kB / 0.5401 GB, free: 53.57 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001273/0.8692, allocations: 227 kB / 0.5404 GB, free: 53.57 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009068/0.8782, allocations: 4.288 MB / 0.5445 GB, free: 53.55 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01184/0.8901, allocations: 5.004 MB / 0.5494 GB, free: 52.98 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001218/0.8903, allocations: 1.031 kB / 0.5494 GB, free: 52.98 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007939/0.8911, allocations: 4.438 kB / 0.5494 GB, free: 52.98 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002613/0.8913, allocations: 204.4 kB / 0.5496 GB, free: 52.97 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0275/0.9188, allocations: 15.63 MB / 0.5649 GB, free: 50.19 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005925/0.9248, allocations: 6.622 MB / 0.5714 GB, free: 46.6 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002834/0.9277, allocations: 2.417 MB / 0.5737 GB, free: 45.76 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003533/0.928, allocations: 152.5 kB / 0.5739 GB, free: 45.66 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.53e-05/0.9281, allocations: 59.81 kB / 0.5739 GB, free: 45.6 MB / 395.1 MB Notification: Performance of pre-optimization done (n=249): time 5.009e-06/0.9281, allocations: 0.9375 kB / 0.5739 GB, free: 45.6 MB / 395.1 MB Notification: Performance of matching and sorting (n=256): time 0.01301/0.9411, allocations: 7.292 MB / 0.581 GB, free: 42.43 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.9412, allocations: 77.58 kB / 0.5811 GB, free: 42.36 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003326/0.9445, allocations: 1.813 MB / 0.5829 GB, free: 41.64 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000148/0.9447, allocations: 25.7 kB / 0.5829 GB, free: 41.61 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008883/0.9456, allocations: 1.653 MB / 0.5845 GB, free: 40.36 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005349/0.9461, allocations: 0.802 MB / 0.5853 GB, free: 39.72 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.9463, allocations: 0 / 0.5853 GB, free: 39.72 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.9464, allocations: 408.9 kB / 0.5857 GB, free: 39.37 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00145/0.9479, allocations: 1.232 MB / 0.5869 GB, free: 38.89 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001646/0.9495, allocations: 1.518 MB / 0.5884 GB, free: 38.14 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001782/0.9513, allocations: 1.47 MB / 0.5898 GB, free: 37.56 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/0.9513, allocations: 0 / 0.5898 GB, free: 37.56 MB / 395.1 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.005853/0.9572, allocations: 4.06 MB / 0.5938 GB, free: 36.02 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.9572, allocations: 7.562 kB / 0.5938 GB, free: 36.02 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/0.9573, allocations: 3.688 kB / 0.5938 GB, free: 36.02 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00309/0.9604, allocations: 1.381 MB / 0.5952 GB, free: 35.57 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001441/0.9618, allocations: 390.2 kB / 0.5955 GB, free: 35.56 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01845/0.9803, allocations: 22.55 MB / 0.6175 GB, free: 18.46 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002079/0.9824, allocations: 49.95 kB / 0.6176 GB, free: 18.45 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003884/0.9828, allocations: 84.03 kB / 0.6177 GB, free: 18.43 MB / 395.1 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.00058/0.9834, allocations: 158.7 kB / 0.6178 GB, free: 18.31 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007318/0.9841, allocations: 257.1 kB / 0.6181 GB, free: 18.19 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005761/0.9899, allocations: 3.806 MB / 0.6218 GB, free: 16.67 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-05/0.99, allocations: 25.47 kB / 0.6218 GB, free: 16.67 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.211e-05/0.99, allocations: 10.84 kB / 0.6218 GB, free: 16.67 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.317e-05/0.99, allocations: 14.53 kB / 0.6218 GB, free: 16.67 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01334/1.003, allocations: 8.057 MB / 0.6297 GB, free: 13.5 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/1.003, allocations: 3.953 kB / 0.6297 GB, free: 13.49 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001142/1.005, allocations: 297 kB / 0.63 GB, free: 13.46 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002844/1.007, allocations: 1.349 MB / 0.6313 GB, free: 13.03 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001641/1.008, allocations: 18.92 kB / 0.6313 GB, free: 13.02 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01987/1.027, allocations: 22.39 MB / 0.6532 GB, free: 10.81 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/1.028, allocations: 0 / 0.6532 GB, free: 10.81 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008644/1.036, allocations: 5.708 MB / 0.6588 GB, free: 5.754 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001916/1.038, allocations: 0.6325 MB / 0.6594 GB, free: 5.172 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007945/1.039, allocations: 15.38 kB / 0.6594 GB, free: 5.16 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001916/1.041, allocations: 90.16 kB / 0.6595 GB, free: 5.098 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005668/1.041, allocations: 207.6 kB / 0.6597 GB, free: 4.977 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002081/1.042, allocations: 67.23 kB / 0.6598 GB, free: 4.914 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.002655/1.044, allocations: 1.392 MB / 0.6611 GB, free: 3.66 MB / 411.1 MB Notification: Performance of sort global known variables: time 6.01e-07/1.044, allocations: 0 / 0.6611 GB, free: 3.66 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.004628/1.049, allocations: 0.8626 MB / 0.662 GB, free: 2.801 MB / 411.1 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.0007597/1.05, allocations: 221.8 kB / 0.6622 GB, free: 2.602 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.2155/1.265, allocations: 4.549 MB / 0.6666 GB, free: 61.27 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/1.265, allocations: 0 / 0.6666 GB, free: 61.27 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003816/1.269, allocations: 3.141 MB / 0.6697 GB, free: 60.17 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003116/1.272, allocations: 0.6186 MB / 0.6703 GB, free: 60.16 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/1.283, allocations: 6.805 MB / 0.6769 GB, free: 58.85 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002858/1.286, allocations: 3.245 MB / 0.6801 GB, free: 58.07 MB / 411.1 MB Notification: Performance of simCode: alias equations: time 0.001882/1.288, allocations: 0.511 MB / 0.6806 GB, free: 58.04 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004214/1.288, allocations: 141.8 kB / 0.6807 GB, free: 58.04 MB / 411.1 MB Notification: Performance of SimCode: time 7.82e-07/1.288, allocations: 0 / 0.6807 GB, free: 58.04 MB / 411.1 MB Notification: Performance of Templates: time 0.07591/1.364, allocations: 46.13 MB / 0.7258 GB, free: 55.98 MB / 411.1 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)