Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.001245/0.001245, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 199.2 kB / 16.54 MB, free: 6.672 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.633/1.633, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.001385/0.001385, allocations: 51.92 kB / 278.7 MB, free: 12.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.265, allocations: 46.63 MB / 325.3 MB, free: 2.082 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005177/0.2703, allocations: 3.615 MB / 328.9 MB, free: 15.24 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002399/0.2727, allocations: 1.049 MB / 330 MB, free: 14.39 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003089/0.273, allocations: 13.25 kB / 330 MB, free: 14.38 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002883/0.2734, allocations: 102.4 kB / 330.1 MB, free: 14.29 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008101/0.2742, allocations: 225.2 kB / 330.3 MB, free: 14.11 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003496/0.2746, allocations: 151.2 kB / 330.5 MB, free: 13.98 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00115/0.2757, allocations: 0.9497 MB / 331.4 MB, free: 13.43 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008083/0.2765, allocations: 0.556 MB / 332 MB, free: 13.15 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006221/0.2772, allocations: 397.2 kB / 332.4 MB, free: 12.93 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007589/0.2779, allocations: 0.4884 MB / 332.9 MB, free: 12.5 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001611/0.2781, allocations: 100 kB / 333 MB, free: 12.41 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001711/0.2783, allocations: 100 kB / 333.1 MB, free: 12.31 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002577/0.2786, allocations: 271.2 kB / 333.3 MB, free: 12.04 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005188/0.2791, allocations: 473.8 kB / 333.8 MB, free: 11.58 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001153/0.2803, allocations: 1.259 MB / 335 MB, free: 10.32 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.2803, allocations: 0 / 335 MB, free: 10.32 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2803, allocations: 0 / 335 MB, free: 10.32 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.086e-05/0.2803, allocations: 0 / 335 MB, free: 10.32 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.002179/0.2825, allocations: 1.154 MB / 336.2 MB, free: 9.109 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.2826, allocations: 12.03 kB / 336.2 MB, free: 9.098 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001966/0.2828, allocations: 91.91 kB / 336.3 MB, free: 9.008 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.2838, allocations: 0.6001 MB / 336.9 MB, free: 8.367 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.234e-05/0.2839, allocations: 53.25 kB / 337 MB, free: 8.312 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/0.284, allocations: 60 kB / 337 MB, free: 8.254 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001695/0.2857, allocations: 0.915 MB / 337.9 MB, free: 7.316 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.39e-05/0.2858, allocations: 0 / 337.9 MB, free: 7.316 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.348e-05/0.2859, allocations: 28 kB / 338 MB, free: 7.289 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.804e-05/0.2859, allocations: 33.3 kB / 338 MB, free: 7.258 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/0.2873, allocations: 0.7858 MB / 338.8 MB, free: 6.473 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004417/0.2917, allocations: 2.791 MB / 341.6 MB, free: 3.574 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009869/0.2927, allocations: 0.741 MB / 342.3 MB, free: 2.77 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000633/0.2934, allocations: 345.3 kB / 342.6 MB, free: 2.43 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.398e-05/0.2934, allocations: 8.312 kB / 342.6 MB, free: 2.422 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006016/0.294, allocations: 381.7 kB / 343 MB, free: 2.027 MB / 270.1 MB Notification: Performance of pre-optimization done (n=43): time 2.084e-06/0.294, allocations: 0 / 343 MB, free: 2.027 MB / 270.1 MB Notification: Performance of matching and sorting (n=43): time 0.002704/0.2967, allocations: 1.189 MB / 344.2 MB, free: 0.8086 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/0.2969, allocations: 110.8 kB / 344.3 MB, free: 0.6758 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007082/0.2976, allocations: 0.5721 MB / 344.9 MB, free: 96 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.314e-05/0.2976, allocations: 33.7 kB / 344.9 MB, free: 56 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002893/0.2979, allocations: 355.9 kB / 345.3 MB, free: 15.7 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.2981, allocations: 142 kB / 345.4 MB, free: 15.56 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.2982, allocations: 86.25 kB / 345.5 MB, free: 15.47 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.2984, allocations: 370.8 kB / 345.9 MB, free: 15.1 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003807/0.2988, allocations: 213 kB / 346.1 MB, free: 14.89 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004648/0.2992, allocations: 357.8 kB / 346.4 MB, free: 14.48 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008635/0.3001, allocations: 0.5663 MB / 347 MB, free: 13.86 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.78e-06/0.3001, allocations: 3.938 kB / 347 MB, free: 13.86 MB / 286.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001297/0.3014, allocations: 0.7508 MB / 347.7 MB, free: 13.1 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.3015, allocations: 8.5 kB / 347.7 MB, free: 13.09 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.3015, allocations: 8 kB / 347.8 MB, free: 13.08 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005317/0.302, allocations: 200.6 kB / 347.9 MB, free: 12.88 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003255/0.3024, allocations: 75.89 kB / 348 MB, free: 12.81 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003373/0.3058, allocations: 2.92 MB / 350.9 MB, free: 9.746 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004132/0.3062, allocations: 59.64 kB / 351 MB, free: 9.688 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.558e-05/0.3062, allocations: 20 kB / 351 MB, free: 9.668 MB / 286.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.0005108/0.3068, allocations: 329.7 kB / 351.3 MB, free: 9.336 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.12e-05/0.3069, allocations: 59.28 kB / 351.4 MB, free: 9.277 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001411/0.307, allocations: 69.27 kB / 351.5 MB, free: 9.207 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.307, allocations: 4 kB / 351.5 MB, free: 9.203 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.307, allocations: 11.94 kB / 351.5 MB, free: 9.191 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.307, allocations: 7.922 kB / 351.5 MB, free: 9.184 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002425/0.3095, allocations: 1.617 MB / 353.1 MB, free: 7.504 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.3095, allocations: 0 / 353.1 MB, free: 7.504 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002582/0.3098, allocations: 43.91 kB / 353.1 MB, free: 7.461 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000445/0.3102, allocations: 196.7 kB / 353.3 MB, free: 7.266 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.711e-05/0.3103, allocations: 12 kB / 353.4 MB, free: 7.254 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003183/0.3135, allocations: 2.916 MB / 356.3 MB, free: 4.203 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/0.3135, allocations: 3.938 kB / 356.3 MB, free: 4.199 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001713/0.3152, allocations: 1.102 MB / 357.4 MB, free: 3.07 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002849/0.3155, allocations: 196.4 kB / 357.6 MB, free: 2.859 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.227e-05/0.3156, allocations: 15.97 kB / 357.6 MB, free: 2.844 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003111/0.3159, allocations: 27.97 kB / 357.6 MB, free: 2.816 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001645/0.3161, allocations: 47.88 kB / 357.7 MB, free: 2.77 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.434e-05/0.3161, allocations: 15.94 kB / 357.7 MB, free: 2.754 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0005911/0.3167, allocations: 418.8 kB / 358.1 MB, free: 2.348 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3167, allocations: 0 / 358.1 MB, free: 2.348 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000838/0.3176, allocations: 211.3 kB / 358.3 MB, free: 2.141 MB / 286.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.0001773/0.3178, allocations: 115.2 kB / 358.4 MB, free: 2.016 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001433/0.3192, allocations: 0.7795 MB / 359.2 MB, free: 1.223 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.3192, allocations: 0 / 359.2 MB, free: 1.223 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007287/0.32, allocations: 479 kB / 359.6 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007328/0.3207, allocations: 150 kB / 359.8 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002691/0.3234, allocations: 1.5 MB / 361.3 MB, free: 15.06 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007228/0.3242, allocations: 1.07 MB / 362.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003271/0.3245, allocations: 96.72 kB / 362.5 MB, free: 13.87 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.3246, allocations: 35.44 kB / 362.5 MB, free: 13.83 MB / 302.1 MB Notification: Performance of SimCode: time 1.372e-06/0.3246, allocations: 0 / 362.5 MB, free: 13.83 MB / 302.1 MB Notification: Performance of Templates: time 0.01851/0.3431, allocations: 9.996 MB / 372.5 MB, free: 3.828 MB / 302.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1)