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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001268/0.001268, allocations: 186.5 kB / 8.137 MB, free: 2.195 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.108/1.108, allocations: 194.2 MB / 202.8 MB, free: 8.754 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.001824/0.001823, allocations: 117.7 kB / 247.7 MB, free: 6.246 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.161e-06/6.272e-06, allocations: 0 / 297.6 MB, free: 7.977 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07292/0.07294, allocations: 44.47 MB / 342.1 MB, free: 11.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2047/0.2777, allocations: 84.33 MB / 426.4 MB, free: 10.48 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/0.278, allocations: 87.58 kB / 426.5 MB, free: 10.44 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.07004/0.3481, allocations: 27.62 MB / 454.1 MB, free: 3.625 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001039/0.3482, allocations: 39.94 kB / 454.2 MB, free: 3.586 MB / 330.7 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.003445/0.3517, allocations: 1.509 MB / 455.7 MB, free: 2.09 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.3517, allocations: 8.031 kB / 455.7 MB, free: 2.082 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004732/0.3522, allocations: 162.1 kB / 455.8 MB, free: 1.922 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004102/0.3563, allocations: 1.625 MB / 457.5 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.291e-05/0.3564, allocations: 51.3 kB / 457.5 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002927/0.3567, allocations: 83.98 kB / 457.6 MB, free: 500 kB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002596/0.3593, allocations: 1.292 MB / 458.9 MB, free: 15.69 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002546/0.3618, allocations: 1.519 MB / 460.4 MB, free: 14.56 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.346e-05/0.3619, allocations: 3.938 kB / 460.4 MB, free: 14.56 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/0.362, allocations: 4 kB / 460.4 MB, free: 14.55 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.474e-05/0.3621, allocations: 57.94 kB / 460.5 MB, free: 14.5 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008047/0.3701, allocations: 4.711 MB / 465.2 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001213/0.3714, allocations: 0.8527 MB / 466 MB, free: 10.24 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008294/0.3722, allocations: 0.557 MB / 466.6 MB, free: 9.844 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.068e-05/0.3723, allocations: 8.656 kB / 466.6 MB, free: 9.836 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007723/0.3731, allocations: 0.5331 MB / 467.1 MB, free: 9.406 MB / 346.7 MB Notification: Performance of pre-optimization done (n=81): time 2.655e-06/0.3731, allocations: 0 / 467.1 MB, free: 9.406 MB / 346.7 MB Notification: Performance of matching and sorting (n=81): time 0.001589/0.3747, allocations: 0.9305 MB / 468.1 MB, free: 8.469 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.212e-05/0.3748, allocations: 153.1 kB / 468.2 MB, free: 8.289 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009522/0.3757, allocations: 0.6908 MB / 468.9 MB, free: 7.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.226e-05/0.3758, allocations: 41.69 kB / 468.9 MB, free: 7.543 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003483/0.3762, allocations: 483 kB / 469.4 MB, free: 7.062 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001921/0.3764, allocations: 224.9 kB / 469.6 MB, free: 6.84 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-05/0.3764, allocations: 0 / 469.6 MB, free: 6.84 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002003/0.3767, allocations: 406.7 kB / 470 MB, free: 6.434 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005806/0.3772, allocations: 405.8 kB / 470.4 MB, free: 6.035 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007684/0.378, allocations: 0.6124 MB / 471 MB, free: 5.328 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006274/0.3787, allocations: 436.2 kB / 471.5 MB, free: 4.906 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/0.3787, allocations: 3.906 kB / 471.5 MB, free: 4.902 MB / 346.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001885/0.3806, allocations: 1.151 MB / 472.6 MB, free: 3.742 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009931/0.3816, allocations: 2.527 MB / 475.1 MB, free: 1.016 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/0.3816, allocations: 4 kB / 475.1 MB, free: 1.012 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005758/0.3822, allocations: 225.2 kB / 475.4 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006365/0.3828, allocations: 155.7 kB / 475.5 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002993/0.3858, allocations: 2.546 MB / 478.1 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000914/0.3868, allocations: 135.3 kB / 478.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/0.3869, allocations: 39.98 kB / 478.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.3869, allocations: 5.094 kB / 478.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001812/0.3887, allocations: 1.021 MB / 479.3 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.195e-05/0.3888, allocations: 4 kB / 479.3 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005165/0.3893, allocations: 221.3 kB / 479.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000558/0.3899, allocations: 147.7 kB / 479.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002872/0.3927, allocations: 2.544 MB / 482.2 MB, free: 9.746 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008272/0.3936, allocations: 119.4 kB / 482.3 MB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.928e-05/0.3937, allocations: 36 kB / 482.3 MB, free: 9.594 MB / 362.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 (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.0002621/0.394, allocations: 160.8 kB / 482.5 MB, free: 9.438 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002158/0.3942, allocations: 86.91 kB / 482.6 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002499/0.3944, allocations: 96.44 kB / 482.7 MB, free: 9.254 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.3945, allocations: 11.98 kB / 482.7 MB, free: 9.242 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.3945, allocations: 7.906 kB / 482.7 MB, free: 9.234 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.3945, allocations: 11.92 kB / 482.7 MB, free: 9.223 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004087/0.3986, allocations: 2.298 MB / 485 MB, free: 6.871 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.3986, allocations: 0 / 485 MB, free: 6.871 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004103/0.399, allocations: 75.95 kB / 485.1 MB, free: 6.797 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004586/0.3995, allocations: 200.7 kB / 485.3 MB, free: 6.598 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.715e-05/0.3996, allocations: 8.172 kB / 485.3 MB, free: 6.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00275/0.4023, allocations: 2.477 MB / 487.7 MB, free: 3.988 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.4024, allocations: 0 / 487.7 MB, free: 3.988 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002183/0.4045, allocations: 1.597 MB / 489.3 MB, free: 2.352 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005185/0.4051, allocations: 259.9 kB / 489.6 MB, free: 2.078 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002024/0.4053, allocations: 15.98 kB / 489.6 MB, free: 2.062 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006205/0.4059, allocations: 75.92 kB / 489.7 MB, free: 1.988 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002114/0.4061, allocations: 84.53 kB / 489.8 MB, free: 1.906 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.463e-05/0.4062, allocations: 23.98 kB / 489.8 MB, free: 1.883 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0007329/0.4069, allocations: 0.5069 MB / 490.3 MB, free: 1.375 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001653/0.4086, allocations: 0.529 MB / 490.8 MB, free: 0.8438 MB / 362.7 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.0002322/0.4088, allocations: 148.4 kB / 491 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002641/0.4115, allocations: 1.77 MB / 492.7 MB, free: 14.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.4115, allocations: 0 / 492.7 MB, free: 14.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009344/0.4125, allocations: 0.6462 MB / 493.4 MB, free: 14.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008497/0.4133, allocations: 165 kB / 493.5 MB, free: 14.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004156/0.4175, allocations: 1.956 MB / 495.5 MB, free: 12.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00134/0.4188, allocations: 1.459 MB / 497 MB, free: 10.6 MB / 378.7 MB Notification: Performance of SimCode: time 9.02e-07/0.4189, allocations: 0 / 497 MB, free: 10.6 MB / 378.7 MB Notification: Performance of Templates: time 0.03014/0.449, allocations: 17.89 MB / 0.5028 GB, free: 8.727 MB / 394.7 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)