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.001391/0.001391, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001867/0.001867, allocations: 199.2 kB / 16.14 MB, free: 6.715 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.865/1.865, allocations: 205.1 MB / 222 MB, free: 4.746 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.001644/0.001644, allocations: 52.39 kB / 278.1 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3842/0.3858, allocations: 46.63 MB / 324.7 MB, free: 1.941 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.007372/0.3933, allocations: 3.646 MB / 328.3 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003601/0.3969, allocations: 1.04 MB / 329.4 MB, free: 14.25 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007028/0.3977, allocations: 11.81 kB / 329.4 MB, free: 14.24 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004905/0.3983, allocations: 83.31 kB / 329.5 MB, free: 14.17 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001505/0.3998, allocations: 208.7 kB / 329.7 MB, free: 14.01 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005963/0.4004, allocations: 127 kB / 329.8 MB, free: 13.9 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002303/0.4027, allocations: 1.057 MB / 330.9 MB, free: 13.3 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008615/0.4036, allocations: 486.1 kB / 331.3 MB, free: 13.06 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009292/0.4045, allocations: 338.2 kB / 331.7 MB, free: 12.88 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001096/0.4057, allocations: 465.6 kB / 332.1 MB, free: 12.58 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001555/0.4058, allocations: 57.41 kB / 332.2 MB, free: 12.58 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001993/0.406, allocations: 60.91 kB / 332.2 MB, free: 12.58 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00036/0.4064, allocations: 236.8 kB / 332.5 MB, free: 12.35 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006064/0.407, allocations: 425.8 kB / 332.9 MB, free: 11.93 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001242/0.4083, allocations: 1.216 MB / 334.1 MB, free: 10.71 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.4083, allocations: 0 / 334.1 MB, free: 10.71 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.4083, allocations: 0 / 334.1 MB, free: 10.71 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.131e-05/0.4083, allocations: 0 / 334.1 MB, free: 10.71 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.002989/0.4113, allocations: 1.162 MB / 335.3 MB, free: 9.5 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.872e-05/0.4114, allocations: 8.031 kB / 335.3 MB, free: 9.492 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002423/0.4117, allocations: 91.91 kB / 335.4 MB, free: 9.402 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.4127, allocations: 0.5962 MB / 336 MB, free: 8.766 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.18e-05/0.4128, allocations: 53.25 kB / 336 MB, free: 8.711 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.4129, allocations: 64 kB / 336.1 MB, free: 8.648 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00187/0.4148, allocations: 0.911 MB / 337 MB, free: 7.715 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.258e-05/0.4148, allocations: 0 / 337 MB, free: 7.715 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.108e-05/0.4149, allocations: 24 kB / 337 MB, free: 7.691 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.26e-05/0.415, allocations: 41.3 kB / 337 MB, free: 7.652 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001595/0.4166, allocations: 0.7819 MB / 337.8 MB, free: 6.867 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006276/0.4229, allocations: 2.795 MB / 340.6 MB, free: 3.965 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.424, allocations: 0.745 MB / 341.4 MB, free: 3.156 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007525/0.4248, allocations: 341.3 kB / 341.7 MB, free: 2.82 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.212e-05/0.4249, allocations: 8.328 kB / 341.7 MB, free: 2.812 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000772/0.4257, allocations: 373.8 kB / 342.1 MB, free: 2.426 MB / 270.1 MB Notification: Performance of pre-optimization done (n=43): time 4.057e-06/0.4257, allocations: 0 / 342.1 MB, free: 2.426 MB / 270.1 MB Notification: Performance of matching and sorting (n=43): time 0.003687/0.4294, allocations: 1.189 MB / 343.3 MB, free: 1.207 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.4295, allocations: 114.8 kB / 343.4 MB, free: 1.07 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/0.4306, allocations: 0.5643 MB / 343.9 MB, free: 0.4961 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 6.879e-05/0.4307, allocations: 37.7 kB / 344 MB, free: 464 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004097/0.4311, allocations: 351.9 kB / 344.3 MB, free: 104 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003611/0.4315, allocations: 142.2 kB / 344.5 MB, free: 15.96 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001917/0.4317, allocations: 86.25 kB / 344.5 MB, free: 15.87 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0004301/0.4321, allocations: 366.8 kB / 344.9 MB, free: 15.5 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005809/0.4327, allocations: 221 kB / 345.1 MB, free: 15.28 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006374/0.4334, allocations: 357.7 kB / 345.5 MB, free: 14.88 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.4344, allocations: 0.5663 MB / 346 MB, free: 14.25 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/0.4345, allocations: 7.938 kB / 346 MB, free: 14.25 MB / 286.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001529/0.436, allocations: 0.7391 MB / 346.8 MB, free: 13.5 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.052e-05/0.436, allocations: 8 kB / 346.8 MB, free: 13.49 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.237e-05/0.4361, allocations: 7.984 kB / 346.8 MB, free: 13.48 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006523/0.4367, allocations: 209.2 kB / 347 MB, free: 13.27 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000343/0.4371, allocations: 75.83 kB / 347.1 MB, free: 13.2 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004435/0.4415, allocations: 2.659 MB / 349.7 MB, free: 10.41 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006536/0.4422, allocations: 55.61 kB / 349.8 MB, free: 10.35 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.536e-05/0.4423, allocations: 24 kB / 349.8 MB, free: 10.33 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.0009462/0.4433, allocations: 329.5 kB / 350.1 MB, free: 9.996 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002011/0.4435, allocations: 55.34 kB / 350.2 MB, free: 9.941 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001995/0.4437, allocations: 69.27 kB / 350.3 MB, free: 9.871 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/0.4437, allocations: 7.938 kB / 350.3 MB, free: 9.863 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.4437, allocations: 0 / 350.3 MB, free: 9.863 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.4438, allocations: 7.984 kB / 350.3 MB, free: 9.855 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004077/0.4478, allocations: 1.616 MB / 351.9 MB, free: 8.176 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.23e-05/0.4479, allocations: 8 kB / 351.9 MB, free: 8.168 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003433/0.4483, allocations: 51.92 kB / 351.9 MB, free: 8.117 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005049/0.4488, allocations: 196.9 kB / 352.1 MB, free: 7.922 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.199e-05/0.4488, allocations: 19.92 kB / 352.2 MB, free: 7.902 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00507/0.4539, allocations: 2.639 MB / 354.8 MB, free: 5.129 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.335e-06/0.454, allocations: 4 kB / 354.8 MB, free: 5.125 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002373/0.4564, allocations: 1.1 MB / 355.9 MB, free: 4 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005574/0.457, allocations: 200.2 kB / 356.1 MB, free: 3.785 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001673/0.4571, allocations: 4 kB / 356.1 MB, free: 3.781 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003706/0.4575, allocations: 35.97 kB / 356.1 MB, free: 3.746 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002001/0.4577, allocations: 39.92 kB / 356.2 MB, free: 3.707 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.348e-05/0.4578, allocations: 16 kB / 356.2 MB, free: 3.691 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0006905/0.4585, allocations: 418.8 kB / 356.6 MB, free: 3.285 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.145e-06/0.4585, allocations: 0 / 356.6 MB, free: 3.285 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.001224/0.4598, allocations: 203.3 kB / 356.8 MB, free: 3.086 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.0003209/0.4601, allocations: 123.1 kB / 356.9 MB, free: 2.953 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001804/0.4619, allocations: 0.7213 MB / 357.6 MB, free: 2.219 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.4619, allocations: 4.125 kB / 357.6 MB, free: 2.215 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001083/0.463, allocations: 482 kB / 358.1 MB, free: 1.73 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.4642, allocations: 142.1 kB / 358.2 MB, free: 1.594 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004551/0.4687, allocations: 1.792 MB / 360 MB, free: 15.77 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/0.4698, allocations: 1.066 MB / 361.1 MB, free: 14.68 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004174/0.4702, allocations: 92.73 kB / 361.2 MB, free: 14.59 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001901/0.4704, allocations: 43.42 kB / 361.2 MB, free: 14.55 MB / 302.1 MB Notification: Performance of SimCode: time 1.874e-06/0.4704, allocations: 0 / 361.2 MB, free: 14.55 MB / 302.1 MB Notification: Performance of Templates: time 0.01909/0.4895, allocations: 9.431 MB / 370.7 MB, free: 5.109 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)