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.001155/0.001155, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.000872/0.000872, allocations: 172.7 kB / 15.95 MB, free: 192 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.758/1.758, allocations: 205.4 MB / 222.1 MB, free: 5.508 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.0004427/0.0004427, allocations: 8 kB / 278.9 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.2835, allocations: 47.58 MB / 326.5 MB, free: 1.449 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.003412/0.287, allocations: 3.119 MB / 329.6 MB, free: 15.01 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001857/0.2888, allocations: 0.9966 MB / 330.6 MB, free: 14.21 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002061/0.2891, allocations: 11.56 kB / 330.6 MB, free: 14.2 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002567/0.2893, allocations: 79.28 kB / 330.7 MB, free: 14.14 MB / 270.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Electrical/PowerConverters.mo:4970:20-4970:43:writable] Warning: 'each' used when modifying non-array element diode. Notification: Performance of NFTyping.typeBindings: time 0.0006429/0.29, allocations: 202.4 kB / 330.9 MB, free: 13.98 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002551/0.2903, allocations: 93.73 kB / 331 MB, free: 13.91 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001007/0.2913, allocations: 0.9751 MB / 332 MB, free: 13.32 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005779/0.2919, allocations: 387.3 kB / 332.3 MB, free: 13.12 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004774/0.2923, allocations: 300.8 kB / 332.6 MB, free: 12.97 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007234/0.2931, allocations: 407.4 kB / 333 MB, free: 12.73 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001113/0.2932, allocations: 41.81 kB / 333.1 MB, free: 12.73 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001429/0.2934, allocations: 46.5 kB / 333.1 MB, free: 12.72 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002948/0.2937, allocations: 205.5 kB / 333.3 MB, free: 12.58 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000243/0.2939, allocations: 186.3 kB / 333.5 MB, free: 12.44 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001024/0.2949, allocations: 0.9987 MB / 334.5 MB, free: 11.44 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.295, allocations: 3.938 kB / 334.5 MB, free: 11.43 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.836e-06/0.295, allocations: 0 / 334.5 MB, free: 11.43 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.415e-05/0.295, allocations: 0 / 334.5 MB, free: 11.43 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.002052/0.297, allocations: 1.021 MB / 335.5 MB, free: 10.36 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/0.2971, allocations: 8.031 kB / 335.5 MB, free: 10.36 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001645/0.2973, allocations: 86.97 kB / 335.6 MB, free: 10.27 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009922/0.2983, allocations: 0.5836 MB / 336.2 MB, free: 9.645 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.864e-05/0.2983, allocations: 49.27 kB / 336.2 MB, free: 9.594 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/0.2985, allocations: 67.94 kB / 336.3 MB, free: 9.527 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/0.3, allocations: 0.9072 MB / 337.2 MB, free: 8.598 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.3, allocations: 0 / 337.2 MB, free: 8.598 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.305e-05/0.3001, allocations: 31.98 kB / 337.3 MB, free: 8.566 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.32e-05/0.3001, allocations: 29.3 kB / 337.3 MB, free: 8.539 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001442/0.3016, allocations: 0.7975 MB / 338.1 MB, free: 7.738 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004356/0.306, allocations: 2.811 MB / 340.9 MB, free: 4.816 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/0.307, allocations: 0.7417 MB / 341.6 MB, free: 4.012 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006263/0.3076, allocations: 349.3 kB / 342 MB, free: 3.668 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.558e-05/0.3077, allocations: 8.328 kB / 342 MB, free: 3.66 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006883/0.3084, allocations: 389.6 kB / 342.4 MB, free: 3.258 MB / 270.1 MB Notification: Performance of pre-optimization done (n=43): time 1.693e-06/0.3084, allocations: 4 kB / 342.4 MB, free: 3.254 MB / 270.1 MB Notification: Performance of matching and sorting (n=43): time 0.002757/0.3112, allocations: 1.197 MB / 343.6 MB, free: 2.027 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.091e-05/0.3113, allocations: 114.8 kB / 343.7 MB, free: 1.891 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006969/0.312, allocations: 0.5644 MB / 344.2 MB, free: 1.316 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.98e-05/0.312, allocations: 33.7 kB / 344.3 MB, free: 1.277 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003595/0.3124, allocations: 355.9 kB / 344.6 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002195/0.3126, allocations: 138 kB / 344.8 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.452e-05/0.3126, allocations: 8 kB / 344.8 MB, free: 0.7812 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.3128, allocations: 370.7 kB / 345.1 MB, free: 420 kB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004075/0.3133, allocations: 225 kB / 345.3 MB, free: 196 kB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005033/0.3138, allocations: 357.8 kB / 345.7 MB, free: 15.78 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004432/0.3142, allocations: 256.9 kB / 345.9 MB, free: 15.53 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.3142, allocations: 4 kB / 345.9 MB, free: 15.53 MB / 286.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00128/0.3155, allocations: 0.751 MB / 346.7 MB, free: 14.77 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.977e-05/0.3156, allocations: 8 kB / 346.7 MB, free: 14.76 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.3156, allocations: 7.984 kB / 346.7 MB, free: 14.75 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005701/0.3162, allocations: 209 kB / 346.9 MB, free: 14.54 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003123/0.3165, allocations: 79.83 kB / 347 MB, free: 14.46 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003132/0.3196, allocations: 2.659 MB / 349.7 MB, free: 11.67 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003327/0.32, allocations: 63.61 kB / 349.7 MB, free: 11.61 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.355e-05/0.32, allocations: 12 kB / 349.7 MB, free: 11.59 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 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 11} Notification: Performance of prepare postOptimizeDAE: time 0.0004765/0.3205, allocations: 337.6 kB / 350.1 MB, free: 11.25 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.84e-05/0.3206, allocations: 55.48 kB / 350.1 MB, free: 11.2 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001348/0.3207, allocations: 73.25 kB / 350.2 MB, free: 11.13 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.3207, allocations: 8 kB / 350.2 MB, free: 11.12 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.3208, allocations: 0 / 350.2 MB, free: 11.12 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.3208, allocations: 3.984 kB / 350.2 MB, free: 11.12 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002541/0.3233, allocations: 1.625 MB / 351.8 MB, free: 9.43 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.3233, allocations: 11.92 kB / 351.8 MB, free: 9.418 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002278/0.3236, allocations: 51.97 kB / 351.9 MB, free: 9.367 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003985/0.324, allocations: 200.9 kB / 352.1 MB, free: 9.168 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.027e-05/0.324, allocations: 11.95 kB / 352.1 MB, free: 9.156 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002829/0.3269, allocations: 2.639 MB / 354.7 MB, free: 6.387 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3269, allocations: 3.938 kB / 354.7 MB, free: 6.383 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001634/0.3285, allocations: 1.114 MB / 355.8 MB, free: 5.242 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002278/0.3287, allocations: 192.3 kB / 356 MB, free: 5.035 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.724e-05/0.3288, allocations: 8 kB / 356 MB, free: 5.027 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002474/0.3291, allocations: 27.97 kB / 356.1 MB, free: 5 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.3292, allocations: 52.05 kB / 356.1 MB, free: 4.949 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.08e-05/0.3292, allocations: 16 kB / 356.1 MB, free: 4.934 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0005158/0.3298, allocations: 414.8 kB / 356.5 MB, free: 4.531 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3298, allocations: 0 / 356.5 MB, free: 4.531 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006907/0.3305, allocations: 203.4 kB / 356.7 MB, free: 4.332 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001584/0.3306, allocations: 127.1 kB / 356.9 MB, free: 4.195 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001205/0.3318, allocations: 0.7409 MB / 357.6 MB, free: 3.441 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3319, allocations: 0 / 357.6 MB, free: 3.441 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006434/0.3325, allocations: 490.3 kB / 358.1 MB, free: 2.949 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006711/0.3332, allocations: 142 kB / 358.2 MB, free: 2.812 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00275/0.336, allocations: 1.745 MB / 360 MB, free: 1.039 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006731/0.3366, allocations: 1.07 MB / 361 MB, free: 15.94 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002612/0.3369, allocations: 92.73 kB / 361.1 MB, free: 15.85 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.337, allocations: 43.42 kB / 361.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of SimCode: time 5.11e-07/0.337, allocations: 3.938 kB / 361.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of Templates: time 0.01467/0.3517, allocations: 9.029 MB / 370.2 MB, free: 6.766 MB / 302.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)