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.001256/0.001256, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009727/0.009727, allocations: 169.9 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.035/2.035, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.0005263/0.0005263, allocations: 8 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2773, allocations: 47.59 MB / 327 MB, free: 1.352 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.007227/0.2845, allocations: 6.329 MB / 333.4 MB, free: 12.33 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005134/0.2897, allocations: 2.293 MB / 335.7 MB, free: 10.44 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001349/0.2911, allocations: 34.66 kB / 335.7 MB, free: 10.43 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001211/0.2923, allocations: 380.4 kB / 336.1 MB, free: 10.14 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00238/0.2947, allocations: 0.6174 MB / 336.7 MB, free: 9.641 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007178/0.2955, allocations: 243.9 kB / 336.9 MB, free: 9.43 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004051/0.2995, allocations: 3.296 MB / 340.2 MB, free: 6.125 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002535/0.3021, allocations: 2.023 MB / 342.2 MB, free: 4.043 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002769/0.3049, allocations: 0.9811 MB / 343.2 MB, free: 3.062 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002565/0.3075, allocations: 1.303 MB / 344.5 MB, free: 1.754 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003854/0.3079, allocations: 152 kB / 344.7 MB, free: 1.605 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009133/0.3088, allocations: 251.8 kB / 344.9 MB, free: 1.359 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006772/0.3095, allocations: 0.6734 MB / 345.6 MB, free: 0.6836 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00163/0.3111, allocations: 1.284 MB / 346.9 MB, free: 15.38 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004761/0.3159, allocations: 4.321 MB / 351.2 MB, free: 11.05 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.3159, allocations: 0 / 351.2 MB, free: 11.05 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3159, allocations: 3.938 kB / 351.2 MB, free: 11.05 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001093/0.316, allocations: 4 kB / 351.2 MB, free: 11.04 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.005488/0.3215, allocations: 2.492 MB / 353.7 MB, free: 8.488 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.3216, allocations: 16.03 kB / 353.7 MB, free: 8.473 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009062/0.3225, allocations: 305.7 kB / 354 MB, free: 8.172 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002741/0.3253, allocations: 1.507 MB / 355.5 MB, free: 6.605 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/0.3254, allocations: 164.4 kB / 355.7 MB, free: 6.441 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003494/0.3258, allocations: 212 kB / 355.9 MB, free: 6.234 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005801/0.3316, allocations: 3.182 MB / 359.1 MB, free: 2.965 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.484e-05/0.3316, allocations: 3.938 kB / 359.1 MB, free: 2.961 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002048/0.3319, allocations: 88 kB / 359.2 MB, free: 2.875 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001367/0.332, allocations: 120.4 kB / 359.3 MB, free: 2.754 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00538/0.3374, allocations: 2.73 MB / 362 MB, free: 8 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01563/0.353, allocations: 8.97 MB / 371 MB, free: 6.863 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003492/0.3566, allocations: 3.386 MB / 374.4 MB, free: 3.164 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002055/0.3586, allocations: 1.331 MB / 375.7 MB, free: 1.84 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002518/0.3589, allocations: 122.4 kB / 375.8 MB, free: 1.703 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.203e-05/0.359, allocations: 47.81 kB / 375.9 MB, free: 1.648 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 3.216e-06/0.359, allocations: 0 / 375.9 MB, free: 1.648 MB / 302.1 MB Notification: Performance of matching and sorting (n=132): time 0.01233/0.3713, allocations: 5.69 MB / 381.5 MB, free: 11.82 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/0.3714, allocations: 68.72 kB / 381.6 MB, free: 11.74 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002498/0.3739, allocations: 1.494 MB / 383.1 MB, free: 10.23 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001533/0.3741, allocations: 45.7 kB / 383.2 MB, free: 10.18 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008013/0.3749, allocations: 0.937 MB / 384.1 MB, free: 9.23 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005616/0.3755, allocations: 445.6 kB / 384.5 MB, free: 8.789 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001725/0.3757, allocations: 105.7 kB / 384.6 MB, free: 8.68 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.3758, allocations: 361.9 kB / 385 MB, free: 8.32 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001119/0.377, allocations: 0.7052 MB / 385.7 MB, free: 7.617 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001213/0.3782, allocations: 0.8715 MB / 386.6 MB, free: 6.695 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002361/0.3806, allocations: 1.625 MB / 388.2 MB, free: 5.02 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.3806, allocations: 0 / 388.2 MB, free: 5.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004036/0.3846, allocations: 2.325 MB / 390.5 MB, free: 2.672 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/0.3847, allocations: 8 kB / 390.5 MB, free: 2.664 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.3847, allocations: 4 kB / 390.5 MB, free: 2.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002856/0.3875, allocations: 0.8267 MB / 391.3 MB, free: 1.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008163/0.3884, allocations: 207.7 kB / 391.5 MB, free: 1.617 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01282/0.4012, allocations: 10.54 MB / 402.1 MB, free: 6.531 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/0.4025, allocations: 51.97 kB / 402.1 MB, free: 6.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/0.4026, allocations: 39.98 kB / 402.2 MB, free: 6.441 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.001684/0.4043, allocations: 0.8214 MB / 403 MB, free: 5.609 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004356/0.4048, allocations: 158.1 kB / 403.2 MB, free: 5.453 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004239/0.409, allocations: 2.281 MB / 405.4 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/0.4091, allocations: 12 kB / 405.4 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.4091, allocations: 4 kB / 405.5 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.4091, allocations: 11.92 kB / 405.5 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008648/0.4178, allocations: 4.758 MB / 410.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.796e-06/0.4178, allocations: 8.062 kB / 410.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000675/0.4185, allocations: 163.8 kB / 410.4 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002796/0.4213, allocations: 0.8192 MB / 411.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.5e-05/0.4214, allocations: 31.98 kB / 411.2 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01238/0.4338, allocations: 10.42 MB / 421.7 MB, free: 2.273 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.115e-06/0.4339, allocations: 8.016 kB / 421.7 MB, free: 2.266 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00546/0.4393, allocations: 3.253 MB / 424.9 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/0.4404, allocations: 399.1 kB / 425.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002021/0.4406, allocations: 31.98 kB / 425.3 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007635/0.4414, allocations: 71.95 kB / 425.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000328/0.4417, allocations: 121.1 kB / 425.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.234e-05/0.4418, allocations: 35.94 kB / 425.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001609/0.4434, allocations: 1.056 MB / 426.6 MB, free: 13.24 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.4434, allocations: 4 kB / 426.6 MB, free: 13.24 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001877/0.4453, allocations: 0.5195 MB / 427.1 MB, free: 12.72 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.0005186/0.4458, allocations: 191.6 kB / 427.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004119/0.45, allocations: 2.416 MB / 429.7 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/0.45, allocations: 0 / 429.7 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002684/0.4527, allocations: 1.637 MB / 431.4 MB, free: 8.367 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002894/0.4556, allocations: 488.5 kB / 431.9 MB, free: 7.891 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009865/0.4655, allocations: 5.688 MB / 437.5 MB, free: 2.152 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001939/0.4675, allocations: 2.043 MB / 439.6 MB, free: 72 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001095/0.4686, allocations: 309.5 kB / 439.9 MB, free: 15.76 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002633/0.4688, allocations: 91.42 kB / 440 MB, free: 15.67 MB / 382.1 MB Notification: Performance of SimCode: time 1.373e-06/0.4689, allocations: 4 kB / 440 MB, free: 15.67 MB / 382.1 MB Notification: Performance of Templates: time 0.273/0.7418, allocations: 30.56 MB / 470.5 MB, free: 103.4 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)