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.001305/0.001305, allocations: 182 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.406/1.406, allocations: 194.3 MB / 208.4 MB, free: 6.715 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.001664/0.001664, allocations: 108.7 kB / 253.5 MB, free: 9.59 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.53e-05/2.532e-05, allocations: 4 kB / 305 MB, free: 29.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06588/0.06592, allocations: 44.5 MB / 349.5 MB, free: 1.227 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2867/0.3527, allocations: 84.76 MB / 434.2 MB, free: 8.516 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/0.353, allocations: 87.5 kB / 434.3 MB, free: 8.5 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08309/0.4361, allocations: 27.87 MB / 462.2 MB, free: 3.055 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4362, allocations: 0 / 462.2 MB, free: 3.055 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001208/0.4363, allocations: 35.94 kB / 462.2 MB, free: 3.02 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: 318 * Number of variables: 318 Notification: Performance of Generate backend data structure: time 0.004582/0.4409, allocations: 1.506 MB / 463.7 MB, free: 1.523 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.604e-05/0.441, allocations: 12.03 kB / 463.7 MB, free: 1.512 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007843/0.4418, allocations: 154.2 kB / 463.9 MB, free: 1.359 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005746/0.4475, allocations: 1.618 MB / 465.5 MB, free: 44 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001652/0.4477, allocations: 107 kB / 465.6 MB, free: 15.98 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003572/0.4481, allocations: 124.4 kB / 465.7 MB, free: 15.89 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004099/0.4522, allocations: 1.652 MB / 467.4 MB, free: 14.73 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.635e-05/0.4523, allocations: 0 / 467.4 MB, free: 14.73 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001787/0.4525, allocations: 48.81 kB / 467.4 MB, free: 14.72 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.223e-05/0.4526, allocations: 57.2 kB / 467.5 MB, free: 14.67 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003158/0.4558, allocations: 1.314 MB / 468.8 MB, free: 13.84 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01119/0.467, allocations: 4.862 MB / 473.7 MB, free: 10.08 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002513/0.4696, allocations: 1.027 MB / 474.7 MB, free: 9.043 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001281/0.4709, allocations: 0.542 MB / 475.2 MB, free: 8.5 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.919e-05/0.471, allocations: 20.53 kB / 475.2 MB, free: 8.48 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001251/0.4722, allocations: 0.5837 MB / 475.8 MB, free: 7.871 MB / 330.7 MB Notification: Performance of pre-optimization done (n=79): time 4.158e-06/0.4722, allocations: 0 / 475.8 MB, free: 7.871 MB / 330.7 MB Notification: Performance of matching and sorting (n=79): time 0.002629/0.4749, allocations: 0.9917 MB / 476.8 MB, free: 6.871 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001236/0.475, allocations: 145.2 kB / 477 MB, free: 6.695 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001729/0.4768, allocations: 0.7692 MB / 477.7 MB, free: 5.922 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001545/0.4769, allocations: 57.69 kB / 477.8 MB, free: 5.859 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007525/0.4777, allocations: 0.5733 MB / 478.4 MB, free: 5.277 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002934/0.478, allocations: 225 kB / 478.6 MB, free: 5.055 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.871e-05/0.4781, allocations: 24.03 kB / 478.6 MB, free: 5.031 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.4783, allocations: 338 kB / 478.9 MB, free: 4.695 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008862/0.4792, allocations: 401.8 kB / 479.3 MB, free: 4.301 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/0.4803, allocations: 0.6183 MB / 479.9 MB, free: 3.586 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009433/0.4812, allocations: 429.9 kB / 480.4 MB, free: 3.168 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/0.4813, allocations: 4 kB / 480.4 MB, free: 3.164 MB / 330.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.002791/0.4841, allocations: 1.198 MB / 481.6 MB, free: 1.953 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001335/0.4854, allocations: 2.528 MB / 484.1 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.087e-05/0.4854, allocations: 8 kB / 484.1 MB, free: 15.22 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008905/0.4863, allocations: 232.7 kB / 484.3 MB, free: 14.99 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007889/0.4871, allocations: 143.7 kB / 484.5 MB, free: 14.85 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005043/0.4922, allocations: 2.905 MB / 487.4 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.4936, allocations: 151.2 kB / 487.5 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/0.4938, allocations: 36 kB / 487.6 MB, free: 11.62 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.4938, allocations: 4 kB / 487.6 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002476/0.4963, allocations: 1.089 MB / 488.7 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/0.4963, allocations: 4 kB / 488.7 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006922/0.497, allocations: 232.7 kB / 488.9 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006788/0.4977, allocations: 131.7 kB / 489 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004838/0.5025, allocations: 2.89 MB / 491.9 MB, free: 7.141 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/0.5038, allocations: 143.5 kB / 492 MB, free: 7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/0.504, allocations: 39.94 kB / 492.1 MB, free: 6.961 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 (101): * Single equations (assignments): 100 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003981/0.5044, allocations: 196.7 kB / 492.3 MB, free: 6.766 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002524/0.5046, allocations: 94.83 kB / 492.4 MB, free: 6.672 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004013/0.505, allocations: 116.9 kB / 492.5 MB, free: 6.547 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.5051, allocations: 8 kB / 492.5 MB, free: 6.539 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.5051, allocations: 0 / 492.5 MB, free: 6.539 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/0.5051, allocations: 3.984 kB / 492.5 MB, free: 6.535 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006462/0.5116, allocations: 2.641 MB / 495.1 MB, free: 3.832 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.5116, allocations: 0 / 495.1 MB, free: 3.832 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005288/0.5122, allocations: 75.83 kB / 495.2 MB, free: 3.758 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006932/0.5129, allocations: 204.7 kB / 495.4 MB, free: 3.555 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.738e-05/0.513, allocations: 16 kB / 495.4 MB, free: 3.539 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004474/0.5175, allocations: 2.636 MB / 498.1 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.5175, allocations: 96 / 498.1 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003885/0.5214, allocations: 1.653 MB / 499.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007239/0.5222, allocations: 259.9 kB / 500 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001816/0.5224, allocations: 31.92 kB / 500 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007425/0.5231, allocations: 87.92 kB / 0.4884 GB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004366/0.5236, allocations: 136.6 kB / 0.4885 GB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.751e-05/0.5237, allocations: 27.98 kB / 0.4885 GB, free: 14.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001263/0.5249, allocations: 0.5811 MB / 0.4891 GB, free: 13.95 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5249, allocations: 0 / 0.4891 GB, free: 13.95 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002534/0.5275, allocations: 0.576 MB / 0.4897 GB, free: 13.38 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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[3].off,rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[2].off) * 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.0003467/0.5279, allocations: 156.3 kB / 0.4898 GB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004516/0.5324, allocations: 1.893 MB / 0.4916 GB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/0.5324, allocations: 0 / 0.4916 GB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00148/0.5339, allocations: 0.6641 MB / 0.4923 GB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/0.5355, allocations: 191.4 kB / 0.4925 GB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005732/0.5412, allocations: 1.878 MB / 0.4943 GB, free: 8.523 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001688/0.543, allocations: 1.394 MB / 0.4957 GB, free: 7.102 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002095/0.5451, allocations: 426.8 kB / 0.4961 GB, free: 6.68 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002748/0.5454, allocations: 51.44 kB / 0.4961 GB, free: 6.629 MB / 362.7 MB Notification: Performance of SimCode: time 2.003e-06/0.5454, allocations: 3.938 kB / 0.4961 GB, free: 6.625 MB / 362.7 MB Notification: Performance of Templates: time 0.04845/0.5939, allocations: 16.82 MB / 0.5126 GB, free: 5.781 MB / 378.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)