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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV") [: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.001135/0.001135, allocations: 194 kB / 8.137 MB, free: 2.102 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.113/1.113, allocations: 194.2 MB / 202.8 MB, free: 8.664 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.001694/0.001694, allocations: 112.1 kB / 247.7 MB, free: 6.332 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 8.206e-06/8.226e-06, allocations: 4 kB / 297.6 MB, free: 7.957 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06873/0.06876, allocations: 44.49 MB / 342.1 MB, free: 11.35 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2/0.2688, allocations: 84.57 MB / 426.7 MB, free: 10.61 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002171/0.269, allocations: 83.56 kB / 426.7 MB, free: 10.56 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.07076/0.3398, allocations: 27.89 MB / 454.6 MB, free: 3.535 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001109/0.3399, allocations: 39.94 kB / 454.7 MB, free: 3.496 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: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.003359/0.3433, allocations: 1.528 MB / 456.2 MB, free: 1.984 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.3434, allocations: 8.031 kB / 456.2 MB, free: 1.977 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004715/0.3438, allocations: 169.9 kB / 456.4 MB, free: 1.812 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004299/0.3481, allocations: 1.63 MB / 458 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.595e-05/0.3483, allocations: 51.98 kB / 458.1 MB, free: 464 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003627/0.3486, allocations: 83.75 kB / 458.1 MB, free: 384 kB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002597/0.3512, allocations: 1.305 MB / 459.4 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002651/0.3539, allocations: 1.53 MB / 461 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.516e-05/0.354, allocations: 3.984 kB / 461 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001312/0.3541, allocations: 7.5 kB / 461 MB, free: 14.42 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.458e-05/0.3542, allocations: 62.39 kB / 461 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008106/0.3623, allocations: 4.753 MB / 465.8 MB, free: 10.67 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001239/0.3636, allocations: 0.8578 MB / 466.7 MB, free: 9.992 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008821/0.3645, allocations: 0.5587 MB / 467.2 MB, free: 9.43 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.927e-05/0.3645, allocations: 12.66 kB / 467.2 MB, free: 9.418 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000752/0.3653, allocations: 0.53 MB / 467.8 MB, free: 8.867 MB / 346.7 MB Notification: Performance of pre-optimization done (n=82): time 3.086e-06/0.3653, allocations: 3.938 kB / 467.8 MB, free: 8.863 MB / 346.7 MB Notification: Performance of matching and sorting (n=82): time 0.001569/0.3669, allocations: 0.933 MB / 468.7 MB, free: 7.922 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.914e-05/0.367, allocations: 145.2 kB / 468.8 MB, free: 7.75 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009236/0.3679, allocations: 0.6986 MB / 469.5 MB, free: 7.043 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.749e-05/0.368, allocations: 41.69 kB / 469.6 MB, free: 6.996 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003393/0.3683, allocations: 491 kB / 470 MB, free: 6.508 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002167/0.3686, allocations: 232.7 kB / 470.3 MB, free: 6.277 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.383e-05/0.3686, allocations: 4.031 kB / 470.3 MB, free: 6.273 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.3688, allocations: 398.7 kB / 470.7 MB, free: 5.875 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005775/0.3694, allocations: 409.8 kB / 471.1 MB, free: 5.473 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007216/0.3701, allocations: 0.6202 MB / 471.7 MB, free: 4.758 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006074/0.3707, allocations: 436.2 kB / 472.1 MB, free: 4.336 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.3707, allocations: 4 kB / 472.1 MB, free: 4.332 MB / 346.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.00175/0.3725, allocations: 1.147 MB / 473.3 MB, free: 3.176 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008066/0.3733, allocations: 2.531 MB / 475.8 MB, free: 456 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.3733, allocations: 8 kB / 475.8 MB, free: 448 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000516/0.3739, allocations: 216.7 kB / 476 MB, free: 228 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005959/0.3745, allocations: 155.7 kB / 476.2 MB, free: 72 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002807/0.3773, allocations: 2.561 MB / 478.7 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007809/0.3781, allocations: 135.3 kB / 478.9 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.987e-05/0.3782, allocations: 39.94 kB / 478.9 MB, free: 13.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.963e-06/0.3782, allocations: 4 kB / 478.9 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001503/0.3797, allocations: 1.021 MB / 479.9 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.3797, allocations: 8.844 kB / 479.9 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004547/0.3802, allocations: 229 kB / 480.2 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005552/0.3807, allocations: 139.7 kB / 480.3 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002733/0.3835, allocations: 2.544 MB / 482.8 MB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007601/0.3843, allocations: 119.3 kB / 483 MB, free: 9.051 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.262e-05/0.3844, allocations: 39.98 kB / 483 MB, free: 9.012 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 (107): * Single equations (assignments): 106 * 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.0002783/0.3847, allocations: 168.7 kB / 483.2 MB, free: 8.848 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002484/0.3849, allocations: 90.95 kB / 483.2 MB, free: 8.758 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002427/0.3852, allocations: 96.64 kB / 483.3 MB, free: 8.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.3852, allocations: 8 kB / 483.3 MB, free: 8.652 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.3852, allocations: 4 kB / 483.4 MB, free: 8.648 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.3852, allocations: 7.891 kB / 483.4 MB, free: 8.641 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003852/0.3891, allocations: 2.313 MB / 485.7 MB, free: 6.273 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.3891, allocations: 0 / 485.7 MB, free: 6.273 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003934/0.3895, allocations: 83.89 kB / 485.8 MB, free: 6.191 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004324/0.3899, allocations: 200.7 kB / 486 MB, free: 5.992 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.277e-05/0.39, allocations: 4 kB / 486 MB, free: 5.988 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002555/0.3926, allocations: 2.462 MB / 488.4 MB, free: 3.398 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.3926, allocations: 0 / 488.4 MB, free: 3.398 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002153/0.3947, allocations: 1.613 MB / 490 MB, free: 1.746 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004466/0.3952, allocations: 259.9 kB / 490.3 MB, free: 1.473 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001693/0.3954, allocations: 11.98 kB / 490.3 MB, free: 1.461 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005849/0.396, allocations: 75.94 kB / 490.4 MB, free: 1.387 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002014/0.3962, allocations: 88.52 kB / 490.5 MB, free: 1.301 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.401e-05/0.3962, allocations: 23.98 kB / 490.5 MB, free: 1.277 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0007324/0.397, allocations: 0.5109 MB / 491 MB, free: 0.7656 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001703/0.3987, allocations: 0.5329 MB / 491.5 MB, free: 236 kB / 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[1].off,rectifier.thyristor.idealThyristor[2].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 60 * 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.0002335/0.3989, allocations: 152.4 kB / 491.7 MB, free: 72 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002709/0.4017, allocations: 1.783 MB / 493.5 MB, free: 14.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.4017, allocations: 1.688 kB / 493.5 MB, free: 14.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008954/0.4026, allocations: 0.6484 MB / 494.1 MB, free: 13.61 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008299/0.4034, allocations: 152.4 kB / 494.3 MB, free: 13.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004247/0.4077, allocations: 1.981 MB / 496.2 MB, free: 11.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001319/0.409, allocations: 1.463 MB / 497.7 MB, free: 9.949 MB / 378.7 MB Notification: Performance of SimCode: time 1.894e-06/0.409, allocations: 4 kB / 497.7 MB, free: 9.945 MB / 378.7 MB Notification: Performance of Templates: time 0.03099/0.44, allocations: 17.99 MB / 0.5036 GB, free: 7.957 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV.pipe 2>&1)