Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008725/0.008725, allocations: 95.61 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 197.7 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.853/1.853, allocations: 205.1 MB / 222.6 MB, free: 4.535 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 48.36 kB / 326.6 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1311, allocations: 46.62 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.008219/0.1394, allocations: 6.813 MB / 380 MB, free: 10.46 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004846/0.1443, allocations: 2.341 MB / 382.3 MB, free: 8.117 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009146/0.1452, allocations: 39.81 kB / 382.4 MB, free: 8.078 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001179/0.1464, allocations: 456.9 kB / 382.8 MB, free: 7.629 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001997/0.1484, allocations: 0.668 MB / 383.5 MB, free: 6.957 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006728/0.1491, allocations: 279.7 kB / 383.8 MB, free: 6.684 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003281/0.1524, allocations: 2.91 MB / 386.7 MB, free: 3.762 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003259/0.1557, allocations: 2.45 MB / 389.1 MB, free: 1.246 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00288/0.1586, allocations: 1.304 MB / 390.4 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002238/0.1608, allocations: 1.537 MB / 392 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004965/0.1613, allocations: 352 kB / 392.3 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008461/0.1622, allocations: 431.8 kB / 392.7 MB, free: 13.63 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009033/0.1631, allocations: 0.8922 MB / 393.6 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001947/0.1651, allocations: 1.521 MB / 395.1 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004526/0.1696, allocations: 4.629 MB / 399.8 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.1696, allocations: 0 / 399.8 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.098e-06/0.1696, allocations: 0 / 399.8 MB, free: 6.562 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.617e-05/0.1697, allocations: 7.938 kB / 399.8 MB, free: 6.555 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.005512/0.1752, allocations: 3.019 MB / 402.8 MB, free: 3.469 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.1753, allocations: 8.031 kB / 402.8 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007684/0.1761, allocations: 323.1 kB / 403.1 MB, free: 3.145 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002344/0.1784, allocations: 1.535 MB / 404.7 MB, free: 1.551 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/0.1785, allocations: 160.4 kB / 404.8 MB, free: 1.391 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003201/0.1789, allocations: 216 kB / 405 MB, free: 1.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005375/0.1842, allocations: 3.178 MB / 408.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.335e-05/0.1843, allocations: 0 / 408.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002105/0.1845, allocations: 91.98 kB / 408.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001803/0.1847, allocations: 112.4 kB / 408.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004628/0.1894, allocations: 2.723 MB / 411.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01491/0.2043, allocations: 8.805 MB / 419.9 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00341/0.2077, allocations: 3.386 MB / 423.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001868/0.2096, allocations: 1.312 MB / 424.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002726/0.2099, allocations: 130.3 kB / 424.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.455e-05/0.21, allocations: 51.81 kB / 424.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 4.107e-06/0.21, allocations: 0 / 424.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=132): time 0.01051/0.2205, allocations: 5.671 MB / 430.5 MB, free: 6.988 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.2206, allocations: 64.72 kB / 430.5 MB, free: 6.914 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002294/0.2229, allocations: 1.494 MB / 432 MB, free: 5.402 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.333e-05/0.223, allocations: 49.7 kB / 432.1 MB, free: 5.348 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007374/0.2237, allocations: 0.9549 MB / 433 MB, free: 4.383 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003427/0.2241, allocations: 468 kB / 433.5 MB, free: 3.922 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003547/0.2244, allocations: 230.9 kB / 433.7 MB, free: 3.688 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.2246, allocations: 357.9 kB / 434.1 MB, free: 3.332 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009984/0.2256, allocations: 0.6896 MB / 434.8 MB, free: 2.645 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001138/0.2267, allocations: 0.8715 MB / 435.6 MB, free: 1.719 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002109/0.2289, allocations: 1.609 MB / 437.2 MB, free: 60 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.2289, allocations: 3.938 kB / 437.2 MB, free: 56 kB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00372/0.2326, allocations: 2.318 MB / 439.6 MB, free: 13.71 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.2326, allocations: 8 kB / 439.6 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.2327, allocations: 4 kB / 439.6 MB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002236/0.2349, allocations: 0.7643 MB / 440.3 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007955/0.2357, allocations: 199.7 kB / 440.5 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01269/0.2484, allocations: 11.51 MB / 452 MB, free: 0.6562 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/0.2498, allocations: 51.95 kB / 452.1 MB, free: 0.6055 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/0.2499, allocations: 43.98 kB / 452.1 MB, free: 0.5625 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 6 (diode2.idealDiode[3].off,diode2.idealDiode[2].off,diode2.idealDiode[1].off,diode1.idealDiode[3].off,diode1.idealDiode[2].off,diode1.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.2457/0.4957, allocations: 0.8169 MB / 453 MB, free: 69.11 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006776/0.4963, allocations: 168 kB / 453.1 MB, free: 69.11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004837/0.5012, allocations: 2.271 MB / 455.4 MB, free: 69 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.016e-05/0.5012, allocations: 17.17 kB / 455.4 MB, free: 68.99 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/0.5013, allocations: 8.688 kB / 455.4 MB, free: 68.99 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-05/0.5013, allocations: 6.281 kB / 455.4 MB, free: 68.99 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009247/0.5105, allocations: 4.704 MB / 460.1 MB, free: 67.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.888e-06/0.5106, allocations: 2.344 kB / 460.1 MB, free: 67.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007208/0.5113, allocations: 162.9 kB / 460.3 MB, free: 67.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002183/0.5135, allocations: 0.747 MB / 461 MB, free: 67.42 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-05/0.5136, allocations: 32.34 kB / 461.1 MB, free: 67.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01165/0.5253, allocations: 11.4 MB / 472.5 MB, free: 59.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.5253, allocations: 3.375 kB / 472.5 MB, free: 59.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005069/0.5304, allocations: 3.245 MB / 475.7 MB, free: 57.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00103/0.5315, allocations: 409.7 kB / 476.1 MB, free: 57.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001934/0.5317, allocations: 35.16 kB / 476.1 MB, free: 57.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007687/0.5324, allocations: 67.16 kB / 476.2 MB, free: 57.33 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003433/0.5328, allocations: 119 kB / 476.3 MB, free: 57.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.161e-05/0.5329, allocations: 36.25 kB / 476.4 MB, free: 57.26 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001639/0.5345, allocations: 1.057 MB / 477.4 MB, free: 56.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5345, allocations: 0 / 477.4 MB, free: 56.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00262/0.5372, allocations: 0.511 MB / 477.9 MB, free: 56.63 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i) * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000645/0.5378, allocations: 205.8 kB / 478.1 MB, free: 56.49 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003762/0.5416, allocations: 2.411 MB / 480.5 MB, free: 55 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.5416, allocations: 0 / 480.5 MB, free: 55 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002313/0.5439, allocations: 1.641 MB / 482.2 MB, free: 53.67 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002259/0.5462, allocations: 0.5156 MB / 482.7 MB, free: 53.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007121/0.5533, allocations: 4.665 MB / 487.4 MB, free: 48.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001382/0.5547, allocations: 2.051 MB / 489.4 MB, free: 46.42 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008559/0.5556, allocations: 305.5 kB / 489.7 MB, free: 46.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002297/0.5558, allocations: 99.36 kB / 489.8 MB, free: 46.02 MB / 382.1 MB Notification: Performance of SimCode: time 9.02e-07/0.5559, allocations: 4 kB / 489.8 MB, free: 46.01 MB / 382.1 MB Notification: Performance of Templates: time 0.04874/0.6046, allocations: 33.04 MB / 0.5106 GB, free: 12.93 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1)