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_RL.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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001503/0.001503, allocations: 187.8 kB / 8.351 MB, free: 0.707 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.293/1.293, allocations: 194.3 MB / 203.1 MB, free: 9.254 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001666/0.001666, allocations: 116.8 kB / 248.1 MB, free: 6.371 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.34e-05/1.343e-05, allocations: 4 kB / 298.1 MB, free: 8.227 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07683/0.07685, allocations: 44.5 MB / 342.6 MB, free: 11.62 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2646/0.3415, allocations: 84.41 MB / 427 MB, free: 11.5 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/0.3418, allocations: 89.61 kB / 427.1 MB, free: 11.46 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.06323/0.405, allocations: 27.94 MB / 455 MB, free: 4.344 MB / 331.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.4051, allocations: 0 / 455 MB, free: 4.344 MB / 331.1 MB Notification: Performance of Transformations before backend: time 8.777e-05/0.4052, allocations: 35.94 kB / 455.1 MB, free: 4.309 MB / 331.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.002664/0.4078, allocations: 1.513 MB / 456.6 MB, free: 2.809 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.4079, allocations: 12.03 kB / 456.6 MB, free: 2.797 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002511/0.4081, allocations: 158.1 kB / 456.7 MB, free: 2.641 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003222/0.4114, allocations: 1.621 MB / 458.4 MB, free: 1.34 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.023e-05/0.4114, allocations: 47 kB / 458.4 MB, free: 1.297 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001554/0.4116, allocations: 82.41 kB / 458.5 MB, free: 1.219 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001765/0.4134, allocations: 1.268 MB / 459.8 MB, free: 456 kB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002084/0.4155, allocations: 1.493 MB / 461.2 MB, free: 15.34 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.703e-05/0.4155, allocations: 4 kB / 461.3 MB, free: 15.34 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-05/0.4156, allocations: 3.984 kB / 461.3 MB, free: 15.34 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.955e-05/0.4157, allocations: 54.5 kB / 461.3 MB, free: 15.28 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006292/0.422, allocations: 4.68 MB / 466 MB, free: 11.66 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001501/0.4235, allocations: 1.012 MB / 467 MB, free: 10.74 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007479/0.4243, allocations: 0.5268 MB / 467.5 MB, free: 10.21 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.559e-05/0.4243, allocations: 16.77 kB / 467.5 MB, free: 10.2 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007439/0.4251, allocations: 0.5551 MB / 468.1 MB, free: 9.621 MB / 347.1 MB Notification: Performance of pre-optimization done (n=81): time 2.475e-06/0.4251, allocations: 0 / 468.1 MB, free: 9.621 MB / 347.1 MB Notification: Performance of matching and sorting (n=81): time 0.001415/0.4265, allocations: 0.9333 MB / 469 MB, free: 8.676 MB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.86e-05/0.4266, allocations: 149.2 kB / 469.2 MB, free: 8.5 MB / 347.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007995/0.4274, allocations: 0.679 MB / 469.9 MB, free: 7.812 MB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 6.695e-05/0.4275, allocations: 45.62 kB / 469.9 MB, free: 7.762 MB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004168/0.4279, allocations: 0.5849 MB / 470.5 MB, free: 7.168 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000184/0.4281, allocations: 224.9 kB / 470.7 MB, free: 6.945 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.785e-05/0.4281, allocations: 4.031 kB / 470.7 MB, free: 6.941 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.4283, allocations: 402.7 kB / 471.1 MB, free: 6.539 MB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004997/0.4288, allocations: 386.5 kB / 471.5 MB, free: 6.16 MB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006354/0.4295, allocations: 0.6031 MB / 472.1 MB, free: 5.461 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005302/0.43, allocations: 420.3 kB / 472.5 MB, free: 5.051 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.43, allocations: 4 kB / 472.5 MB, free: 5.047 MB / 347.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00152/0.4316, allocations: 1.118 MB / 473.6 MB, free: 3.914 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007562/0.4323, allocations: 2.532 MB / 476.1 MB, free: 1.188 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.4323, allocations: 8 kB / 476.2 MB, free: 1.18 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004727/0.4328, allocations: 216.7 kB / 476.4 MB, free: 0.9648 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005295/0.4334, allocations: 147.7 kB / 476.5 MB, free: 0.8203 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002861/0.4362, allocations: 2.706 MB / 479.2 MB, free: 14 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007816/0.437, allocations: 131.2 kB / 479.3 MB, free: 13.87 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-05/0.4371, allocations: 36 kB / 479.4 MB, free: 13.83 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.317e-06/0.4371, allocations: 4 kB / 479.4 MB, free: 13.83 MB / 363.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001414/0.4386, allocations: 0.9876 MB / 480.4 MB, free: 12.84 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/0.4386, allocations: 11.94 kB / 480.4 MB, free: 12.83 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004299/0.439, allocations: 212.8 kB / 480.6 MB, free: 12.62 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005/0.4395, allocations: 147.7 kB / 480.7 MB, free: 12.47 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002796/0.4423, allocations: 2.716 MB / 483.5 MB, free: 9.641 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007318/0.4431, allocations: 111.5 kB / 483.6 MB, free: 9.531 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.48e-05/0.4432, allocations: 36 kB / 483.6 MB, free: 9.496 MB / 363.1 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 (106): * Single equations (assignments): 105 * 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 10} Notification: Performance of prepare postOptimizeDAE: time 0.0002522/0.4434, allocations: 164.9 kB / 483.8 MB, free: 9.336 MB / 363.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001654/0.4436, allocations: 86.97 kB / 483.8 MB, free: 9.25 MB / 363.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002521/0.4439, allocations: 104.7 kB / 483.9 MB, free: 9.141 MB / 363.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.4439, allocations: 8 kB / 484 MB, free: 9.133 MB / 363.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.375e-05/0.4439, allocations: 7.953 kB / 484 MB, free: 9.125 MB / 363.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.4439, allocations: 3.984 kB / 484 MB, free: 9.121 MB / 363.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003471/0.4474, allocations: 2.276 MB / 486.2 MB, free: 6.789 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.4474, allocations: 0 / 486.2 MB, free: 6.789 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003524/0.4478, allocations: 75.89 kB / 486.3 MB, free: 6.715 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004029/0.4482, allocations: 196.7 kB / 486.5 MB, free: 6.52 MB / 363.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.983e-05/0.4482, allocations: 11.98 kB / 486.5 MB, free: 6.508 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002661/0.4509, allocations: 2.636 MB / 489.2 MB, free: 3.758 MB / 363.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.4509, allocations: 3.953 kB / 489.2 MB, free: 3.754 MB / 363.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001961/0.4529, allocations: 1.575 MB / 490.7 MB, free: 2.137 MB / 363.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003817/0.4533, allocations: 255.9 kB / 491 MB, free: 1.867 MB / 363.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/0.4534, allocations: 11.98 kB / 491 MB, free: 1.855 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005222/0.454, allocations: 75.92 kB / 491.1 MB, free: 1.781 MB / 363.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002733/0.4542, allocations: 148.5 kB / 491.2 MB, free: 1.637 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.732e-05/0.4543, allocations: 20 kB / 491.2 MB, free: 1.617 MB / 363.1 MB Notification: Performance of sorting global known variables: time 0.0006788/0.455, allocations: 0.4991 MB / 491.7 MB, free: 1.117 MB / 363.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.455, allocations: 0 / 491.7 MB, free: 1.117 MB / 363.1 MB Notification: Performance of remove unused functions: time 0.001526/0.4565, allocations: 0.5331 MB / 492.3 MB, free: 0.582 MB / 363.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * 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[2].off,rectifier.thyristor.idealThyristor[1].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 59 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.000211/0.4568, allocations: 156.5 kB / 492.4 MB, free: 432 kB / 363.1 MB Notification: Performance of simCode: created initialization part: time 0.002455/0.4592, allocations: 1.791 MB / 494.2 MB, free: 14.62 MB / 379.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4592, allocations: 96 / 494.2 MB, free: 14.62 MB / 379.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008432/0.4601, allocations: 0.673 MB / 494.9 MB, free: 13.94 MB / 379.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008051/0.4609, allocations: 167.3 kB / 495 MB, free: 13.78 MB / 379.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003351/0.4643, allocations: 1.902 MB / 496.9 MB, free: 11.84 MB / 379.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00109/0.4654, allocations: 1.398 MB / 498.3 MB, free: 10.41 MB / 379.1 MB Notification: Performance of simCode: alias equations: time 0.001035/0.4664, allocations: 406.5 kB / 498.7 MB, free: 10.01 MB / 379.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/0.4666, allocations: 55.42 kB / 498.8 MB, free: 9.953 MB / 379.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4666, allocations: 0 / 498.8 MB, free: 9.953 MB / 379.1 MB Notification: Performance of Templates: time 0.02397/0.4906, allocations: 14.75 MB / 0.5015 GB, free: 11.22 MB / 395.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.pipe 2>&1)