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_RLV_Characteristic.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_RLV_Characteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic") [: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.00103/0.00103, allocations: 187.2 kB / 8.134 MB, free: 2.172 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.204/1.204, allocations: 194.2 MB / 202.8 MB, free: 8.711 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.001831/0.001831, allocations: 121.5 kB / 247.7 MB, free: 6.352 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.07e-05/1.072e-05, allocations: 7.938 kB / 297.6 MB, free: 7.965 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07515/0.07518, allocations: 44.48 MB / 342.1 MB, free: 11.37 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2106/0.2858, allocations: 84.79 MB / 426.9 MB, free: 10.37 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/0.2861, allocations: 87.86 kB / 426.9 MB, free: 10.32 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.07025/0.3563, allocations: 28.03 MB / 455 MB, free: 3.168 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000113/0.3565, allocations: 35.94 kB / 455 MB, free: 3.133 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: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.003582/0.3601, allocations: 1.555 MB / 456.6 MB, free: 1.594 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.3601, allocations: 8.031 kB / 456.6 MB, free: 1.586 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000502/0.3606, allocations: 162 kB / 456.7 MB, free: 1.426 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004196/0.3648, allocations: 1.629 MB / 458.4 MB, free: 120 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.032e-05/0.365, allocations: 51.5 kB / 458.4 MB, free: 72 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003587/0.3653, allocations: 80.11 kB / 458.5 MB, free: 15.99 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002452/0.3678, allocations: 1.31 MB / 459.8 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002584/0.3704, allocations: 1.542 MB / 461.3 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.871e-05/0.3704, allocations: 3.906 kB / 461.3 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001258/0.3706, allocations: 3.984 kB / 461.4 MB, free: 14.03 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.327e-05/0.3706, allocations: 58.56 kB / 461.4 MB, free: 13.97 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008084/0.3787, allocations: 4.788 MB / 466.2 MB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001497/0.3803, allocations: 0.9633 MB / 467.2 MB, free: 9.445 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000852/0.3811, allocations: 0.5711 MB / 467.7 MB, free: 8.875 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.922e-05/0.3812, allocations: 12.64 kB / 467.7 MB, free: 8.863 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007874/0.382, allocations: 0.5627 MB / 468.3 MB, free: 8.281 MB / 346.7 MB Notification: Performance of pre-optimization done (n=85): time 3.006e-06/0.382, allocations: 0 / 468.3 MB, free: 8.281 MB / 346.7 MB Notification: Performance of matching and sorting (n=85): time 0.001678/0.3837, allocations: 0.963 MB / 469.3 MB, free: 7.309 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.643e-05/0.3838, allocations: 145.3 kB / 469.4 MB, free: 7.137 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009627/0.3847, allocations: 0.6791 MB / 470.1 MB, free: 6.449 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.841e-05/0.3848, allocations: 41.69 kB / 470.1 MB, free: 6.402 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003729/0.3852, allocations: 0.4913 MB / 470.6 MB, free: 5.902 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002144/0.3855, allocations: 236.6 kB / 470.9 MB, free: 5.668 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.591e-05/0.3855, allocations: 0 / 470.9 MB, free: 5.668 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.3857, allocations: 402.7 kB / 471.2 MB, free: 5.266 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005809/0.3863, allocations: 405.8 kB / 471.6 MB, free: 4.867 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007296/0.387, allocations: 0.6281 MB / 472.3 MB, free: 4.145 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006214/0.3876, allocations: 436.3 kB / 472.7 MB, free: 3.719 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.3877, allocations: 0 / 472.7 MB, free: 3.719 MB / 346.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.00179/0.3895, allocations: 1.154 MB / 473.9 MB, free: 2.555 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007919/0.3903, allocations: 2.529 MB / 476.4 MB, free: 15.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.3903, allocations: 8 kB / 476.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005298/0.3908, allocations: 224.7 kB / 476.6 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006406/0.3915, allocations: 163.7 kB / 476.8 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002885/0.3944, allocations: 2.541 MB / 479.3 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008135/0.3952, allocations: 131.3 kB / 479.4 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.347e-05/0.3953, allocations: 36 kB / 479.5 MB, free: 12.62 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.893e-06/0.3953, allocations: 7.938 kB / 479.5 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001526/0.3968, allocations: 1.033 MB / 480.5 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.3969, allocations: 11.94 kB / 480.5 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004555/0.3973, allocations: 235.1 kB / 480.8 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005699/0.3979, allocations: 151.8 kB / 480.9 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002652/0.4006, allocations: 2.54 MB / 483.4 MB, free: 8.523 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007762/0.4014, allocations: 119.3 kB / 483.6 MB, free: 8.406 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.92e-05/0.4015, allocations: 43.98 kB / 483.6 MB, free: 8.363 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 (108): * Single equations (assignments): 107 * 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.0002649/0.4017, allocations: 168.6 kB / 483.8 MB, free: 8.199 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002112/0.402, allocations: 90.95 kB / 483.9 MB, free: 8.109 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002702/0.4022, allocations: 100.6 kB / 484 MB, free: 8.008 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/0.4023, allocations: 11.91 kB / 484 MB, free: 7.996 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.4023, allocations: 0 / 484 MB, free: 7.996 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.898e-06/0.4023, allocations: 3.984 kB / 484 MB, free: 7.992 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004126/0.4064, allocations: 2.355 MB / 486.3 MB, free: 5.582 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/0.4064, allocations: 4 kB / 486.3 MB, free: 5.578 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004778/0.4069, allocations: 99.94 kB / 486.4 MB, free: 5.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004351/0.4074, allocations: 200.3 kB / 486.6 MB, free: 5.285 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-05/0.4074, allocations: 7.984 kB / 486.6 MB, free: 5.277 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002566/0.41, allocations: 2.466 MB / 489.1 MB, free: 2.684 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.41, allocations: 4 kB / 489.1 MB, free: 2.68 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002176/0.4122, allocations: 1.652 MB / 490.8 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004713/0.4127, allocations: 259.9 kB / 491 MB, free: 0.7148 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002132/0.4129, allocations: 11.98 kB / 491 MB, free: 0.7031 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006843/0.4136, allocations: 87.92 kB / 491.1 MB, free: 0.6172 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002193/0.4138, allocations: 96.48 kB / 491.2 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.437e-05/0.4139, allocations: 27.98 kB / 491.2 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0006916/0.4146, allocations: 0.5031 MB / 491.7 MB, free: 15.99 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001668/0.4163, allocations: 0.529 MB / 492.3 MB, free: 15.46 MB / 378.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[1].off,rectifier.thyristor.idealThyristor[2].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 63 * 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.0002436/0.4165, allocations: 144.7 kB / 492.4 MB, free: 15.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00271/0.4193, allocations: 1.808 MB / 494.2 MB, free: 13.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4193, allocations: 0 / 494.2 MB, free: 13.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000902/0.4202, allocations: 0.6608 MB / 494.9 MB, free: 12.81 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008478/0.421, allocations: 154.8 kB / 495 MB, free: 12.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004494/0.4256, allocations: 2.02 MB / 497 MB, free: 10.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001341/0.4269, allocations: 1.467 MB / 498.5 MB, free: 9.098 MB / 378.7 MB Notification: Performance of SimCode: time 7.91e-07/0.4269, allocations: 0 / 498.5 MB, free: 9.098 MB / 378.7 MB Notification: Performance of Templates: time 0.0311/0.458, allocations: 18.27 MB / 0.5047 GB, free: 6.84 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic.pipe 2>&1)