Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001428/0.001428, allocations: 196.6 kB / 16.26 MB, free: 6.617 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.472/1.472, allocations: 205.1 MB / 222.1 MB, free: 4.723 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.001193/0.001193, allocations: 47.94 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.303, allocations: 46.64 MB / 324.9 MB, free: 1.926 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.00574/0.3088, allocations: 4.509 MB / 329.4 MB, free: 14.38 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003077/0.3119, allocations: 1.252 MB / 330.6 MB, free: 13.36 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005435/0.3125, allocations: 19.53 kB / 330.7 MB, free: 13.35 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004111/0.313, allocations: 134.3 kB / 330.8 MB, free: 13.23 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00107/0.314, allocations: 323.4 kB / 331.1 MB, free: 12.98 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004031/0.3145, allocations: 173.6 kB / 331.3 MB, free: 12.83 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001702/0.3162, allocations: 1.604 MB / 332.9 MB, free: 11.89 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001096/0.3173, allocations: 0.9282 MB / 333.8 MB, free: 11.13 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008974/0.3182, allocations: 0.6735 MB / 334.5 MB, free: 10.45 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001185/0.3194, allocations: 0.8718 MB / 335.3 MB, free: 9.578 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002265/0.3196, allocations: 176 kB / 335.5 MB, free: 9.406 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002522/0.3199, allocations: 176 kB / 335.7 MB, free: 9.234 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003503/0.3202, allocations: 482.7 kB / 336.2 MB, free: 8.762 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007214/0.321, allocations: 0.7854 MB / 336.9 MB, free: 7.973 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001753/0.3227, allocations: 2.22 MB / 339.2 MB, free: 5.746 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3227, allocations: 0 / 339.2 MB, free: 5.746 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3228, allocations: 0 / 339.2 MB, free: 5.746 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.118e-05/0.3228, allocations: 0 / 339.2 MB, free: 5.746 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.003103/0.3259, allocations: 1.751 MB / 340.9 MB, free: 3.938 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.3259, allocations: 8.031 kB / 340.9 MB, free: 3.93 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002479/0.3262, allocations: 151.2 kB / 341.1 MB, free: 3.781 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00126/0.3275, allocations: 0.9189 MB / 342 MB, free: 2.816 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.083e-05/0.3275, allocations: 86.39 kB / 342.1 MB, free: 2.73 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001554/0.3277, allocations: 104.1 kB / 342.2 MB, free: 2.629 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00244/0.3302, allocations: 1.541 MB / 343.7 MB, free: 1.031 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.931e-05/0.3302, allocations: 0 / 343.7 MB, free: 1.031 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/0.3303, allocations: 40 kB / 343.8 MB, free: 0.9922 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.262e-05/0.3304, allocations: 54.02 kB / 343.8 MB, free: 0.9375 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002266/0.3326, allocations: 1.421 MB / 345.2 MB, free: 15.51 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006742/0.3394, allocations: 4.929 MB / 350.2 MB, free: 10.4 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001719/0.3412, allocations: 1.449 MB / 351.6 MB, free: 8.832 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001182/0.3424, allocations: 0.7273 MB / 352.3 MB, free: 8.098 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.446e-05/0.3424, allocations: 8.562 kB / 352.3 MB, free: 8.09 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009517/0.3434, allocations: 0.6122 MB / 353 MB, free: 7.457 MB / 286.1 MB Notification: Performance of pre-optimization done (n=72): time 2.444e-06/0.3434, allocations: 0 / 353 MB, free: 7.457 MB / 286.1 MB Notification: Performance of matching and sorting (n=72): time 0.005634/0.349, allocations: 2.419 MB / 355.4 MB, free: 5.008 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.412e-05/0.3491, allocations: 89.77 kB / 355.5 MB, free: 4.902 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00135/0.3505, allocations: 0.9383 MB / 356.4 MB, free: 3.949 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.794e-05/0.3506, allocations: 37.7 kB / 356.4 MB, free: 3.906 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004491/0.351, allocations: 0.523 MB / 357 MB, free: 3.375 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001945/0.3512, allocations: 228.7 kB / 357.2 MB, free: 3.148 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002108/0.3515, allocations: 126.7 kB / 357.3 MB, free: 3.02 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.3516, allocations: 334 kB / 357.6 MB, free: 2.688 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006774/0.3523, allocations: 421.6 kB / 358 MB, free: 2.273 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007241/0.353, allocations: 0.5485 MB / 358.6 MB, free: 1.672 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001359/0.3544, allocations: 0.9464 MB / 359.5 MB, free: 0.668 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.3544, allocations: 4 kB / 359.5 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002165/0.3566, allocations: 1.288 MB / 360.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.3566, allocations: 15.97 kB / 360.8 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.3566, allocations: 4 kB / 360.9 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009115/0.3575, allocations: 402.4 kB / 361.2 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000503/0.3581, allocations: 119.8 kB / 361.4 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005838/0.3639, allocations: 4.497 MB / 365.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006845/0.3646, allocations: 83.45 kB / 365.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.596e-05/0.3647, allocations: 31.98 kB / 366 MB, free: 10.09 MB / 302.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: 15 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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 {(6,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0008092/0.3655, allocations: 491.1 kB / 366.5 MB, free: 9.598 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/0.3657, allocations: 90.91 kB / 366.5 MB, free: 9.508 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002255/0.3659, allocations: 116.5 kB / 366.7 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.3659, allocations: 8 kB / 366.7 MB, free: 9.383 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.3659, allocations: 7.984 kB / 366.7 MB, free: 9.375 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.3659, allocations: 0 / 366.7 MB, free: 9.375 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003875/0.3698, allocations: 2.589 MB / 369.3 MB, free: 6.723 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.915e-05/0.3698, allocations: 3.984 kB / 369.3 MB, free: 6.719 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004411/0.3703, allocations: 83.88 kB / 369.3 MB, free: 6.637 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007974/0.3711, allocations: 392.7 kB / 369.7 MB, free: 6.25 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.981e-05/0.3712, allocations: 15.98 kB / 369.7 MB, free: 6.234 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005337/0.3765, allocations: 4.475 MB / 374.2 MB, free: 1.617 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.3765, allocations: 0 / 374.2 MB, free: 1.617 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003003/0.3795, allocations: 1.958 MB / 376.2 MB, free: 15.63 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005417/0.3801, allocations: 287.7 kB / 376.5 MB, free: 15.33 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002018/0.3803, allocations: 16.09 kB / 376.5 MB, free: 15.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004703/0.3808, allocations: 39.95 kB / 376.5 MB, free: 15.28 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002275/0.381, allocations: 84.52 kB / 376.6 MB, free: 15.19 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.974e-05/0.3811, allocations: 23.98 kB / 376.6 MB, free: 15.17 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001159/0.3823, allocations: 0.6708 MB / 377.3 MB, free: 14.5 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3823, allocations: 0 / 377.3 MB, free: 14.5 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001282/0.3836, allocations: 343 kB / 377.6 MB, free: 14.17 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.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 (45): * Single equations (assignments): 41 * 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 {(6,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002959/0.3839, allocations: 123 kB / 377.7 MB, free: 14.04 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002783/0.3867, allocations: 1.444 MB / 379.2 MB, free: 12.58 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.3867, allocations: 4 kB / 379.2 MB, free: 12.57 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001347/0.388, allocations: 0.8103 MB / 380 MB, free: 11.76 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/0.3892, allocations: 263 kB / 380.3 MB, free: 11.5 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005711/0.395, allocations: 3.097 MB / 383.4 MB, free: 8.371 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001151/0.3962, allocations: 1.38 MB / 384.7 MB, free: 6.961 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000688/0.3969, allocations: 167.3 kB / 384.9 MB, free: 6.793 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002388/0.3971, allocations: 59.44 kB / 385 MB, free: 6.734 MB / 318.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3971, allocations: 0 / 385 MB, free: 6.734 MB / 318.1 MB Notification: Performance of Templates: time 0.03253/0.4297, allocations: 17.93 MB / 402.9 MB, free: 4.777 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1)