Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001424/0.001424, allocations: 112.4 kB / 17.07 MB, free: 5.969 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.00151/0.00151, allocations: 190.8 kB / 18 MB, free: 5.055 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.733/1.733, allocations: 205.1 MB / 223.9 MB, free: 12.27 MB / 190.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.001251/0.001251, allocations: 55.92 kB / 327.9 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1233, allocations: 46.62 MB / 374.5 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.3359/0.4593, allocations: 6.804 MB / 381.3 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004169/0.4635, allocations: 2.333 MB / 383.6 MB, free: 8.77 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006209/0.4642, allocations: 46.66 kB / 383.7 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001104/0.4653, allocations: 454.6 kB / 384.1 MB, free: 8.562 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001633/0.4669, allocations: 0.6637 MB / 384.8 MB, free: 8.223 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006131/0.4676, allocations: 285.5 kB / 385.1 MB, free: 8.047 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002956/0.4705, allocations: 2.912 MB / 388 MB, free: 6.59 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002512/0.4731, allocations: 2.447 MB / 390.4 MB, free: 5.598 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002695/0.4758, allocations: 1.314 MB / 391.7 MB, free: 4.969 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002481/0.4783, allocations: 1.527 MB / 393.3 MB, free: 4.23 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006027/0.4789, allocations: 352.9 kB / 393.6 MB, free: 4.227 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001078/0.48, allocations: 431 kB / 394 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008251/0.4808, allocations: 0.8909 MB / 394.9 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001678/0.4825, allocations: 1.525 MB / 396.5 MB, free: 2.719 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005364/0.4879, allocations: 4.626 MB / 401.1 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.4879, allocations: 4 kB / 401.1 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.4879, allocations: 1.094 kB / 401.1 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001358/0.488, allocations: 0 / 401.1 MB, free: 0.5195 MB / 318.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.007091/0.4951, allocations: 3.015 MB / 404.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.4952, allocations: 9.281 kB / 404.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000877/0.4961, allocations: 325 kB / 404.4 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002578/0.4987, allocations: 1.529 MB / 406 MB, free: 13.19 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/0.4988, allocations: 176.4 kB / 406.1 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003248/0.4991, allocations: 210.4 kB / 406.3 MB, free: 13.03 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005373/0.5045, allocations: 3.176 MB / 409.5 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.354e-05/0.5046, allocations: 5.281 kB / 409.5 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002178/0.5048, allocations: 90.38 kB / 409.6 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001445/0.505, allocations: 109.7 kB / 409.7 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005024/0.51, allocations: 2.726 MB / 412.4 MB, free: 9.391 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01469/0.5247, allocations: 8.805 MB / 421.2 MB, free: 424 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003505/0.5282, allocations: 3.382 MB / 424.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001896/0.5302, allocations: 1.316 MB / 425.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002622/0.5304, allocations: 130.4 kB / 426.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.394e-05/0.5305, allocations: 59.81 kB / 426.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=128): time 3.227e-06/0.5305, allocations: 0 / 426.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=132): time 0.01158/0.5421, allocations: 5.671 MB / 431.8 MB, free: 5.398 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/0.5422, allocations: 64.72 kB / 431.9 MB, free: 5.324 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002605/0.5448, allocations: 1.498 MB / 433.4 MB, free: 3.809 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001147/0.5449, allocations: 45.7 kB / 433.4 MB, free: 3.758 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007365/0.5457, allocations: 0.9588 MB / 434.4 MB, free: 2.789 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004229/0.5461, allocations: 472 kB / 434.8 MB, free: 2.324 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003757/0.5465, allocations: 218.9 kB / 435 MB, free: 2.102 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.5467, allocations: 357.9 kB / 435.4 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001044/0.5477, allocations: 0.6935 MB / 436.1 MB, free: 1.055 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001232/0.549, allocations: 0.8677 MB / 436.9 MB, free: 140 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002343/0.5513, allocations: 1.605 MB / 438.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.5513, allocations: 0 / 438.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003961/0.5553, allocations: 2.318 MB / 440.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.5553, allocations: 8 kB / 440.9 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.5554, allocations: 4 kB / 440.9 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002334/0.5577, allocations: 0.7643 MB / 441.6 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008335/0.5586, allocations: 207.8 kB / 441.8 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01322/0.5718, allocations: 11.52 MB / 453.4 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001515/0.5733, allocations: 51.95 kB / 453.4 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002577/0.5736, allocations: 44 kB / 453.5 MB, free: 14.98 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.00208/0.5757, allocations: 0.8174 MB / 454.3 MB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007134/0.5764, allocations: 167 kB / 454.4 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004622/0.5811, allocations: 2.269 MB / 456.7 MB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/0.5811, allocations: 12 kB / 456.7 MB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.34e-05/0.5811, allocations: 4 kB / 456.7 MB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.546e-05/0.5811, allocations: 7.984 kB / 456.7 MB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009879/0.591, allocations: 4.715 MB / 461.4 MB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/0.5911, allocations: 4.062 kB / 461.4 MB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006823/0.5918, allocations: 160.4 kB / 461.6 MB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002285/0.5941, allocations: 0.7605 MB / 462.4 MB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001224/0.5942, allocations: 28 kB / 462.4 MB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01312/0.6073, allocations: 11.4 MB / 473.8 MB, free: 9.945 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.6074, allocations: 4.031 kB / 473.8 MB, free: 9.941 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005925/0.6133, allocations: 3.24 MB / 477 MB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001395/0.6147, allocations: 416 kB / 477.4 MB, free: 6.23 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006749/0.6154, allocations: 28 kB / 477.5 MB, free: 6.203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001319/0.6168, allocations: 67.94 kB / 477.5 MB, free: 6.137 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003954/0.6172, allocations: 117.1 kB / 477.6 MB, free: 6.023 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001096/0.6173, allocations: 35.98 kB / 477.7 MB, free: 5.988 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002114/0.6194, allocations: 1.06 MB / 478.7 MB, free: 4.926 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.6194, allocations: 0 / 478.7 MB, free: 4.926 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002799/0.6222, allocations: 0.5156 MB / 479.3 MB, free: 4.41 MB / 398.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.0006795/0.6229, allocations: 202 kB / 479.5 MB, free: 4.207 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004451/0.6274, allocations: 2.423 MB / 481.9 MB, free: 1.727 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.6274, allocations: 0 / 481.9 MB, free: 1.727 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002699/0.6301, allocations: 1.641 MB / 483.5 MB, free: 36 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00348/0.6336, allocations: 0.5056 MB / 484 MB, free: 15.53 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01016/0.6438, allocations: 4.66 MB / 488.7 MB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002799/0.6466, allocations: 2.047 MB / 490.7 MB, free: 8.734 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001387/0.648, allocations: 301.5 kB / 491 MB, free: 8.434 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005253/0.6486, allocations: 95.42 kB / 491.1 MB, free: 8.344 MB / 414.1 MB Notification: Performance of SimCode: time 1.543e-06/0.6486, allocations: 0 / 491.1 MB, free: 8.344 MB / 414.1 MB Notification: Performance of Templates: time 0.06391/0.7125, allocations: 33.06 MB / 0.5119 GB, free: 7.223 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1)