Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.01101/0.01101, 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.001727/0.001728, 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.951/1.951, allocations: 205.1 MB / 222.6 MB, free: 4.539 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.001871/0.001871, allocations: 46.2 kB / 326.6 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1565, allocations: 46.63 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.009383/0.166, allocations: 6.806 MB / 380 MB, free: 10.48 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005715/0.1717, allocations: 2.345 MB / 382.3 MB, free: 8.129 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001616/0.1734, allocations: 39.81 kB / 382.4 MB, free: 8.09 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001688/0.1752, allocations: 464.9 kB / 382.8 MB, free: 7.633 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003263/0.1784, allocations: 0.6836 MB / 383.5 MB, free: 6.945 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.1796, allocations: 283.7 kB / 383.8 MB, free: 6.668 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004591/0.1842, allocations: 2.918 MB / 386.7 MB, free: 3.738 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004723/0.1889, allocations: 2.443 MB / 389.1 MB, free: 1.23 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003572/0.1925, allocations: 1.32 MB / 390.5 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003099/0.1956, allocations: 1.537 MB / 392 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001104/0.1967, allocations: 352 kB / 392.3 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001314/0.1981, allocations: 431.8 kB / 392.8 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009316/0.199, allocations: 0.8883 MB / 393.7 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002332/0.2014, allocations: 1.525 MB / 395.2 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005822/0.2072, allocations: 4.625 MB / 399.8 MB, free: 6.535 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.303e-05/0.2072, allocations: 3.984 kB / 399.8 MB, free: 6.531 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.846e-06/0.2073, allocations: 0 / 399.8 MB, free: 6.531 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001746/0.2074, allocations: 4 kB / 399.8 MB, free: 6.527 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.007156/0.2146, allocations: 3.019 MB / 402.8 MB, free: 3.441 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.2147, allocations: 8.031 kB / 402.8 MB, free: 3.434 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008929/0.2156, allocations: 327.1 kB / 403.2 MB, free: 3.113 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003138/0.2187, allocations: 1.527 MB / 404.7 MB, free: 1.527 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001609/0.2189, allocations: 160.4 kB / 404.8 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004245/0.2193, allocations: 219.9 kB / 405.1 MB, free: 1.152 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006242/0.2256, allocations: 3.171 MB / 408.2 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.989e-05/0.2257, allocations: 3.938 kB / 408.2 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002217/0.2259, allocations: 95.97 kB / 408.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001345/0.2261, allocations: 108.4 kB / 408.4 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00489/0.2309, allocations: 2.723 MB / 411.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01558/0.2466, allocations: 8.805 MB / 420 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003915/0.2505, allocations: 3.386 MB / 423.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002119/0.2527, allocations: 1.312 MB / 424.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003124/0.253, allocations: 130.3 kB / 424.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.957e-05/0.2531, allocations: 51.81 kB / 424.8 MB, free: 12.76 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.617e-06/0.2531, allocations: 0 / 424.8 MB, free: 12.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=132): time 0.01142/0.2645, allocations: 5.675 MB / 430.5 MB, free: 6.961 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.676e-05/0.2646, allocations: 64.72 kB / 430.6 MB, free: 6.887 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00238/0.267, allocations: 1.486 MB / 432.1 MB, free: 5.383 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00013/0.2671, allocations: 53.7 kB / 432.1 MB, free: 5.324 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007766/0.2679, allocations: 0.9588 MB / 433.1 MB, free: 4.355 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004194/0.2683, allocations: 475.9 kB / 433.5 MB, free: 3.887 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003846/0.2687, allocations: 222.9 kB / 433.8 MB, free: 3.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.2689, allocations: 353.9 kB / 434.1 MB, free: 3.309 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001097/0.27, allocations: 0.6896 MB / 434.8 MB, free: 2.621 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/0.2712, allocations: 0.8715 MB / 435.7 MB, free: 1.695 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002339/0.2736, allocations: 1.613 MB / 437.3 MB, free: 32 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.862e-06/0.2736, allocations: 3.938 kB / 437.3 MB, free: 28 kB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004034/0.2776, allocations: 2.322 MB / 439.6 MB, free: 13.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.2777, allocations: 8 kB / 439.6 MB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/0.2777, allocations: 4 kB / 439.6 MB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002403/0.2801, allocations: 0.7604 MB / 440.4 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008236/0.2809, allocations: 199.7 kB / 440.6 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0131/0.294, allocations: 11.52 MB / 452.1 MB, free: 0.625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001442/0.2955, allocations: 51.95 kB / 452.1 MB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.64e-05/0.2956, allocations: 44 kB / 452.2 MB, free: 0.5312 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.2907/0.5863, allocations: 0.8112 MB / 453 MB, free: 69.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008723/0.5872, allocations: 167.8 kB / 453.2 MB, free: 69.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005585/0.5928, allocations: 2.266 MB / 455.4 MB, free: 68.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-05/0.5928, allocations: 16.41 kB / 455.4 MB, free: 68.97 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/0.5929, allocations: 12.59 kB / 455.4 MB, free: 68.97 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.877e-05/0.5929, allocations: 6.047 kB / 455.5 MB, free: 68.97 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009739/0.6026, allocations: 4.707 MB / 460.2 MB, free: 67.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.6027, allocations: 1.25 kB / 460.2 MB, free: 67.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007077/0.6034, allocations: 159.6 kB / 460.3 MB, free: 67.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00223/0.6056, allocations: 0.749 MB / 461.1 MB, free: 67.38 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001088/0.6058, allocations: 32.3 kB / 461.1 MB, free: 67.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01128/0.617, allocations: 11.4 MB / 472.5 MB, free: 59.05 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.6171, allocations: 3.812 kB / 472.5 MB, free: 59.05 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0054/0.6225, allocations: 3.241 MB / 475.7 MB, free: 57.58 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/0.6236, allocations: 409.6 kB / 476.1 MB, free: 57.35 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000178/0.6238, allocations: 39.02 kB / 476.2 MB, free: 57.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007567/0.6245, allocations: 71.19 kB / 476.3 MB, free: 57.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003144/0.6249, allocations: 115 kB / 476.4 MB, free: 57.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.806e-05/0.625, allocations: 31.69 kB / 476.4 MB, free: 57.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001593/0.6266, allocations: 1.052 MB / 477.4 MB, free: 56.65 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.6266, allocations: 1.094 kB / 477.4 MB, free: 56.65 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002437/0.629, allocations: 0.5128 MB / 478 MB, free: 56.6 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.0005268/0.6295, allocations: 205.6 kB / 478.2 MB, free: 56.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003303/0.6329, allocations: 2.411 MB / 480.6 MB, free: 54.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.75e-06/0.6329, allocations: 3.969 kB / 480.6 MB, free: 54.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002106/0.635, allocations: 1.64 MB / 482.2 MB, free: 53.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002117/0.6371, allocations: 0.5184 MB / 482.7 MB, free: 53.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006894/0.644, allocations: 4.671 MB / 487.4 MB, free: 48.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001364/0.6454, allocations: 2.039 MB / 489.4 MB, free: 46.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009376/0.6464, allocations: 309.5 kB / 489.7 MB, free: 46.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002383/0.6466, allocations: 99.42 kB / 489.8 MB, free: 46 MB / 382.1 MB Notification: Performance of SimCode: time 1.443e-06/0.6466, allocations: 0 / 489.8 MB, free: 46 MB / 382.1 MB Notification: Performance of Templates: time 0.04951/0.6962, allocations: 33.05 MB / 0.5106 GB, free: 12.91 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1)