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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001466/0.001466, allocations: 188.5 kB / 8.353 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.337/1.337, allocations: 194.3 MB / 203.1 MB, free: 9.316 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.00174/0.00174, allocations: 112.3 kB / 248.1 MB, free: 6.352 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 2.212e-05/2.22e-05, allocations: 4 kB / 298.1 MB, free: 8.227 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1232, allocations: 44.5 MB / 342.6 MB, free: 11.63 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2973/0.4205, allocations: 84.86 MB / 427.5 MB, free: 11.07 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/0.4209, allocations: 85.08 kB / 427.5 MB, free: 11.03 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.07187/0.4928, allocations: 28.34 MB / 455.9 MB, free: 3.57 MB / 331.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.4928, allocations: 0 / 455.9 MB, free: 3.57 MB / 331.1 MB Notification: Performance of Transformations before backend: time 0.0001454/0.493, allocations: 35.94 kB / 455.9 MB, free: 3.535 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: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.004258/0.4972, allocations: 1.553 MB / 457.5 MB, free: 2 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.4973, allocations: 8.031 kB / 457.5 MB, free: 1.992 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006704/0.498, allocations: 166.4 kB / 457.6 MB, free: 1.828 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004602/0.5026, allocations: 1.626 MB / 459.3 MB, free: 0.5234 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002035/0.5028, allocations: 51.55 kB / 459.3 MB, free: 488 kB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003357/0.5032, allocations: 83.84 kB / 459.4 MB, free: 404 kB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002657/0.5058, allocations: 1.279 MB / 460.7 MB, free: 15.62 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002998/0.5088, allocations: 1.511 MB / 462.2 MB, free: 14.5 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.394e-05/0.5089, allocations: 0 / 462.2 MB, free: 14.5 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001279/0.5091, allocations: 3.984 kB / 462.2 MB, free: 14.5 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.345e-05/0.5092, allocations: 54.58 kB / 462.2 MB, free: 14.45 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008548/0.5177, allocations: 4.761 MB / 467 MB, free: 10.76 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001778/0.5195, allocations: 1.006 MB / 468 MB, free: 9.746 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001012/0.5206, allocations: 0.5597 MB / 468.6 MB, free: 9.191 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.78e-05/0.5207, allocations: 8.781 kB / 468.6 MB, free: 9.18 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00101/0.5217, allocations: 0.5862 MB / 469.2 MB, free: 8.574 MB / 347.1 MB Notification: Performance of pre-optimization done (n=85): time 2.465e-06/0.5217, allocations: 0 / 469.2 MB, free: 8.574 MB / 347.1 MB Notification: Performance of matching and sorting (n=85): time 0.001806/0.5235, allocations: 0.9569 MB / 470.1 MB, free: 7.605 MB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001666/0.5237, allocations: 145.3 kB / 470.3 MB, free: 7.434 MB / 347.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.5248, allocations: 0.6713 MB / 470.9 MB, free: 6.754 MB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001083/0.525, allocations: 41.69 kB / 471 MB, free: 6.707 MB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000634/0.5256, allocations: 0.5927 MB / 471.6 MB, free: 6.105 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002579/0.5259, allocations: 240.6 kB / 471.8 MB, free: 5.867 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.881e-05/0.5259, allocations: 0 / 471.8 MB, free: 5.867 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 0.0002117/0.5262, allocations: 402.7 kB / 472.2 MB, free: 5.465 MB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000621/0.5268, allocations: 390.5 kB / 472.6 MB, free: 5.082 MB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007773/0.5276, allocations: 0.611 MB / 473.2 MB, free: 4.375 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007016/0.5283, allocations: 420.2 kB / 473.6 MB, free: 3.965 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.166e-05/0.5283, allocations: 4 kB / 473.6 MB, free: 3.961 MB / 347.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001898/0.5302, allocations: 1.124 MB / 474.7 MB, free: 2.82 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001404/0.5316, allocations: 2.524 MB / 477.2 MB, free: 100 kB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.808e-05/0.5317, allocations: 8 kB / 477.3 MB, free: 92 kB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005928/0.5323, allocations: 216.7 kB / 477.5 MB, free: 15.88 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006065/0.5329, allocations: 167.7 kB / 477.6 MB, free: 15.71 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003102/0.536, allocations: 2.709 MB / 480.3 MB, free: 12.88 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007942/0.5368, allocations: 131.3 kB / 480.5 MB, free: 12.75 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.254e-05/0.5369, allocations: 35.98 kB / 480.5 MB, free: 12.72 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.5369, allocations: 4 kB / 480.5 MB, free: 12.71 MB / 363.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001702/0.5386, allocations: 0.9988 MB / 481.5 MB, free: 11.71 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/0.5387, allocations: 8 kB / 481.5 MB, free: 11.71 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004268/0.5391, allocations: 215.4 kB / 481.7 MB, free: 11.5 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005587/0.5397, allocations: 159.7 kB / 481.9 MB, free: 11.34 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003017/0.5427, allocations: 2.707 MB / 484.6 MB, free: 8.516 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008683/0.5436, allocations: 115.4 kB / 484.7 MB, free: 8.402 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.73e-05/0.5437, allocations: 36 kB / 484.7 MB, free: 8.367 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 (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.0002719/0.544, allocations: 180.5 kB / 484.9 MB, free: 8.191 MB / 363.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000205/0.5442, allocations: 90.92 kB / 485 MB, free: 8.102 MB / 363.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002857/0.5445, allocations: 100.9 kB / 485.1 MB, free: 7.996 MB / 363.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.5445, allocations: 8 kB / 485.1 MB, free: 7.988 MB / 363.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.5445, allocations: 4 kB / 485.1 MB, free: 7.984 MB / 363.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.5445, allocations: 7.984 kB / 485.1 MB, free: 7.977 MB / 363.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003973/0.5485, allocations: 2.331 MB / 487.4 MB, free: 5.59 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.5485, allocations: 4 kB / 487.5 MB, free: 5.586 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000454/0.549, allocations: 103.9 kB / 487.6 MB, free: 5.484 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004245/0.5494, allocations: 196.7 kB / 487.7 MB, free: 5.289 MB / 363.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.085e-05/0.5495, allocations: 4 kB / 487.7 MB, free: 5.285 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003111/0.5526, allocations: 2.636 MB / 490.4 MB, free: 2.531 MB / 363.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/0.5526, allocations: 3.953 kB / 490.4 MB, free: 2.527 MB / 363.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00208/0.5547, allocations: 1.61 MB / 492 MB, free: 0.8789 MB / 363.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005681/0.5553, allocations: 263.9 kB / 492.3 MB, free: 0.6016 MB / 363.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001845/0.5555, allocations: 15.98 kB / 492.3 MB, free: 0.5859 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006219/0.5561, allocations: 83.91 kB / 492.4 MB, free: 0.5039 MB / 363.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003025/0.5565, allocations: 152.7 kB / 492.5 MB, free: 364 kB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.903e-05/0.5565, allocations: 23.98 kB / 492.5 MB, free: 340 kB / 363.1 MB Notification: Performance of sorting global known variables: time 0.0008161/0.5573, allocations: 499.3 kB / 493 MB, free: 15.84 MB / 379.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5574, allocations: 0 / 493 MB, free: 15.84 MB / 379.1 MB Notification: Performance of remove unused functions: time 0.001958/0.5593, allocations: 0.5484 MB / 493.6 MB, free: 15.29 MB / 379.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[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.0002824/0.5596, allocations: 160.3 kB / 493.7 MB, free: 15.13 MB / 379.1 MB Notification: Performance of simCode: created initialization part: time 0.002731/0.5624, allocations: 1.815 MB / 495.5 MB, free: 13.29 MB / 379.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.5624, allocations: 0 / 495.5 MB, free: 13.29 MB / 379.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009656/0.5633, allocations: 0.6825 MB / 496.2 MB, free: 12.6 MB / 379.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.5644, allocations: 166.4 kB / 496.4 MB, free: 12.44 MB / 379.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004118/0.5686, allocations: 1.95 MB / 498.3 MB, free: 10.45 MB / 379.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001273/0.5698, allocations: 1.413 MB / 499.7 MB, free: 9.008 MB / 379.1 MB Notification: Performance of simCode: alias equations: time 0.001213/0.5711, allocations: 418.5 kB / 0.4884 GB, free: 8.594 MB / 379.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001858/0.5713, allocations: 55.38 kB / 0.4885 GB, free: 8.539 MB / 379.1 MB Notification: Performance of SimCode: time 8.72e-07/0.5713, allocations: 0 / 0.4885 GB, free: 8.539 MB / 379.1 MB Notification: Performance of Templates: time 0.02902/0.6003, allocations: 15.04 MB / 0.5032 GB, free: 9.52 MB / 395.1 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)