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.001324/0.001324, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.001664/0.001664, allocations: 177.3 kB / 15.94 MB, free: 228 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.516/1.516, allocations: 205.4 MB / 222.1 MB, free: 5.676 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.0004151/0.0004153, allocations: 8 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2492, allocations: 47.58 MB / 326.5 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.007767/0.257, allocations: 5.526 MB / 332 MB, free: 13.15 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005827/0.2629, allocations: 2.274 MB / 334.3 MB, free: 11.3 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001878/0.2648, allocations: 35.59 kB / 334.3 MB, free: 11.29 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001648/0.2665, allocations: 367.1 kB / 334.6 MB, free: 10.99 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002922/0.2695, allocations: 0.5541 MB / 335.2 MB, free: 10.53 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009681/0.2705, allocations: 175.8 kB / 335.4 MB, free: 10.38 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003895/0.2744, allocations: 1.846 MB / 337.2 MB, free: 8.73 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003148/0.2775, allocations: 1.594 MB / 338.8 MB, free: 7.105 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002347/0.2799, allocations: 0.8914 MB / 339.7 MB, free: 6.211 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002695/0.2826, allocations: 1.082 MB / 340.8 MB, free: 5.125 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009029/0.2836, allocations: 156 kB / 340.9 MB, free: 4.973 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001514/0.2851, allocations: 219.9 kB / 341.2 MB, free: 4.758 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001414/0.2865, allocations: 0.627 MB / 341.8 MB, free: 4.129 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00193/0.2885, allocations: 0.5278 MB / 342.3 MB, free: 3.594 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005457/0.2939, allocations: 3.724 MB / 346 MB, free: 15.86 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.294, allocations: 0 / 346 MB, free: 15.86 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.294, allocations: 0 / 346 MB, free: 15.86 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001959/0.2942, allocations: 0 / 346 MB, free: 15.86 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.008127/0.3023, allocations: 2.535 MB / 348.6 MB, free: 13.26 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.3024, allocations: 8.031 kB / 348.6 MB, free: 13.25 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001733/0.3041, allocations: 300.8 kB / 348.9 MB, free: 12.96 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003949/0.3081, allocations: 1.456 MB / 350.3 MB, free: 11.44 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001637/0.3083, allocations: 168.3 kB / 350.5 MB, free: 11.27 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007056/0.309, allocations: 216 kB / 350.7 MB, free: 11.06 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007989/0.317, allocations: 3.139 MB / 353.8 MB, free: 7.836 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.576e-05/0.3171, allocations: 7.953 kB / 353.8 MB, free: 7.828 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004444/0.3176, allocations: 92 kB / 353.9 MB, free: 7.738 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001559/0.3177, allocations: 108.4 kB / 354 MB, free: 7.629 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006385/0.3241, allocations: 2.719 MB / 356.8 MB, free: 4.895 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01877/0.3429, allocations: 8.963 MB / 365.7 MB, free: 11.76 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00333/0.3463, allocations: 3.386 MB / 369.1 MB, free: 8.062 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002685/0.3466, allocations: 126.4 kB / 369.2 MB, free: 7.922 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/0.3467, allocations: 43.88 kB / 369.3 MB, free: 7.871 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 3.747e-06/0.3467, allocations: 0 / 369.3 MB, free: 7.871 MB / 302.1 MB Notification: Performance of matching and sorting (n=132): time 0.01139/0.3581, allocations: 5.712 MB / 375 MB, free: 2.027 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.234e-05/0.3583, allocations: 64.72 kB / 375 MB, free: 1.953 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002579/0.3608, allocations: 1.486 MB / 376.5 MB, free: 460 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000125/0.361, allocations: 45.7 kB / 376.6 MB, free: 408 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008096/0.3618, allocations: 0.9371 MB / 377.5 MB, free: 15.45 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003942/0.3622, allocations: 449.5 kB / 378 MB, free: 15 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-05/0.3623, allocations: 24 kB / 378 MB, free: 14.98 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.3625, allocations: 353.9 kB / 378.3 MB, free: 14.63 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001071/0.3635, allocations: 0.7052 MB / 379 MB, free: 13.92 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001157/0.3647, allocations: 0.8707 MB / 379.9 MB, free: 13.01 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/0.3659, allocations: 0.83 MB / 380.7 MB, free: 12.18 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.177e-06/0.3659, allocations: 0 / 380.7 MB, free: 12.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004078/0.37, allocations: 2.333 MB / 383.1 MB, free: 9.82 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.977e-05/0.37, allocations: 11.98 kB / 383.1 MB, free: 9.809 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.37, allocations: 8 kB / 383.1 MB, free: 9.801 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002877/0.3729, allocations: 0.8228 MB / 383.9 MB, free: 8.965 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008905/0.3738, allocations: 207.7 kB / 384.1 MB, free: 8.762 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01359/0.3874, allocations: 10.71 MB / 394.8 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/0.3891, allocations: 51.97 kB / 394.9 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000281/0.3894, allocations: 52.05 kB / 394.9 MB, free: 13.41 MB / 334.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.001888/0.3913, allocations: 0.8136 MB / 395.7 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004904/0.3918, allocations: 162.1 kB / 395.9 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004142/0.3959, allocations: 2.296 MB / 398.2 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.709e-05/0.3959, allocations: 15.94 kB / 398.2 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.396, allocations: 4.469 kB / 398.2 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.332e-05/0.396, allocations: 7.984 kB / 398.2 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009444/0.4054, allocations: 4.77 MB / 403 MB, free: 5.211 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/0.4055, allocations: 4.062 kB / 403 MB, free: 5.207 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007163/0.4062, allocations: 163.8 kB / 403.2 MB, free: 5.047 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002763/0.409, allocations: 0.8031 MB / 404 MB, free: 4.23 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001355/0.4092, allocations: 28 kB / 404 MB, free: 4.203 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01362/0.4228, allocations: 10.62 MB / 414.6 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.4229, allocations: 0 / 414.6 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00594/0.4288, allocations: 3.292 MB / 417.9 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001444/0.4303, allocations: 403.1 kB / 418.3 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005551/0.4309, allocations: 27.98 kB / 418.3 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/0.4321, allocations: 83.89 kB / 418.4 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003847/0.4325, allocations: 109.1 kB / 418.5 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000122/0.4326, allocations: 36 kB / 418.5 MB, free: 5.031 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002128/0.4348, allocations: 1.04 MB / 419.6 MB, free: 3.988 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4348, allocations: 4 kB / 419.6 MB, free: 3.984 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002457/0.4372, allocations: 0.5156 MB / 420.1 MB, free: 3.469 MB / 350.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.0005424/0.4378, allocations: 178.5 kB / 420.3 MB, free: 3.289 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004139/0.442, allocations: 2.428 MB / 422.7 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/0.442, allocations: 0 / 422.7 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002543/0.4445, allocations: 1.62 MB / 424.3 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002678/0.4472, allocations: 480.5 kB / 424.8 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009172/0.4564, allocations: 5.45 MB / 430.2 MB, free: 9.172 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001795/0.4583, allocations: 2.082 MB / 432.3 MB, free: 7.059 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001188/0.4595, allocations: 309.4 kB / 432.6 MB, free: 6.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002646/0.4598, allocations: 91.42 kB / 432.7 MB, free: 6.66 MB / 366.1 MB Notification: Performance of SimCode: time 1.563e-06/0.4598, allocations: 0 / 432.7 MB, free: 6.66 MB / 366.1 MB Notification: Performance of Templates: time 0.2808/0.7405, allocations: 29.72 MB / 462.4 MB, free: 110.6 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: