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_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009781/0.0009778, allocations: 179.4 kB / 16.38 MB, free: 5.766 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.227/1.227, allocations: 194.5 MB / 211.6 MB, free: 3.047 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.001666/0.001666, allocations: 114.7 kB / 256.9 MB, free: 4.352 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002806/0.0002806, allocations: 11.98 kB / 310.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08486/0.08516, allocations: 44.5 MB / 355.1 MB, free: 2.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.234/0.3192, allocations: 84.85 MB / 439.9 MB, free: 4.781 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002146/0.3195, allocations: 91.3 kB / 440 MB, free: 4.734 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06432/0.3838, allocations: 27.83 MB / 467.8 MB, free: 11.38 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3839, allocations: 0 / 467.8 MB, free: 11.38 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001085/0.384, allocations: 36 kB / 467.9 MB, free: 11.34 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 318 * Number of variables: 318 Notification: Performance of Generate backend data structure: time 0.00357/0.3876, allocations: 1.625 MB / 469.5 MB, free: 9.641 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.3876, allocations: 12.03 kB / 469.5 MB, free: 9.629 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00045/0.3881, allocations: 162.1 kB / 469.7 MB, free: 9.469 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004041/0.3921, allocations: 1.636 MB / 471.3 MB, free: 7.785 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.004e-05/0.3922, allocations: 102.4 kB / 471.4 MB, free: 7.684 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000249/0.3925, allocations: 131.9 kB / 471.5 MB, free: 7.555 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002899/0.3954, allocations: 1.691 MB / 473.2 MB, free: 5.789 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.11e-05/0.3954, allocations: 7.922 kB / 473.2 MB, free: 5.781 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001349/0.3956, allocations: 52 kB / 473.3 MB, free: 5.73 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.997e-05/0.3956, allocations: 62.39 kB / 473.3 MB, free: 5.668 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002318/0.398, allocations: 1.392 MB / 474.7 MB, free: 4.27 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007103/0.4051, allocations: 4.86 MB / 479.6 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001598/0.4067, allocations: 1.068 MB / 480.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.86e-05/0.4068, allocations: 12.56 kB / 480.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008681/0.4076, allocations: 0.6044 MB / 481.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of pre-optimization done (n=79): time 2.294e-06/0.4076, allocations: 0 / 481.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=79): time 0.00302/0.4107, allocations: 1.666 MB / 482.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.272e-05/0.4108, allocations: 123.5 kB / 483.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.4118, allocations: 0.7807 MB / 483.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.299e-05/0.4119, allocations: 61.69 kB / 483.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004235/0.4123, allocations: 0.5733 MB / 484.5 MB, free: 10.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002065/0.4125, allocations: 228.9 kB / 484.7 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.197e-05/0.4126, allocations: 16 kB / 484.7 MB, free: 10.05 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.4127, allocations: 349.9 kB / 485.1 MB, free: 9.707 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006765/0.4134, allocations: 445.7 kB / 485.5 MB, free: 9.273 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008069/0.4142, allocations: 0.661 MB / 486.2 MB, free: 8.523 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007201/0.415, allocations: 466.8 kB / 486.6 MB, free: 8.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.415, allocations: 4 kB / 486.6 MB, free: 8.066 MB / 362.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001887/0.4169, allocations: 1.29 MB / 487.9 MB, free: 6.762 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000842/0.4177, allocations: 2.437 MB / 490.3 MB, free: 4.137 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.4177, allocations: 12 kB / 490.4 MB, free: 4.125 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005444/0.4183, allocations: 228.7 kB / 490.6 MB, free: 3.898 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004834/0.4188, allocations: 143.7 kB / 490.7 MB, free: 3.758 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003114/0.4219, allocations: 2.861 MB / 493.6 MB, free: 0.7578 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007449/0.4227, allocations: 155.2 kB / 493.7 MB, free: 0.6055 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-05/0.4227, allocations: 32 kB / 493.8 MB, free: 0.5742 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.819e-06/0.4228, allocations: 5.25 kB / 493.8 MB, free: 0.5703 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001661/0.4244, allocations: 1.161 MB / 494.9 MB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.4244, allocations: 8 kB / 494.9 MB, free: 15.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000425/0.4249, allocations: 216.7 kB / 495.1 MB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004289/0.4253, allocations: 135.7 kB / 495.3 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00303/0.4284, allocations: 2.855 MB / 498.1 MB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007987/0.4292, allocations: 139.4 kB / 498.3 MB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-05/0.4292, allocations: 32 kB / 498.3 MB, free: 11.9 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 101 * 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 11} Notification: Performance of prepare postOptimizeDAE: time 0.000988/0.4302, allocations: 0.6022 MB / 498.9 MB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.4304, allocations: 90.88 kB / 499 MB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002073/0.4306, allocations: 116.9 kB / 499.1 MB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.4306, allocations: 7.953 kB / 499.1 MB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.4306, allocations: 4 kB / 499.1 MB, free: 11.06 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.4306, allocations: 7.922 kB / 499.1 MB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003743/0.4344, allocations: 2.435 MB / 0.4898 GB, free: 8.566 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.4344, allocations: 4 kB / 0.4898 GB, free: 8.562 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003223/0.4347, allocations: 71.89 kB / 0.4899 GB, free: 8.492 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004586/0.4352, allocations: 207 kB / 0.4901 GB, free: 8.289 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.091e-05/0.4353, allocations: 19.98 kB / 0.4901 GB, free: 8.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002897/0.4382, allocations: 2.73 MB / 0.4928 GB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.4382, allocations: 4 kB / 0.4928 GB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002382/0.4406, allocations: 1.677 MB / 0.4944 GB, free: 3.703 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004981/0.4411, allocations: 259.9 kB / 0.4947 GB, free: 3.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001669/0.4413, allocations: 23.98 kB / 0.4947 GB, free: 3.406 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005448/0.4418, allocations: 91.91 kB / 0.4948 GB, free: 3.316 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002886/0.4421, allocations: 136.4 kB / 0.4949 GB, free: 3.184 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.968e-05/0.4422, allocations: 19.95 kB / 0.4949 GB, free: 3.164 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009239/0.4431, allocations: 0.6044 MB / 0.4955 GB, free: 2.559 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4431, allocations: 0 / 0.4955 GB, free: 2.559 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001735/0.4449, allocations: 0.5798 MB / 0.4961 GB, free: 1.977 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * 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[2].off,rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[3].off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 56 * 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 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002583/0.4451, allocations: 156.5 kB / 0.4962 GB, free: 1.812 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003126/0.4483, allocations: 1.98 MB / 0.4982 GB, free: 15.81 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.4483, allocations: 0 / 0.4982 GB, free: 15.81 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000955/0.4492, allocations: 0.6791 MB / 0.4988 GB, free: 15.12 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008403/0.4501, allocations: 186.1 kB / 0.499 GB, free: 14.95 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004983/0.4551, allocations: 2.992 MB / 0.5019 GB, free: 11.93 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001135/0.4562, allocations: 1.396 MB / 0.5033 GB, free: 10.5 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0008451/0.4571, allocations: 307 kB / 0.5036 GB, free: 10.19 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001929/0.4573, allocations: 59.44 kB / 0.5036 GB, free: 10.13 MB / 394.7 MB Notification: Performance of SimCode: time 8.92e-07/0.4573, allocations: 0 / 0.5036 GB, free: 10.13 MB / 394.7 MB Notification: Performance of Templates: time 0.1717/0.629, allocations: 15.59 MB / 0.5188 GB, free: 113.6 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R.pipe 2>&1)