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.001158/0.001158, allocations: 182.8 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.297/1.297, allocations: 194.3 MB / 208.4 MB, free: 6.703 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.001451/0.001451, allocations: 120.7 kB / 253.5 MB, free: 9.566 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.032e-05/3.035e-05, allocations: 0 / 305 MB, free: 29.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07629/0.07634, allocations: 44.51 MB / 349.5 MB, free: 1.227 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3143/0.3907, allocations: 85.53 MB / 435 MB, free: 8.164 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/0.391, allocations: 86.44 kB / 435.1 MB, free: 8.148 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06703/0.4581, allocations: 28.6 MB / 463.7 MB, free: 1.684 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.552e-06/0.4581, allocations: 3.938 kB / 463.7 MB, free: 1.68 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.197e-05/0.4582, allocations: 36 kB / 463.7 MB, free: 1.645 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: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.002949/0.4612, allocations: 1.558 MB / 465.3 MB, free: 104 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.4612, allocations: 12.03 kB / 465.3 MB, free: 92 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003124/0.4615, allocations: 165.9 kB / 465.5 MB, free: 15.93 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003733/0.4653, allocations: 1.625 MB / 467.1 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.131e-05/0.4654, allocations: 110.8 kB / 467.2 MB, free: 14.54 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001925/0.4656, allocations: 131.5 kB / 467.3 MB, free: 14.45 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002577/0.4682, allocations: 1.689 MB / 469 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.162e-05/0.4682, allocations: 3.984 kB / 469 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00012/0.4683, allocations: 51.56 kB / 469.1 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.219e-05/0.4684, allocations: 61.69 kB / 469.1 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00206/0.4705, allocations: 1.336 MB / 470.5 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007368/0.4779, allocations: 5.021 MB / 475.5 MB, free: 8.289 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001625/0.4795, allocations: 1.04 MB / 476.5 MB, free: 7.234 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001202/0.4807, allocations: 0.577 MB / 477.1 MB, free: 6.656 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.348e-05/0.4808, allocations: 12.77 kB / 477.1 MB, free: 6.645 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001264/0.4821, allocations: 0.6151 MB / 477.7 MB, free: 6.008 MB / 330.7 MB Notification: Performance of pre-optimization done (n=85): time 6.291e-06/0.4821, allocations: 0 / 477.7 MB, free: 6.008 MB / 330.7 MB Notification: Performance of matching and sorting (n=85): time 0.00239/0.4845, allocations: 1.019 MB / 478.7 MB, free: 4.977 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.4846, allocations: 153.3 kB / 478.9 MB, free: 4.797 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001453/0.4861, allocations: 0.7538 MB / 479.6 MB, free: 4.035 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001229/0.4862, allocations: 57.67 kB / 479.7 MB, free: 3.973 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006656/0.4869, allocations: 0.5891 MB / 480.3 MB, free: 3.375 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002965/0.4872, allocations: 248.6 kB / 480.5 MB, free: 3.129 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.34e-05/0.4873, allocations: 20 kB / 480.6 MB, free: 3.109 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002043/0.4875, allocations: 341.9 kB / 480.9 MB, free: 2.77 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009044/0.4884, allocations: 417.8 kB / 481.3 MB, free: 2.359 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/0.4896, allocations: 0.6339 MB / 481.9 MB, free: 1.629 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009035/0.4905, allocations: 445.8 kB / 482.4 MB, free: 1.191 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/0.4905, allocations: 0 / 482.4 MB, free: 1.191 MB / 330.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002739/0.4932, allocations: 1.226 MB / 483.6 MB, free: 15.95 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001411/0.4947, allocations: 2.524 MB / 486.1 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.31e-05/0.4947, allocations: 8 kB / 486.1 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007614/0.4955, allocations: 229.2 kB / 486.3 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008294/0.4963, allocations: 163.7 kB / 486.5 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004482/0.5008, allocations: 2.76 MB / 489.3 MB, free: 9.945 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/0.502, allocations: 155.1 kB / 489.4 MB, free: 9.793 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/0.5021, allocations: 36 kB / 489.5 MB, free: 9.758 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.5021, allocations: 8 kB / 489.5 MB, free: 9.75 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002462/0.5046, allocations: 1.112 MB / 490.6 MB, free: 8.633 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.744e-05/0.5046, allocations: 8 kB / 490.6 MB, free: 8.625 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006643/0.5053, allocations: 220.7 kB / 490.8 MB, free: 8.406 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007527/0.5061, allocations: 160 kB / 491 MB, free: 8.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004338/0.5104, allocations: 2.768 MB / 493.7 MB, free: 5.344 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/0.5115, allocations: 135.4 kB / 493.9 MB, free: 5.211 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/0.5117, allocations: 36 kB / 493.9 MB, free: 5.176 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 (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.0004354/0.5121, allocations: 212.7 kB / 494.1 MB, free: 4.965 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003384/0.5125, allocations: 90.88 kB / 494.2 MB, free: 4.875 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004382/0.5129, allocations: 117.2 kB / 494.3 MB, free: 4.754 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.545e-05/0.5129, allocations: 12 kB / 494.3 MB, free: 4.742 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.513, allocations: 0 / 494.3 MB, free: 4.742 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.513, allocations: 3.984 kB / 494.3 MB, free: 4.738 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006049/0.519, allocations: 2.572 MB / 496.9 MB, free: 2.098 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.5191, allocations: 192 / 496.9 MB, free: 2.098 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005964/0.5197, allocations: 99.81 kB / 497 MB, free: 2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006364/0.5203, allocations: 201.2 kB / 497.2 MB, free: 1.801 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.349e-05/0.5205, allocations: 23.95 kB / 497.2 MB, free: 1.777 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004255/0.5247, allocations: 2.732 MB / 499.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.5247, allocations: 3.938 kB / 499.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002446/0.5272, allocations: 1.68 MB / 0.4899 GB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005472/0.5278, allocations: 267.9 kB / 0.4901 GB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002052/0.528, allocations: 27.97 kB / 0.4901 GB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006351/0.5286, allocations: 99.91 kB / 0.4902 GB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003256/0.529, allocations: 148.5 kB / 0.4904 GB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.455e-05/0.529, allocations: 24 kB / 0.4904 GB, free: 12.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001022/0.53, allocations: 0.5811 MB / 0.491 GB, free: 12.03 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5301, allocations: 3.938 kB / 0.491 GB, free: 12.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002001/0.5321, allocations: 0.5838 MB / 0.4915 GB, free: 11.44 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 (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.0003065/0.5324, allocations: 160.5 kB / 0.4917 GB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00301/0.5354, allocations: 1.917 MB / 0.4936 GB, free: 9.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.5354, allocations: 0 / 0.4936 GB, free: 9.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.5365, allocations: 0.723 MB / 0.4943 GB, free: 8.586 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.5375, allocations: 191.2 kB / 0.4945 GB, free: 8.402 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004227/0.5417, allocations: 2.012 MB / 0.4964 GB, free: 6.352 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001225/0.543, allocations: 1.406 MB / 0.4978 GB, free: 4.914 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001182/0.5441, allocations: 435 kB / 0.4982 GB, free: 4.484 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.5443, allocations: 51.44 kB / 0.4983 GB, free: 4.434 MB / 362.7 MB Notification: Performance of SimCode: time 1.202e-06/0.5443, allocations: 0 / 0.4983 GB, free: 4.434 MB / 362.7 MB Notification: Performance of Templates: time 0.03044/0.5748, allocations: 16.96 MB / 0.5148 GB, free: 3.449 MB / 378.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)