Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009949/0.009949, allocations: 102.7 kB / 15.73 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.001939/0.001939, allocations: 193.2 kB / 16.67 MB, free: 5.469 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.898/1.898, allocations: 205.1 MB / 222.5 MB, free: 12.23 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.001385/0.001385, allocations: 55.92 kB / 326.6 MB, free: 3.277 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1492, allocations: 46.62 MB / 373.2 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.006443/0.1557, allocations: 3.616 MB / 376.8 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2875/0.4433, allocations: 1.042 MB / 377.8 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008595/0.4442, allocations: 18.03 kB / 377.9 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000433/0.4448, allocations: 103.2 kB / 378 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001076/0.4459, allocations: 239 kB / 378.2 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004341/0.4463, allocations: 146.1 kB / 378.3 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001156/0.4475, allocations: 0.9564 MB / 379.3 MB, free: 9.594 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008559/0.4483, allocations: 0.5576 MB / 379.8 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006018/0.4489, allocations: 406.5 kB / 380.2 MB, free: 9.441 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008119/0.4498, allocations: 493.8 kB / 380.7 MB, free: 9.352 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001566/0.4499, allocations: 99.84 kB / 380.8 MB, free: 9.352 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001851/0.4501, allocations: 98.97 kB / 380.9 MB, free: 9.352 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002958/0.4504, allocations: 278.1 kB / 381.2 MB, free: 9.312 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000535/0.451, allocations: 470 kB / 381.7 MB, free: 9.184 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002069/0.453, allocations: 1.273 MB / 382.9 MB, free: 8.773 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.227e-06/0.4531, allocations: 1.781 kB / 382.9 MB, free: 8.773 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.4531, allocations: 4 kB / 382.9 MB, free: 8.77 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.672e-05/0.4531, allocations: 0 / 382.9 MB, free: 8.77 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.002438/0.4556, allocations: 1.15 MB / 384.1 MB, free: 7.996 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.4556, allocations: 8.906 kB / 384.1 MB, free: 7.996 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001871/0.4558, allocations: 95.16 kB / 384.2 MB, free: 7.949 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009615/0.4568, allocations: 0.6042 MB / 384.8 MB, free: 7.543 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.911e-05/0.4568, allocations: 47.86 kB / 384.8 MB, free: 7.523 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/0.457, allocations: 74.66 kB / 384.9 MB, free: 7.492 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001801/0.4588, allocations: 0.9044 MB / 385.8 MB, free: 7.113 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.817e-05/0.4588, allocations: 0.75 kB / 385.8 MB, free: 7.113 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-05/0.4589, allocations: 29.3 kB / 385.8 MB, free: 7.094 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.961e-05/0.459, allocations: 32.8 kB / 385.9 MB, free: 7.086 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001641/0.4606, allocations: 0.788 MB / 386.7 MB, free: 6.805 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004176/0.4648, allocations: 2.754 MB / 389.4 MB, free: 5.207 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/0.4659, allocations: 0.74 MB / 390.2 MB, free: 4.707 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000728/0.4667, allocations: 342.8 kB / 390.5 MB, free: 4.586 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.448e-05/0.4667, allocations: 5.734 kB / 390.5 MB, free: 4.586 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007629/0.4675, allocations: 382.2 kB / 390.9 MB, free: 4.41 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 2.354e-06/0.4675, allocations: 4 kB / 390.9 MB, free: 4.406 MB / 318.1 MB Notification: Performance of matching and sorting (n=43): time 0.002956/0.4705, allocations: 1.186 MB / 392.1 MB, free: 3.953 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.058e-05/0.4706, allocations: 113.2 kB / 392.2 MB, free: 3.824 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007964/0.4714, allocations: 0.5661 MB / 392.7 MB, free: 3.574 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.825e-05/0.4714, allocations: 37.27 kB / 392.8 MB, free: 3.535 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002457/0.4717, allocations: 351.6 kB / 393.1 MB, free: 3.262 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.4718, allocations: 137.3 kB / 393.2 MB, free: 3.16 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.4719, allocations: 95.97 kB / 393.3 MB, free: 3.105 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.472, allocations: 366.2 kB / 393.7 MB, free: 2.77 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003983/0.4724, allocations: 224.2 kB / 393.9 MB, free: 2.688 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004013/0.4729, allocations: 355.9 kB / 394.3 MB, free: 2.453 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007517/0.4736, allocations: 0.5655 MB / 394.8 MB, free: 2.117 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.4736, allocations: 1.406 kB / 394.8 MB, free: 2.117 MB / 318.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001114/0.4747, allocations: 0.7597 MB / 395.6 MB, free: 1.797 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.4748, allocations: 6.875 kB / 395.6 MB, free: 1.797 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.4748, allocations: 4.625 kB / 395.6 MB, free: 1.797 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004895/0.4753, allocations: 209.4 kB / 395.8 MB, free: 1.723 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002992/0.4756, allocations: 71.38 kB / 395.9 MB, free: 1.719 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002909/0.4785, allocations: 2.927 MB / 398.8 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003965/0.4789, allocations: 55.41 kB / 398.9 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.213e-05/0.479, allocations: 18.83 kB / 398.9 MB, free: 15.54 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0005037/0.4795, allocations: 330.4 kB / 399.2 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.682e-05/0.4796, allocations: 54.28 kB / 399.3 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001327/0.4797, allocations: 68.08 kB / 399.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.4797, allocations: 8.375 kB / 399.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.4797, allocations: 1.469 kB / 399.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.4798, allocations: 3.984 kB / 399.3 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002396/0.4822, allocations: 1.618 MB / 401 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.4822, allocations: 11.91 kB / 401 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002558/0.4824, allocations: 51.34 kB / 401 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004456/0.4829, allocations: 200.2 kB / 401.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.352e-05/0.4829, allocations: 7.344 kB / 401.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003395/0.4863, allocations: 2.916 MB / 404.1 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.4864, allocations: 1.906 kB / 404.1 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001732/0.4881, allocations: 1.099 MB / 405.2 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003294/0.4884, allocations: 191.7 kB / 405.4 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.372e-05/0.4885, allocations: 15.02 kB / 405.4 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002867/0.4888, allocations: 24.5 kB / 405.5 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/0.489, allocations: 47.78 kB / 405.5 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.666e-05/0.489, allocations: 13.72 kB / 405.5 MB, free: 10.67 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006912/0.4897, allocations: 416.7 kB / 405.9 MB, free: 10.43 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4897, allocations: 4 kB / 405.9 MB, free: 10.43 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001001/0.4907, allocations: 200.4 kB / 406.1 MB, free: 10.38 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000216/0.491, allocations: 127.2 kB / 406.2 MB, free: 10.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001509/0.4925, allocations: 0.7355 MB / 407 MB, free: 9.828 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.4925, allocations: 1.125 kB / 407 MB, free: 9.828 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008056/0.4933, allocations: 480 kB / 407.5 MB, free: 9.52 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007505/0.4941, allocations: 150.7 kB / 407.6 MB, free: 9.438 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002965/0.497, allocations: 1.479 MB / 409.1 MB, free: 8.582 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007692/0.4978, allocations: 1.072 MB / 410.2 MB, free: 7.688 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002664/0.4981, allocations: 105.1 kB / 410.3 MB, free: 7.645 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.4982, allocations: 44.3 kB / 410.3 MB, free: 7.629 MB / 334.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4982, allocations: 0 / 410.3 MB, free: 7.629 MB / 334.1 MB Notification: Performance of Templates: time 0.01822/0.5165, allocations: 10.14 MB / 420.4 MB, free: 14.41 MB / 350.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1)