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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001172/0.001172, allocations: 182.3 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.451/1.451, allocations: 194.3 MB / 208.4 MB, free: 6.699 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.001549/0.00155, allocations: 112.7 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.236e-05/3.238e-05, allocations: 8 kB / 305 MB, free: 29.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0823/0.08234, allocations: 44.5 MB / 349.5 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3114/0.3938, allocations: 85.32 MB / 434.8 MB, free: 8.352 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002181/0.394, allocations: 87.72 kB / 434.9 MB, free: 8.336 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06645/0.4605, allocations: 28.47 MB / 463.3 MB, free: 2.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4605, allocations: 4 kB / 463.3 MB, free: 2.016 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.406e-05/0.4606, allocations: 39.98 kB / 463.4 MB, free: 1.977 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: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.002701/0.4633, allocations: 1.533 MB / 464.9 MB, free: 472 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.4634, allocations: 8.031 kB / 464.9 MB, free: 464 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002876/0.4637, allocations: 166.4 kB / 465.1 MB, free: 296 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003651/0.4673, allocations: 1.645 MB / 466.7 MB, free: 14.95 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.271e-05/0.4674, allocations: 97.22 kB / 466.8 MB, free: 14.89 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002106/0.4677, allocations: 130.3 kB / 467 MB, free: 14.81 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002563/0.4702, allocations: 1.683 MB / 468.6 MB, free: 13.63 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.563e-05/0.4703, allocations: 4 kB / 468.6 MB, free: 13.62 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001247/0.4704, allocations: 56.61 kB / 468.7 MB, free: 13.61 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.491e-05/0.4705, allocations: 62.47 kB / 468.8 MB, free: 13.55 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002014/0.4725, allocations: 1.335 MB / 470.1 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007351/0.4799, allocations: 4.987 MB / 475.1 MB, free: 8.684 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00169/0.4816, allocations: 1.064 MB / 476.1 MB, free: 7.602 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008555/0.4825, allocations: 0.5658 MB / 476.7 MB, free: 7.035 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.116e-05/0.4825, allocations: 16.67 kB / 476.7 MB, free: 7.02 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008397/0.4834, allocations: 0.5879 MB / 477.3 MB, free: 6.41 MB / 330.7 MB Notification: Performance of pre-optimization done (n=82): time 2.515e-06/0.4834, allocations: 0 / 477.3 MB, free: 6.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=82): time 0.001731/0.4851, allocations: 0.9917 MB / 478.3 MB, free: 5.406 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.4852, allocations: 149.3 kB / 478.4 MB, free: 5.23 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.4863, allocations: 0.7865 MB / 479.2 MB, free: 4.438 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.899e-05/0.4864, allocations: 57.69 kB / 479.3 MB, free: 4.375 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005115/0.4869, allocations: 0.585 MB / 479.9 MB, free: 3.781 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001969/0.4871, allocations: 236.8 kB / 480.1 MB, free: 3.547 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.419e-05/0.4872, allocations: 16 kB / 480.1 MB, free: 3.531 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.4873, allocations: 345.9 kB / 480.5 MB, free: 3.188 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005757/0.4879, allocations: 409.8 kB / 480.9 MB, free: 2.785 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007671/0.4887, allocations: 0.6339 MB / 481.5 MB, free: 2.055 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006345/0.4893, allocations: 433.9 kB / 481.9 MB, free: 1.629 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.4893, allocations: 0 / 481.9 MB, free: 1.629 MB / 330.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001823/0.4912, allocations: 1.218 MB / 483.1 MB, free: 408 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000966/0.4922, allocations: 2.528 MB / 485.7 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/0.4922, allocations: 15.94 kB / 485.7 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000547/0.4927, allocations: 209.7 kB / 485.9 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005423/0.4933, allocations: 151.7 kB / 486 MB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003088/0.4964, allocations: 2.773 MB / 488.8 MB, free: 10.4 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007932/0.4972, allocations: 155.2 kB / 489 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.748e-05/0.4973, allocations: 36 kB / 489 MB, free: 10.21 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.734e-06/0.4973, allocations: 8 kB / 489 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001534/0.4988, allocations: 1.104 MB / 490.1 MB, free: 9.094 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.4989, allocations: 15.92 kB / 490.1 MB, free: 9.078 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004044/0.4993, allocations: 212.7 kB / 490.3 MB, free: 8.867 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004914/0.4998, allocations: 151.7 kB / 490.5 MB, free: 8.719 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002812/0.5026, allocations: 2.765 MB / 493.2 MB, free: 5.816 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007727/0.5034, allocations: 135.6 kB / 493.4 MB, free: 5.684 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.187e-05/0.5035, allocations: 36 kB / 493.4 MB, free: 5.648 MB / 346.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.0002975/0.5038, allocations: 200.7 kB / 493.6 MB, free: 5.449 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/0.5039, allocations: 102.9 kB / 493.7 MB, free: 5.348 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002901/0.5042, allocations: 109.3 kB / 493.8 MB, free: 5.234 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/0.5042, allocations: 8 kB / 493.8 MB, free: 5.227 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.5042, allocations: 4 kB / 493.8 MB, free: 5.223 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.677e-06/0.5043, allocations: 3.984 kB / 493.8 MB, free: 5.219 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0037/0.508, allocations: 2.561 MB / 496.4 MB, free: 2.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.508, allocations: 0 / 496.4 MB, free: 2.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003416/0.5083, allocations: 79.83 kB / 496.5 MB, free: 2.512 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000393/0.5087, allocations: 200.7 kB / 496.7 MB, free: 2.312 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.966e-05/0.5088, allocations: 15.98 kB / 496.7 MB, free: 2.297 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002776/0.5116, allocations: 2.745 MB / 499.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.5116, allocations: 3.984 kB / 499.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002091/0.5137, allocations: 1.641 MB / 0.4893 GB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004371/0.5141, allocations: 263.9 kB / 0.4896 GB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/0.5143, allocations: 23.94 kB / 0.4896 GB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005136/0.5148, allocations: 91.92 kB / 0.4897 GB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002728/0.5151, allocations: 144.5 kB / 0.4898 GB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.828e-05/0.5151, allocations: 20 kB / 0.4898 GB, free: 13.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007659/0.5159, allocations: 0.5889 MB / 0.4904 GB, free: 12.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5159, allocations: 0 / 0.4904 GB, free: 12.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001441/0.5174, allocations: 0.5876 MB / 0.491 GB, free: 12 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[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.0002269/0.5176, allocations: 172.8 kB / 0.4912 GB, free: 11.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002553/0.5202, allocations: 1.895 MB / 0.493 GB, free: 9.895 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.5202, allocations: 4 kB / 0.493 GB, free: 9.891 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009015/0.5211, allocations: 0.7057 MB / 0.4937 GB, free: 9.172 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008082/0.5219, allocations: 179.9 kB / 0.4939 GB, free: 9 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00345/0.5254, allocations: 1.976 MB / 0.4958 GB, free: 6.988 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001007/0.5264, allocations: 1.413 MB / 0.4972 GB, free: 5.547 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001173/0.5276, allocations: 423.1 kB / 0.4976 GB, free: 5.129 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.5277, allocations: 51.44 kB / 0.4976 GB, free: 5.078 MB / 362.7 MB Notification: Performance of SimCode: time 7.21e-07/0.5277, allocations: 0 / 0.4976 GB, free: 5.078 MB / 362.7 MB Notification: Performance of Templates: time 0.02716/0.5549, allocations: 16.76 MB / 0.514 GB, free: 4.301 MB / 378.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)