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.001005/0.001005, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.009048/0.009048, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.528/1.528, allocations: 205.4 MB / 222.4 MB, free: 5.574 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.0004441/0.0004442, allocations: 14.81 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.298, allocations: 47.58 MB / 327 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.005073/0.3031, allocations: 4.103 MB / 331.1 MB, free: 14.18 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002786/0.306, allocations: 1.244 MB / 332.4 MB, free: 13.16 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003232/0.3063, allocations: 19.81 kB / 332.4 MB, free: 13.16 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003368/0.3066, allocations: 133 kB / 332.5 MB, free: 13.04 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009985/0.3077, allocations: 320.6 kB / 332.9 MB, free: 12.79 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004037/0.3081, allocations: 173.4 kB / 333 MB, free: 12.64 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002042/0.3101, allocations: 1.821 MB / 334.8 MB, free: 11.56 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009809/0.3111, allocations: 0.7646 MB / 335.6 MB, free: 10.78 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008652/0.312, allocations: 0.5017 MB / 336.1 MB, free: 10.27 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001186/0.3132, allocations: 0.7235 MB / 336.8 MB, free: 9.547 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001697/0.3134, allocations: 76 kB / 336.9 MB, free: 9.473 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002143/0.3136, allocations: 72 kB / 337 MB, free: 9.402 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004094/0.314, allocations: 354.7 kB / 337.3 MB, free: 9.055 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008724/0.3149, allocations: 0.6856 MB / 338 MB, free: 8.359 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002411/0.3173, allocations: 2.083 MB / 340.1 MB, free: 6.27 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.3173, allocations: 0 / 340.1 MB, free: 6.27 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.3174, allocations: 0 / 340.1 MB, free: 6.27 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.011e-05/0.3174, allocations: 0 / 340.1 MB, free: 6.27 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.003841/0.3212, allocations: 1.518 MB / 341.6 MB, free: 4.695 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/0.3213, allocations: 8.031 kB / 341.6 MB, free: 4.688 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003454/0.3217, allocations: 151.2 kB / 341.8 MB, free: 4.539 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001764/0.3234, allocations: 0.9189 MB / 342.7 MB, free: 3.574 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-05/0.3235, allocations: 82.41 kB / 342.8 MB, free: 3.492 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002254/0.3238, allocations: 104.1 kB / 342.9 MB, free: 3.391 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003671/0.3275, allocations: 1.553 MB / 344.4 MB, free: 1.781 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.926e-05/0.3275, allocations: 4 kB / 344.4 MB, free: 1.777 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001634/0.3277, allocations: 40 kB / 344.5 MB, free: 1.738 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-05/0.3278, allocations: 49.97 kB / 344.5 MB, free: 1.688 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003605/0.3314, allocations: 1.448 MB / 346 MB, free: 236 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008777/0.3402, allocations: 4.98 MB / 350.9 MB, free: 11.07 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002456/0.3427, allocations: 1.468 MB / 352.4 MB, free: 9.484 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001761/0.3445, allocations: 0.7389 MB / 353.1 MB, free: 8.738 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.694e-05/0.3446, allocations: 12.53 kB / 353.2 MB, free: 8.727 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001428/0.346, allocations: 0.6162 MB / 353.8 MB, free: 8.09 MB / 286.1 MB Notification: Performance of pre-optimization done (n=72): time 4.127e-06/0.346, allocations: 0 / 353.8 MB, free: 8.09 MB / 286.1 MB Notification: Performance of matching and sorting (n=72): time 0.008691/0.3547, allocations: 2.47 MB / 356.2 MB, free: 5.59 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.3548, allocations: 85.77 kB / 356.3 MB, free: 5.488 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002086/0.3569, allocations: 0.9305 MB / 357.3 MB, free: 4.547 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 9.363e-05/0.3571, allocations: 41.7 kB / 357.3 MB, free: 4.5 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006866/0.3578, allocations: 0.5269 MB / 357.8 MB, free: 3.965 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003108/0.3581, allocations: 228.8 kB / 358.1 MB, free: 3.738 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.3582, allocations: 65.62 kB / 358.1 MB, free: 3.668 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.3584, allocations: 341.9 kB / 358.4 MB, free: 3.328 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001025/0.3595, allocations: 421.7 kB / 358.9 MB, free: 2.914 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001088/0.3606, allocations: 0.5641 MB / 359.4 MB, free: 2.297 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001495/0.3621, allocations: 0.9776 MB / 360.4 MB, free: 1.262 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.3621, allocations: 0 / 360.4 MB, free: 1.262 MB / 286.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002458/0.3645, allocations: 1.315 MB / 361.7 MB, free: 15.94 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.3646, allocations: 8 kB / 361.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.3646, allocations: 4 kB / 361.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009077/0.3655, allocations: 406.5 kB / 362.1 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005052/0.366, allocations: 119.8 kB / 362.2 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005445/0.3715, allocations: 4.13 MB / 366.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000682/0.3722, allocations: 95.47 kB / 366.5 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.291e-05/0.3723, allocations: 24 kB / 366.5 MB, free: 11.03 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.0008136/0.3731, allocations: 495.1 kB / 367 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.3732, allocations: 90.88 kB / 367.1 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002544/0.3735, allocations: 124.5 kB / 367.2 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.3735, allocations: 11.94 kB / 367.2 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.3735, allocations: 0 / 367.2 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/0.3735, allocations: 7.922 kB / 367.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00389/0.3774, allocations: 2.624 MB / 369.8 MB, free: 7.617 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.3774, allocations: 128 / 369.8 MB, free: 7.617 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004288/0.3779, allocations: 91.88 kB / 369.9 MB, free: 7.527 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008882/0.3788, allocations: 397.2 kB / 370.3 MB, free: 7.137 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.165e-05/0.3788, allocations: 12 kB / 370.3 MB, free: 7.125 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005182/0.384, allocations: 4.088 MB / 374.4 MB, free: 2.895 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.384, allocations: 0 / 374.4 MB, free: 2.895 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003175/0.3872, allocations: 1.989 MB / 376.4 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005921/0.3878, allocations: 291.8 kB / 376.7 MB, free: 0.582 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.3879, allocations: 15.98 kB / 376.7 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004591/0.3884, allocations: 59.94 kB / 376.8 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002214/0.3886, allocations: 76.53 kB / 376.8 MB, free: 440 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-05/0.3887, allocations: 16 kB / 376.8 MB, free: 424 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001011/0.3897, allocations: 0.6785 MB / 377.5 MB, free: 15.74 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.3897, allocations: 0 / 377.5 MB, free: 15.74 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00114/0.3909, allocations: 339 kB / 377.9 MB, free: 15.41 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.0002853/0.3912, allocations: 127 kB / 378 MB, free: 15.27 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002524/0.3937, allocations: 1.307 MB / 379.3 MB, free: 13.95 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.3937, allocations: 0 / 379.3 MB, free: 13.95 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001294/0.395, allocations: 0.8149 MB / 380.1 MB, free: 13.12 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.3961, allocations: 231.1 kB / 380.3 MB, free: 12.89 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005297/0.4014, allocations: 3.139 MB / 383.5 MB, free: 9.727 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001321/0.4028, allocations: 1.38 MB / 384.8 MB, free: 8.316 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004899/0.4033, allocations: 175.3 kB / 385 MB, free: 8.141 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001627/0.4034, allocations: 51.44 kB / 385.1 MB, free: 8.09 MB / 318.1 MB Notification: Performance of SimCode: time 8.01e-07/0.4035, allocations: 0 / 385.1 MB, free: 8.09 MB / 318.1 MB Notification: Performance of Templates: time 0.03058/0.434, allocations: 16.91 MB / 402 MB, free: 7.156 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)