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.001267/0.001268, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00182/0.001821, allocations: 199.2 kB / 16.14 MB, free: 6.707 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.832/1.832, allocations: 205.1 MB / 222 MB, free: 4.773 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.001226/0.001226, allocations: 52.41 kB / 278.1 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3422, allocations: 46.63 MB / 324.7 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.009679/0.3519, allocations: 6.786 MB / 331.5 MB, free: 12.57 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007743/0.3598, allocations: 2.315 MB / 333.8 MB, free: 10.67 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002628/0.3626, allocations: 38.12 kB / 333.8 MB, free: 10.65 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001467/0.3641, allocations: 390.3 kB / 334.2 MB, free: 10.36 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002719/0.3668, allocations: 0.6097 MB / 334.8 MB, free: 9.863 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007676/0.3676, allocations: 252.1 kB / 335.1 MB, free: 9.645 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004356/0.372, allocations: 3.289 MB / 338.4 MB, free: 6.434 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002778/0.3748, allocations: 2.039 MB / 340.4 MB, free: 4.336 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00314/0.3779, allocations: 1.118 MB / 341.5 MB, free: 3.219 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003023/0.381, allocations: 1.467 MB / 343 MB, free: 1.746 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005999/0.3816, allocations: 212 kB / 343.2 MB, free: 1.539 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001225/0.3828, allocations: 315.8 kB / 343.5 MB, free: 1.23 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008267/0.3837, allocations: 0.7438 MB / 344.2 MB, free: 496 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002393/0.3861, allocations: 1.376 MB / 345.6 MB, free: 15.1 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005248/0.3913, allocations: 4.455 MB / 350.1 MB, free: 10.63 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/0.3914, allocations: 4 kB / 350.1 MB, free: 10.63 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3914, allocations: 0 / 350.1 MB, free: 10.63 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001362/0.3915, allocations: 0 / 350.1 MB, free: 10.63 MB / 286.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.00717/0.3987, allocations: 2.952 MB / 353 MB, free: 7.613 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.3988, allocations: 12.03 kB / 353 MB, free: 7.602 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008991/0.3997, allocations: 309.6 kB / 353.3 MB, free: 7.297 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003275/0.403, allocations: 1.507 MB / 354.8 MB, free: 5.73 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001751/0.4032, allocations: 160.4 kB / 355 MB, free: 5.57 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004873/0.4037, allocations: 212 kB / 355.2 MB, free: 5.363 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008414/0.4121, allocations: 3.178 MB / 358.4 MB, free: 2.098 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.354e-05/0.4122, allocations: 3.938 kB / 358.4 MB, free: 2.094 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000338/0.4125, allocations: 91.98 kB / 358.5 MB, free: 2.004 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001871/0.4127, allocations: 108.4 kB / 358.6 MB, free: 1.895 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007434/0.4202, allocations: 2.73 MB / 361.3 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02277/0.443, allocations: 8.888 MB / 370.2 MB, free: 6.086 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00547/0.4485, allocations: 3.386 MB / 373.6 MB, free: 2.387 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003053/0.4516, allocations: 1.323 MB / 374.9 MB, free: 1.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003773/0.452, allocations: 126.4 kB / 375 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.277e-05/0.4521, allocations: 51.81 kB / 375.1 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 9.177e-06/0.4521, allocations: 3.938 kB / 375.1 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of matching and sorting (n=132): time 0.01504/0.4672, allocations: 5.624 MB / 380.7 MB, free: 11.11 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.108e-05/0.4673, allocations: 64.72 kB / 380.8 MB, free: 11.03 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002563/0.4699, allocations: 1.494 MB / 382.3 MB, free: 9.516 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001226/0.47, allocations: 49.7 kB / 382.3 MB, free: 9.461 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007328/0.4707, allocations: 0.9369 MB / 383.3 MB, free: 8.512 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003905/0.4711, allocations: 453.5 kB / 383.7 MB, free: 8.062 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003552/0.4715, allocations: 222.8 kB / 383.9 MB, free: 7.84 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001989/0.4717, allocations: 357.9 kB / 384.3 MB, free: 7.484 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001195/0.4729, allocations: 0.6935 MB / 385 MB, free: 6.789 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001329/0.4743, allocations: 0.8677 MB / 385.8 MB, free: 5.875 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002458/0.4767, allocations: 1.613 MB / 387.4 MB, free: 4.207 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.4767, allocations: 0 / 387.4 MB, free: 4.207 MB / 318.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004194/0.481, allocations: 2.31 MB / 389.8 MB, free: 1.875 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.628e-05/0.481, allocations: 4 kB / 389.8 MB, free: 1.871 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.232e-05/0.481, allocations: 4 kB / 389.8 MB, free: 1.867 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003013/0.4841, allocations: 0.8267 MB / 390.6 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008529/0.4849, allocations: 199.7 kB / 390.8 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01215/0.4971, allocations: 10.52 MB / 401.3 MB, free: 5.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/0.4984, allocations: 55.95 kB / 401.4 MB, free: 5.715 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.072e-05/0.4985, allocations: 39.94 kB / 401.4 MB, free: 5.676 MB / 334.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.001539/0.5001, allocations: 0.8253 MB / 402.2 MB, free: 4.84 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003485/0.5004, allocations: 158.1 kB / 402.4 MB, free: 4.684 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003991/0.5044, allocations: 2.277 MB / 404.7 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/0.5045, allocations: 12.06 kB / 404.7 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.313e-05/0.5045, allocations: 8 kB / 404.7 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.5045, allocations: 7.969 kB / 404.7 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007855/0.5124, allocations: 4.734 MB / 409.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.635e-06/0.5124, allocations: 0 / 409.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000683/0.5131, allocations: 163.9 kB / 409.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00259/0.5157, allocations: 0.8115 MB / 410.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.86e-05/0.5158, allocations: 24 kB / 410.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01109/0.5269, allocations: 10.4 MB / 420.8 MB, free: 1.578 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.527, allocations: 8 kB / 420.8 MB, free: 1.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005158/0.5321, allocations: 3.23 MB / 424 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009328/0.5331, allocations: 399.2 kB / 424.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002164/0.5333, allocations: 31.98 kB / 424.5 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007787/0.5341, allocations: 72.06 kB / 424.5 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003079/0.5344, allocations: 117.1 kB / 424.7 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.249e-05/0.5345, allocations: 39.94 kB / 424.7 MB, free: 13.63 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001613/0.5361, allocations: 1.064 MB / 425.8 MB, free: 12.56 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5361, allocations: 0 / 425.8 MB, free: 12.56 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002198/0.5383, allocations: 0.5117 MB / 426.3 MB, free: 12.05 MB / 366.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.0006553/0.539, allocations: 208 kB / 426.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004443/0.5435, allocations: 2.385 MB / 428.9 MB, free: 9.402 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/0.5435, allocations: 0 / 428.9 MB, free: 9.402 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002751/0.5463, allocations: 1.633 MB / 430.5 MB, free: 7.719 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003096/0.5494, allocations: 492.3 kB / 431 MB, free: 7.238 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0109/0.5603, allocations: 5.607 MB / 436.6 MB, free: 1.578 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002615/0.563, allocations: 2.035 MB / 438.6 MB, free: 15.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001449/0.5645, allocations: 313.5 kB / 438.9 MB, free: 15.19 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002962/0.5648, allocations: 95.42 kB / 439 MB, free: 15.1 MB / 382.1 MB Notification: Performance of SimCode: time 2.054e-06/0.5648, allocations: 0 / 439 MB, free: 15.1 MB / 382.1 MB Notification: Performance of Templates: time 0.2346/0.7994, allocations: 31.05 MB / 470.1 MB, free: 103.2 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)