Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001393/0.001393, allocations: 183.8 kB / 8.354 MB, free: 0.7305 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.35/1.35, allocations: 194.3 MB / 203.1 MB, free: 13.03 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001442/0.001442, allocations: 123.2 kB / 248.1 MB, free: 20 kB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.507e-05/1.509e-05, allocations: 7.938 kB / 298.1 MB, free: 35.47 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06908/0.06911, allocations: 44.5 MB / 342.6 MB, free: 6.965 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2839/0.3531, allocations: 84.12 MB / 426.7 MB, free: 9.555 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002279/0.3534, allocations: 84.48 kB / 426.8 MB, free: 9.543 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06243/0.4158, allocations: 27.6 MB / 454.4 MB, free: 11.61 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4159, allocations: 4 kB / 454.4 MB, free: 11.61 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001323/0.416, allocations: 35.94 kB / 454.4 MB, free: 11.57 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 318 * Number of variables: 318 Notification: Performance of Generate backend data structure: time 0.003523/0.4195, allocations: 1.503 MB / 455.9 MB, free: 10.09 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.4196, allocations: 8.031 kB / 455.9 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004268/0.42, allocations: 158.2 kB / 456.1 MB, free: 9.93 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004448/0.4245, allocations: 1.607 MB / 457.7 MB, free: 8.688 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.329e-05/0.4246, allocations: 51.06 kB / 457.7 MB, free: 8.641 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002882/0.4249, allocations: 75.98 kB / 457.8 MB, free: 8.566 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002224/0.4271, allocations: 1.249 MB / 459.1 MB, free: 7.809 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002442/0.4296, allocations: 1.473 MB / 460.5 MB, free: 6.723 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.102e-05/0.4296, allocations: 0 / 460.5 MB, free: 6.723 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001109/0.4297, allocations: 3.984 kB / 460.5 MB, free: 6.719 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-05/0.4298, allocations: 54.47 kB / 460.6 MB, free: 6.664 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007516/0.4373, allocations: 4.615 MB / 465.2 MB, free: 3.137 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001553/0.4389, allocations: 0.9864 MB / 466.2 MB, free: 2.395 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007935/0.4397, allocations: 0.5222 MB / 466.7 MB, free: 1.867 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.273e-05/0.4398, allocations: 12.47 kB / 466.7 MB, free: 1.859 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008084/0.4406, allocations: 0.5626 MB / 467.3 MB, free: 1.277 MB / 314.7 MB Notification: Performance of pre-optimization done (n=79): time 3.397e-06/0.4406, allocations: 3.938 kB / 467.3 MB, free: 1.273 MB / 314.7 MB Notification: Performance of matching and sorting (n=79): time 0.001555/0.4422, allocations: 0.9177 MB / 468.2 MB, free: 352 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.63e-05/0.4423, allocations: 149.2 kB / 468.4 MB, free: 172 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000961/0.4432, allocations: 0.6792 MB / 469 MB, free: 15.48 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.389e-05/0.4433, allocations: 45.69 kB / 469.1 MB, free: 15.43 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004749/0.4438, allocations: 0.5806 MB / 469.7 MB, free: 14.84 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001982/0.444, allocations: 208.8 kB / 469.9 MB, free: 14.64 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.314e-05/0.4441, allocations: 0 / 469.9 MB, free: 14.64 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002185/0.4443, allocations: 402.5 kB / 470.3 MB, free: 14.24 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005692/0.4449, allocations: 386.4 kB / 470.6 MB, free: 13.86 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007321/0.4456, allocations: 0.6109 MB / 471.3 MB, free: 13.16 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005845/0.4462, allocations: 404.3 kB / 471.7 MB, free: 12.76 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.4462, allocations: 4 kB / 471.7 MB, free: 12.76 MB / 330.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001613/0.4478, allocations: 1.101 MB / 472.8 MB, free: 11.64 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001135/0.449, allocations: 2.528 MB / 475.3 MB, free: 8.918 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/0.449, allocations: 8 kB / 475.3 MB, free: 8.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000611/0.4496, allocations: 232.6 kB / 475.5 MB, free: 8.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005684/0.4502, allocations: 143.7 kB / 475.7 MB, free: 8.539 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003434/0.4537, allocations: 2.829 MB / 478.5 MB, free: 5.598 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008224/0.4545, allocations: 135.3 kB / 478.6 MB, free: 5.465 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.118e-05/0.4546, allocations: 36 kB / 478.7 MB, free: 5.43 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.4546, allocations: 4 kB / 478.7 MB, free: 5.426 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001556/0.4562, allocations: 0.979 MB / 479.6 MB, free: 4.445 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.4562, allocations: 8 kB / 479.6 MB, free: 4.438 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004742/0.4567, allocations: 225.5 kB / 479.9 MB, free: 4.215 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004851/0.4572, allocations: 135.9 kB / 480 MB, free: 4.082 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00333/0.4605, allocations: 2.833 MB / 482.8 MB, free: 1.133 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007585/0.4613, allocations: 111.5 kB / 482.9 MB, free: 1.023 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.281e-05/0.4614, allocations: 32 kB / 483 MB, free: 0.9922 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 48 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,$PRE.rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[1].off,$PRE.rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[2].off,$PRE.rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[3].off,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.positiveThreshold[3].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.negativeThreshold[3].y,$PRE.pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[1].entryTime,$PRE.pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,$PRE.pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,$PRE.pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,$PRE.pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,$PRE.pulsem.twomPulse.timerNegative[3].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002633/0.4617, allocations: 180.7 kB / 483.1 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001945/0.4619, allocations: 86.95 kB / 483.2 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00031/0.4622, allocations: 96.75 kB / 483.3 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.906e-06/0.4622, allocations: 15.95 kB / 483.3 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.4622, allocations: 0 / 483.3 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.4622, allocations: 3.984 kB / 483.3 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004029/0.4663, allocations: 2.386 MB / 485.7 MB, free: 14.19 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.666e-06/0.4663, allocations: 0 / 485.7 MB, free: 14.19 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003279/0.4666, allocations: 71.84 kB / 485.8 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004211/0.467, allocations: 200.7 kB / 486 MB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.837e-05/0.4671, allocations: 7.984 kB / 486 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002864/0.47, allocations: 2.547 MB / 488.6 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.47, allocations: 0 / 488.6 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002308/0.4723, allocations: 1.587 MB / 490.1 MB, free: 9.633 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004359/0.4728, allocations: 251.9 kB / 490.4 MB, free: 9.367 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001584/0.4729, allocations: 11.98 kB / 490.4 MB, free: 9.355 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005469/0.4735, allocations: 79.91 kB / 490.5 MB, free: 9.277 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002807/0.4738, allocations: 140.6 kB / 490.6 MB, free: 9.141 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-05/0.4738, allocations: 23.98 kB / 490.6 MB, free: 9.117 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007692/0.4746, allocations: 0.4952 MB / 491.1 MB, free: 8.621 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4746, allocations: 0 / 491.1 MB, free: 8.621 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001558/0.4762, allocations: 0.5329 MB / 491.7 MB, free: 8.086 MB / 346.7 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: 36 (pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.negativeThreshold[3].y,pulsem.twomPulse.positiveThreshold[3].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 6 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[2].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0002319/0.4764, allocations: 146.1 kB / 491.8 MB, free: 7.941 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002552/0.479, allocations: 1.79 MB / 493.6 MB, free: 6.137 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.479, allocations: 4 kB / 493.6 MB, free: 6.133 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000856/0.4799, allocations: 0.6411 MB / 494.2 MB, free: 5.48 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008536/0.4807, allocations: 171.8 kB / 494.4 MB, free: 5.309 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00336/0.4841, allocations: 1.823 MB / 496.2 MB, free: 3.453 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001099/0.4852, allocations: 1.394 MB / 497.6 MB, free: 2.031 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001085/0.4863, allocations: 390.5 kB / 498 MB, free: 1.645 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.4865, allocations: 59.42 kB / 498.1 MB, free: 1.586 MB / 346.7 MB Notification: Performance of SimCode: time 4.21e-07/0.4865, allocations: 0 / 498.1 MB, free: 1.586 MB / 346.7 MB Notification: Performance of Templates: time 0.02536/0.5118, allocations: 14.94 MB / 0.501 GB, free: 2.641 MB / 362.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R.pipe 2>&1)