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.0009951/0.0009951, allocations: 96.64 kB / 16.3 MB, free: 5.539 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.0009757/0.0009757, allocations: 180.2 kB / 17.2 MB, free: 5.473 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.718/1.718, allocations: 205.4 MB / 223.3 MB, free: 13.17 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.0004258/0.0004258, allocations: 8 kB / 280.1 MB, free: 3.734 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1033, allocations: 47.58 MB / 327.7 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.007061/0.1104, allocations: 5.527 MB / 333.2 MB, free: 14.52 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004581/0.115, allocations: 2.274 MB / 335.5 MB, free: 12.25 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005708/0.1156, allocations: 31.81 kB / 335.5 MB, free: 12.21 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008498/0.1165, allocations: 366.2 kB / 335.9 MB, free: 11.86 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001244/0.1177, allocations: 0.5569 MB / 336.4 MB, free: 11.3 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003885/0.1181, allocations: 183.7 kB / 336.6 MB, free: 11.12 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002142/0.1203, allocations: 1.844 MB / 338.5 MB, free: 9.273 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001681/0.122, allocations: 1.582 MB / 340 MB, free: 7.66 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001145/0.1231, allocations: 0.8954 MB / 340.9 MB, free: 6.762 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001275/0.1244, allocations: 1.086 MB / 342 MB, free: 5.672 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002333/0.1247, allocations: 152 kB / 342.2 MB, free: 5.523 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004684/0.1251, allocations: 219.9 kB / 342.4 MB, free: 5.309 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005056/0.1257, allocations: 0.6271 MB / 343 MB, free: 4.68 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004515/0.1261, allocations: 0.5355 MB / 343.6 MB, free: 4.137 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002792/0.1289, allocations: 3.716 MB / 347.3 MB, free: 420 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.1289, allocations: 0 / 347.3 MB, free: 420 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1289, allocations: 0 / 347.3 MB, free: 420 kB / 286.1 MB Notification: Performance of Transformations before backend: time 4.953e-05/0.129, allocations: 0 / 347.3 MB, free: 420 kB / 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.004407/0.1334, allocations: 2.531 MB / 349.8 MB, free: 13.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.1335, allocations: 8.031 kB / 349.8 MB, free: 13.81 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007197/0.1342, allocations: 316.6 kB / 350.1 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002448/0.1366, allocations: 1.452 MB / 351.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/0.1368, allocations: 168.4 kB / 351.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002865/0.1371, allocations: 215.9 kB / 351.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004593/0.1417, allocations: 3.147 MB / 355.1 MB, free: 8.371 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.778e-05/0.1417, allocations: 7.891 kB / 355.1 MB, free: 8.363 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001914/0.1419, allocations: 91.98 kB / 355.2 MB, free: 8.273 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001037/0.142, allocations: 108.4 kB / 355.3 MB, free: 8.164 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004185/0.1462, allocations: 2.719 MB / 358 MB, free: 5.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01347/0.1597, allocations: 8.947 MB / 367 MB, free: 12.3 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003159/0.1629, allocations: 3.386 MB / 370.3 MB, free: 8.609 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002493/0.1632, allocations: 126.4 kB / 370.5 MB, free: 8.469 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/0.1632, allocations: 47.88 kB / 370.5 MB, free: 8.414 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 3.326e-06/0.1632, allocations: 4 kB / 370.5 MB, free: 8.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.01007/0.1733, allocations: 5.708 MB / 376.2 MB, free: 2.57 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.1734, allocations: 64.72 kB / 376.3 MB, free: 2.496 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002171/0.1756, allocations: 1.478 MB / 377.8 MB, free: 1 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.13e-05/0.1757, allocations: 53.7 kB / 377.8 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1655/0.3412, allocations: 0.9347 MB / 378.8 MB, free: 50.56 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007336/0.342, allocations: 438.4 kB / 379.2 MB, free: 50.56 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.3421, allocations: 24.81 kB / 379.2 MB, free: 50.56 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.3422, allocations: 357 kB / 379.6 MB, free: 50.25 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001307/0.3436, allocations: 0.7056 MB / 380.3 MB, free: 50.25 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001438/0.345, allocations: 0.8709 MB / 381.1 MB, free: 50.12 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001336/0.3464, allocations: 0.8297 MB / 382 MB, free: 50.1 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.3464, allocations: 1.594 kB / 382 MB, free: 50.1 MB / 318.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004098/0.3505, allocations: 2.327 MB / 384.3 MB, free: 49.22 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/0.3505, allocations: 10.81 kB / 384.3 MB, free: 49.22 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/0.3506, allocations: 4.75 kB / 384.3 MB, free: 49.22 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002808/0.3534, allocations: 0.817 MB / 385.1 MB, free: 49.01 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008408/0.3542, allocations: 218.4 kB / 385.3 MB, free: 48.99 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01087/0.3651, allocations: 10.72 MB / 396.1 MB, free: 41.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/0.3664, allocations: 63.39 kB / 396.1 MB, free: 41.15 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.603e-05/0.3665, allocations: 36.69 kB / 396.2 MB, free: 41.14 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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.00128/0.3678, allocations: 0.811 MB / 397 MB, free: 40.72 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003407/0.3681, allocations: 159.7 kB / 397.1 MB, free: 40.64 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003794/0.3719, allocations: 2.316 MB / 399.4 MB, free: 39.66 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-05/0.372, allocations: 12.38 kB / 399.5 MB, free: 39.66 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/0.372, allocations: 8.062 kB / 399.5 MB, free: 39.65 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.372, allocations: 7.969 kB / 399.5 MB, free: 39.64 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006799/0.3788, allocations: 4.76 MB / 404.2 MB, free: 36.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/0.3789, allocations: 2.812 kB / 404.2 MB, free: 36.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006388/0.3795, allocations: 160.8 kB / 404.4 MB, free: 36.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002268/0.3818, allocations: 0.8119 MB / 405.2 MB, free: 36.02 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.172e-05/0.3819, allocations: 35.98 kB / 405.2 MB, free: 35.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008624/0.3905, allocations: 10.61 MB / 415.8 MB, free: 24.85 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.3905, allocations: 7.984 kB / 415.9 MB, free: 24.84 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003897/0.3944, allocations: 3.274 MB / 419.1 MB, free: 21.52 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007872/0.3952, allocations: 411.1 kB / 419.5 MB, free: 21.09 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000186/0.3954, allocations: 28 kB / 419.6 MB, free: 21.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007075/0.3962, allocations: 75.94 kB / 419.6 MB, free: 20.99 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002466/0.3964, allocations: 121 kB / 419.7 MB, free: 20.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.226e-05/0.3965, allocations: 32 kB / 419.8 MB, free: 20.84 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001211/0.3977, allocations: 1.048 MB / 420.8 MB, free: 19.79 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3977, allocations: 0 / 420.8 MB, free: 19.79 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001653/0.3994, allocations: 0.5117 MB / 421.3 MB, free: 19.28 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (78): * Single equations (assignments): 74 * 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.0003682/0.3998, allocations: 184.6 kB / 421.5 MB, free: 19.11 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003003/0.4028, allocations: 2.418 MB / 423.9 MB, free: 16.64 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.4028, allocations: 288 / 423.9 MB, free: 16.64 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001823/0.4046, allocations: 1.633 MB / 425.6 MB, free: 14.96 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001809/0.4064, allocations: 472.3 kB / 426 MB, free: 14.5 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006591/0.4131, allocations: 5.441 MB / 431.5 MB, free: 9.027 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001334/0.4144, allocations: 2.089 MB / 433.6 MB, free: 6.902 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001027/0.4154, allocations: 305.4 kB / 433.9 MB, free: 6.598 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002322/0.4157, allocations: 91.44 kB / 433.9 MB, free: 6.508 MB / 318.1 MB Notification: Performance of SimCode: time 1.302e-06/0.4157, allocations: 0 / 433.9 MB, free: 6.508 MB / 318.1 MB Notification: Performance of Templates: time 0.05021/0.4659, allocations: 29.74 MB / 463.7 MB, free: 8.734 MB / 350.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: