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.0009527/0.0009527, allocations: 183.8 kB / 8.354 MB, free: 0.7305 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.259/1.259, allocations: 194.3 MB / 203.1 MB, free: 13.02 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.00169/0.00169, allocations: 108.7 kB / 248.1 MB, free: 36 kB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.27e-05/1.275e-05, allocations: 7.938 kB / 298.1 MB, free: 35.48 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06515/0.06517, allocations: 44.49 MB / 342.6 MB, free: 6.984 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.264/0.3292, allocations: 84.66 MB / 427.3 MB, free: 9.34 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001964/0.3295, allocations: 86.2 kB / 427.3 MB, free: 9.328 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06199/0.3915, allocations: 28.2 MB / 455.5 MB, free: 10.74 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3915, allocations: 0 / 455.5 MB, free: 10.74 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.11e-05/0.3916, allocations: 39.94 kB / 455.6 MB, free: 10.7 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.002729/0.3943, allocations: 1.531 MB / 457.1 MB, free: 9.203 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.3944, allocations: 12.03 kB / 457.1 MB, free: 9.191 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002732/0.3947, allocations: 170.4 kB / 457.3 MB, free: 9.023 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003457/0.3981, allocations: 1.623 MB / 458.9 MB, free: 7.773 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.041e-05/0.3982, allocations: 47.55 kB / 459 MB, free: 7.73 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000173/0.3984, allocations: 79.94 kB / 459 MB, free: 7.652 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001833/0.4002, allocations: 1.272 MB / 460.3 MB, free: 6.879 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002229/0.4025, allocations: 1.505 MB / 461.8 MB, free: 5.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.824e-05/0.4025, allocations: 4 kB / 461.8 MB, free: 5.766 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/0.4026, allocations: 7.984 kB / 461.8 MB, free: 5.758 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.495e-05/0.4027, allocations: 54.55 kB / 461.9 MB, free: 5.703 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006533/0.4092, allocations: 4.725 MB / 466.6 MB, free: 2.082 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001527/0.4108, allocations: 1.021 MB / 467.6 MB, free: 1.168 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007646/0.4116, allocations: 0.5357 MB / 468.2 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.656e-05/0.4116, allocations: 20.55 kB / 468.2 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007454/0.4124, allocations: 0.5667 MB / 468.7 MB, free: 28 kB / 314.7 MB Notification: Performance of pre-optimization done (n=82): time 2.805e-06/0.4124, allocations: 0 / 468.7 MB, free: 28 kB / 314.7 MB Notification: Performance of matching and sorting (n=82): time 0.001473/0.4139, allocations: 0.9371 MB / 469.7 MB, free: 15.08 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.231e-05/0.414, allocations: 153.3 kB / 469.8 MB, free: 14.9 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008091/0.4148, allocations: 0.6753 MB / 470.5 MB, free: 14.21 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.824e-05/0.4148, allocations: 41.69 kB / 470.5 MB, free: 14.17 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004147/0.4153, allocations: 0.5844 MB / 471.1 MB, free: 13.58 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/0.4155, allocations: 232.6 kB / 471.4 MB, free: 13.36 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.94e-05/0.4155, allocations: 4.031 kB / 471.4 MB, free: 13.35 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.4157, allocations: 398.7 kB / 471.7 MB, free: 12.95 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005145/0.4162, allocations: 394.4 kB / 472.1 MB, free: 12.57 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006607/0.4169, allocations: 0.6071 MB / 472.7 MB, free: 11.86 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000619/0.4175, allocations: 416.3 kB / 473.1 MB, free: 11.46 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.4175, allocations: 8 kB / 473.2 MB, free: 11.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001519/0.419, allocations: 1.109 MB / 474.3 MB, free: 10.32 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009577/0.42, allocations: 2.535 MB / 476.8 MB, free: 7.594 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.679e-05/0.4201, allocations: 4 kB / 476.8 MB, free: 7.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004731/0.4205, allocations: 216.7 kB / 477 MB, free: 7.375 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006171/0.4212, allocations: 155.7 kB / 477.2 MB, free: 7.223 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002784/0.424, allocations: 2.709 MB / 479.9 MB, free: 4.398 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006895/0.4247, allocations: 135.3 kB / 480 MB, free: 4.266 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.178e-05/0.4247, allocations: 36 kB / 480 MB, free: 4.23 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.744e-06/0.4248, allocations: 4.719 kB / 480 MB, free: 4.227 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001346/0.4261, allocations: 0.9953 MB / 481 MB, free: 3.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.4261, allocations: 4 kB / 481 MB, free: 3.227 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000392/0.4265, allocations: 216.6 kB / 481.3 MB, free: 3.012 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004827/0.427, allocations: 143.8 kB / 481.4 MB, free: 2.871 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002675/0.4297, allocations: 2.714 MB / 484.1 MB, free: 40 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006632/0.4304, allocations: 115.4 kB / 484.2 MB, free: 15.92 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.695e-05/0.4305, allocations: 35.92 kB / 484.3 MB, free: 15.89 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.0002402/0.4307, allocations: 173.4 kB / 484.4 MB, free: 15.72 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.4309, allocations: 86.92 kB / 484.5 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002604/0.4311, allocations: 108.9 kB / 484.6 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.4311, allocations: 8 kB / 484.6 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.4312, allocations: 0 / 484.6 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.4312, allocations: 3.984 kB / 484.6 MB, free: 15.51 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003347/0.4345, allocations: 2.294 MB / 486.9 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.4345, allocations: 4.062 kB / 486.9 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003534/0.4349, allocations: 79.89 kB / 487 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003958/0.4353, allocations: 200.6 kB / 487.2 MB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.525e-05/0.4354, allocations: 7.984 kB / 487.2 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002954/0.4383, allocations: 2.638 MB / 489.9 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.4384, allocations: 4 kB / 489.9 MB, free: 10.13 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002138/0.4405, allocations: 1.575 MB / 491.4 MB, free: 8.52 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004682/0.441, allocations: 255.9 kB / 491.7 MB, free: 8.25 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/0.4411, allocations: 11.98 kB / 491.7 MB, free: 8.238 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005022/0.4416, allocations: 79.86 kB / 491.8 MB, free: 8.16 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003954/0.442, allocations: 144.5 kB / 491.9 MB, free: 8.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-05/0.4421, allocations: 20 kB / 491.9 MB, free: 8 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006787/0.4428, allocations: 0.5108 MB / 492.4 MB, free: 7.488 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4428, allocations: 3.938 kB / 492.4 MB, free: 7.484 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001512/0.4443, allocations: 0.5329 MB / 493 MB, free: 6.949 MB / 346.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.0002225/0.4445, allocations: 161.8 kB / 493.1 MB, free: 6.785 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002391/0.4469, allocations: 1.789 MB / 494.9 MB, free: 4.977 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.4469, allocations: 5.625 kB / 494.9 MB, free: 4.973 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009273/0.4479, allocations: 0.6684 MB / 495.6 MB, free: 4.293 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009667/0.4489, allocations: 167.4 kB / 495.8 MB, free: 4.129 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00349/0.4524, allocations: 1.918 MB / 497.7 MB, free: 2.172 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00103/0.4534, allocations: 1.409 MB / 499.1 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001122/0.4545, allocations: 402.7 kB / 499.5 MB, free: 340 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/0.4547, allocations: 55.44 kB / 499.5 MB, free: 284 kB / 346.7 MB Notification: Performance of SimCode: time 5.71e-07/0.4547, allocations: 0 / 499.5 MB, free: 284 kB / 346.7 MB Notification: Performance of Templates: time 0.02348/0.4782, allocations: 14.83 MB / 0.5023 GB, free: 1.445 MB / 362.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)