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.001502/0.001502, allocations: 169.8 kB / 12.72 MB, free: 2.594 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.199/1.199, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.001641/0.001641, allocations: 107.5 kB / 223.2 MB, free: 4.043 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.226e-05/3.229e-05, allocations: 4 kB / 268.9 MB, free: 20.91 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0708/0.07085, allocations: 38.77 MB / 307.6 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2765/0.3474, allocations: 82.24 MB / 389.9 MB, free: 10.08 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002039/0.3477, allocations: 81.77 kB / 390 MB, free: 10.04 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4728/0.8205, allocations: 117.8 MB / 0.4959 GB, free: 60.23 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.8205, allocations: 0 / 0.4959 GB, free: 60.23 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003193/0.8208, allocations: 109.1 kB / 0.496 GB, free: 60.22 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.009994/0.8308, allocations: 3.814 MB / 0.4997 GB, free: 58.71 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.005e-05/0.8309, allocations: 12.97 kB / 0.4997 GB, free: 58.71 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002929/0.8339, allocations: 0.555 MB / 0.5003 GB, free: 58.46 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006075/0.84, allocations: 2.72 MB / 0.5029 GB, free: 57.87 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000197/0.8402, allocations: 294.4 kB / 0.5032 GB, free: 57.86 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001136/0.8413, allocations: 389.7 kB / 0.5036 GB, free: 57.86 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007985/0.8493, allocations: 5.58 MB / 0.509 GB, free: 57.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-05/0.8494, allocations: 3.969 kB / 0.509 GB, free: 57.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003731/0.8498, allocations: 164.6 kB / 0.5092 GB, free: 57.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001548/0.85, allocations: 207.5 kB / 0.5094 GB, free: 57.23 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006621/0.8566, allocations: 4.542 MB / 0.5138 GB, free: 55.99 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02301/0.8796, allocations: 16.45 MB / 0.5299 GB, free: 48.07 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004921/0.8846, allocations: 6.727 MB / 0.5364 GB, free: 43 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003065/0.8877, allocations: 2.612 MB / 0.539 GB, free: 41.28 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003167/0.888, allocations: 151.8 kB / 0.5391 GB, free: 41.13 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.309e-05/0.8881, allocations: 71.69 kB / 0.5392 GB, free: 41.05 MB / 346.7 MB Notification: Performance of pre-optimization done (n=249): time 5.149e-06/0.8881, allocations: 0 / 0.5392 GB, free: 41.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=256): time 0.01205/0.9001, allocations: 7.746 MB / 0.5468 GB, free: 34.16 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.9002, allocations: 77.42 kB / 0.5468 GB, free: 34.07 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00298/0.9032, allocations: 2.335 MB / 0.5491 GB, free: 31.97 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000188/0.9034, allocations: 65.7 kB / 0.5492 GB, free: 31.9 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007534/0.9042, allocations: 1.636 MB / 0.5508 GB, free: 30.43 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004751/0.9047, allocations: 0.8478 MB / 0.5516 GB, free: 29.67 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.9048, allocations: 52 kB / 0.5517 GB, free: 29.62 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.9049, allocations: 404.8 kB / 0.552 GB, free: 29.25 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001491/0.9064, allocations: 1.278 MB / 0.5533 GB, free: 28.12 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00158/0.908, allocations: 1.57 MB / 0.5548 GB, free: 26.65 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001708/0.9097, allocations: 1.517 MB / 0.5563 GB, free: 25.36 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.9097, allocations: 8 kB / 0.5563 GB, free: 25.36 MB / 346.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.006101/0.9158, allocations: 4.321 MB / 0.5605 GB, free: 21.53 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.9159, allocations: 8 kB / 0.5605 GB, free: 21.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/0.9159, allocations: 8 kB / 0.5606 GB, free: 21.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002971/0.9189, allocations: 1.4 MB / 0.5619 GB, free: 20.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001434/0.9203, allocations: 393 kB / 0.5623 GB, free: 20.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01902/0.9394, allocations: 23.41 MB / 0.5852 GB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002315/0.9417, allocations: 91.94 kB / 0.5852 GB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002449/0.942, allocations: 79.98 kB / 0.5853 GB, free: 11.32 MB / 362.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.000502/0.9425, allocations: 248 kB / 0.5856 GB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006021/0.9431, allocations: 300.5 kB / 0.5858 GB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006852/0.95, allocations: 4.08 MB / 0.5898 GB, free: 6.605 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.081e-05/0.95, allocations: 27.94 kB / 0.5899 GB, free: 6.578 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/0.95, allocations: 8 kB / 0.5899 GB, free: 6.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-05/0.9501, allocations: 11.95 kB / 0.5899 GB, free: 6.559 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2064/1.156, allocations: 8.82 MB / 0.5985 GB, free: 66.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/1.157, allocations: 1.75 kB / 0.5985 GB, free: 66.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00138/1.158, allocations: 300.3 kB / 0.5988 GB, free: 66.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003703/1.162, allocations: 1.372 MB / 0.6001 GB, free: 66.71 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004416/1.162, allocations: 61.06 kB / 0.6002 GB, free: 66.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02032/1.182, allocations: 23.16 MB / 0.6228 GB, free: 53.49 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.182, allocations: 2.188 kB / 0.6228 GB, free: 53.49 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008171/1.191, allocations: 5.973 MB / 0.6286 GB, free: 53.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001835/1.193, allocations: 0.6931 MB / 0.6293 GB, free: 52.96 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004642/1.193, allocations: 58.69 kB / 0.6294 GB, free: 52.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001365/1.194, allocations: 125.7 kB / 0.6295 GB, free: 52.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005361/1.195, allocations: 213.4 kB / 0.6297 GB, free: 52.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001414/1.195, allocations: 66.05 kB / 0.6297 GB, free: 52.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002499/1.198, allocations: 1.817 MB / 0.6315 GB, free: 52.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.2e-07/1.198, allocations: 2.5 kB / 0.6315 GB, free: 52.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003344/1.201, allocations: 0.9705 MB / 0.6325 GB, free: 52.8 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.0005908/1.202, allocations: 248.2 kB / 0.6327 GB, free: 52.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005545/1.207, allocations: 4.745 MB / 0.6373 GB, free: 51.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/1.207, allocations: 3.5 kB / 0.6373 GB, free: 51.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004022/1.211, allocations: 3.279 MB / 0.6405 GB, free: 50.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004166/1.215, allocations: 0.8965 MB / 0.6414 GB, free: 50.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0113/1.227, allocations: 7.038 MB / 0.6483 GB, free: 48.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002545/1.229, allocations: 3.249 MB / 0.6515 GB, free: 47 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001893/1.231, allocations: 0.5688 MB / 0.652 GB, free: 46.96 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000456/1.232, allocations: 160.2 kB / 0.6522 GB, free: 46.95 MB / 362.7 MB Notification: Performance of SimCode: time 9.31e-07/1.232, allocations: 0 / 0.6522 GB, free: 46.95 MB / 362.7 MB Notification: Performance of Templates: time 0.07972/1.311, allocations: 58.47 MB / 0.7093 GB, free: 14.36 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)