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.001126/0.001125, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001305/0.001305, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.88/1.88, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.0005112/0.0005113, allocations: 12 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2806, allocations: 47.59 MB / 326.5 MB, free: 1.375 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.006398/0.287, allocations: 5.968 MB / 332.5 MB, free: 12.7 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004557/0.2916, allocations: 2.211 MB / 334.7 MB, free: 10.87 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001204/0.2928, allocations: 35.66 kB / 334.7 MB, free: 10.86 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001317/0.2942, allocations: 352.7 kB / 335 MB, free: 10.59 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002166/0.2964, allocations: 0.5905 MB / 335.6 MB, free: 10.12 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007469/0.2971, allocations: 177.4 kB / 335.8 MB, free: 9.977 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00393/0.3011, allocations: 3.003 MB / 338.8 MB, free: 7.125 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002749/0.3038, allocations: 1.586 MB / 340.4 MB, free: 5.508 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002164/0.306, allocations: 0.9535 MB / 341.4 MB, free: 4.551 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002833/0.3089, allocations: 1.245 MB / 342.6 MB, free: 3.301 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008564/0.3097, allocations: 156 kB / 342.8 MB, free: 3.148 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001406/0.3111, allocations: 215.9 kB / 343 MB, free: 2.938 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001091/0.3123, allocations: 0.658 MB / 343.6 MB, free: 2.277 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001571/0.3138, allocations: 0.5355 MB / 344.2 MB, free: 1.734 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005406/0.3193, allocations: 3.732 MB / 347.9 MB, free: 13.99 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.3193, allocations: 4 kB / 347.9 MB, free: 13.99 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.268e-06/0.3193, allocations: 3.984 kB / 347.9 MB, free: 13.98 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0002018/0.3195, allocations: 0 / 347.9 MB, free: 13.98 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.008337/0.3279, allocations: 2.527 MB / 350.4 MB, free: 11.39 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/0.3279, allocations: 8.031 kB / 350.4 MB, free: 11.39 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00166/0.3296, allocations: 304.8 kB / 350.7 MB, free: 11.09 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00411/0.3337, allocations: 1.464 MB / 352.2 MB, free: 9.562 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002272/0.334, allocations: 160.4 kB / 352.3 MB, free: 9.402 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006917/0.3347, allocations: 216 kB / 352.6 MB, free: 9.191 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008711/0.3434, allocations: 3.167 MB / 355.7 MB, free: 5.938 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.553e-05/0.3435, allocations: 7.891 kB / 355.7 MB, free: 5.93 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003608/0.3439, allocations: 92 kB / 355.8 MB, free: 5.84 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001266/0.344, allocations: 108.4 kB / 355.9 MB, free: 5.73 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005445/0.3495, allocations: 2.723 MB / 358.7 MB, free: 2.992 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01617/0.3656, allocations: 8.951 MB / 367.6 MB, free: 9.867 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003639/0.3693, allocations: 3.382 MB / 371 MB, free: 6.176 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002091/0.3714, allocations: 1.347 MB / 372.3 MB, free: 4.836 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002562/0.3717, allocations: 122.4 kB / 372.5 MB, free: 4.699 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.548e-05/0.3718, allocations: 47.86 kB / 372.5 MB, free: 4.645 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 2.885e-06/0.3718, allocations: 0 / 372.5 MB, free: 4.645 MB / 302.1 MB Notification: Performance of matching and sorting (n=132): time 0.01104/0.3828, allocations: 5.664 MB / 378.2 MB, free: 14.85 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.456e-05/0.383, allocations: 64.72 kB / 378.2 MB, free: 14.77 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002311/0.3853, allocations: 1.486 MB / 379.7 MB, free: 13.27 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.429e-05/0.3854, allocations: 49.64 kB / 379.8 MB, free: 13.21 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006816/0.3861, allocations: 0.937 MB / 380.7 MB, free: 12.26 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003702/0.3865, allocations: 441.6 kB / 381.1 MB, free: 11.82 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.788e-05/0.3865, allocations: 27.94 kB / 381.2 MB, free: 11.8 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.3867, allocations: 365.9 kB / 381.5 MB, free: 11.43 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001086/0.3878, allocations: 0.6935 MB / 382.2 MB, free: 10.74 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001237/0.389, allocations: 0.8715 MB / 383.1 MB, free: 9.82 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001362/0.3904, allocations: 0.8144 MB / 383.9 MB, free: 9.004 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.3904, allocations: 8 kB / 383.9 MB, free: 8.996 MB / 318.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003943/0.3944, allocations: 2.298 MB / 386.2 MB, free: 6.676 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.3944, allocations: 8 kB / 386.2 MB, free: 6.668 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.3944, allocations: 4 kB / 386.2 MB, free: 6.664 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002709/0.3972, allocations: 0.8228 MB / 387 MB, free: 5.828 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000805/0.398, allocations: 211.7 kB / 387.2 MB, free: 5.621 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01322/0.4112, allocations: 10.52 MB / 397.8 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/0.4128, allocations: 51.97 kB / 397.8 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000227/0.413, allocations: 43.98 kB / 397.9 MB, free: 10.46 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 (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 initialization (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.001781/0.4148, allocations: 0.8136 MB / 398.7 MB, free: 9.637 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005104/0.4154, allocations: 166.1 kB / 398.8 MB, free: 9.473 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004191/0.4196, allocations: 2.265 MB / 401.1 MB, free: 7.188 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-05/0.4196, allocations: 15.94 kB / 401.1 MB, free: 7.172 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/0.4196, allocations: 4 kB / 401.1 MB, free: 7.168 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.4196, allocations: 3.984 kB / 401.1 MB, free: 7.164 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008847/0.4285, allocations: 4.769 MB / 405.9 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/0.4285, allocations: 0 / 405.9 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006566/0.4292, allocations: 167.9 kB / 406 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002549/0.4318, allocations: 0.7915 MB / 406.8 MB, free: 1.324 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.379e-05/0.4319, allocations: 31.98 kB / 406.9 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01294/0.4448, allocations: 10.42 MB / 417.3 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.4449, allocations: 0 / 417.3 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005565/0.4505, allocations: 3.23 MB / 420.5 MB, free: 3.059 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001059/0.4516, allocations: 403.1 kB / 420.9 MB, free: 2.645 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004091/0.452, allocations: 31.98 kB / 420.9 MB, free: 2.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009457/0.4529, allocations: 79.84 kB / 421 MB, free: 2.535 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002882/0.4532, allocations: 117.1 kB / 421.1 MB, free: 2.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.765e-05/0.4534, allocations: 32 kB / 421.2 MB, free: 2.391 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001874/0.4552, allocations: 1.044 MB / 422.2 MB, free: 1.344 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4553, allocations: 4 kB / 422.2 MB, free: 1.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002205/0.4575, allocations: 0.5117 MB / 422.7 MB, free: 0.8281 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004582/0.4579, allocations: 166.4 kB / 422.9 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003892/0.4618, allocations: 2.401 MB / 425.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.4619, allocations: 4.188 kB / 425.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002542/0.4644, allocations: 1.636 MB / 426.9 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002604/0.467, allocations: 0.5003 MB / 427.4 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009323/0.4764, allocations: 5.435 MB / 432.9 MB, free: 6.523 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002412/0.4788, allocations: 2.039 MB / 434.9 MB, free: 4.449 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001249/0.4801, allocations: 313.5 kB / 435.2 MB, free: 4.137 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003947/0.4805, allocations: 95.36 kB / 435.3 MB, free: 4.043 MB / 366.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4805, allocations: 0 / 435.3 MB, free: 4.043 MB / 366.1 MB Notification: Performance of Templates: time 0.2777/0.7582, allocations: 29.76 MB / 465.1 MB, free: 101.8 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)