Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001594/0.001594, allocations: 183.1 kB / 8.351 MB, free: 0.7031 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.346/1.346, allocations: 194.3 MB / 203.1 MB, free: 9.254 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.001731/0.001731, allocations: 119.8 kB / 248.1 MB, free: 6.34 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.861e-05/1.874e-05, allocations: 4 kB / 298.1 MB, free: 8.219 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0995/0.09953, allocations: 44.5 MB / 342.6 MB, free: 11.62 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3389/0.4384, allocations: 81.67 MB / 424.3 MB, free: 14.23 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/0.4387, allocations: 83.52 kB / 424.3 MB, free: 14.19 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02945/0.4682, allocations: 12.68 MB / 437 MB, free: 3.742 MB / 315.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.4682, allocations: 0 / 437 MB, free: 3.742 MB / 315.1 MB Notification: Performance of Transformations before backend: time 3.305e-05/0.4682, allocations: 20 kB / 437 MB, free: 3.723 MB / 315.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.001256/0.4695, allocations: 0.8749 MB / 437.9 MB, free: 2.844 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.4696, allocations: 8.031 kB / 437.9 MB, free: 2.836 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001207/0.4697, allocations: 86.27 kB / 438 MB, free: 2.754 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005575/0.4703, allocations: 481.6 kB / 438.5 MB, free: 2.32 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.08e-05/0.4703, allocations: 27.25 kB / 438.5 MB, free: 2.297 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.984e-05/0.4704, allocations: 36 kB / 438.5 MB, free: 2.262 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006113/0.471, allocations: 415.9 kB / 438.9 MB, free: 2.012 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007623/0.4718, allocations: 0.5373 MB / 439.5 MB, free: 1.602 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/0.4718, allocations: 7.938 kB / 439.5 MB, free: 1.594 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.011e-05/0.4718, allocations: 4 kB / 439.5 MB, free: 1.59 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.4719, allocations: 16 kB / 439.5 MB, free: 1.574 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002702/0.4746, allocations: 2.196 MB / 441.7 MB, free: 15.71 MB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00093/0.4755, allocations: 0.4917 MB / 442.2 MB, free: 15.37 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004312/0.476, allocations: 241.4 kB / 442.4 MB, free: 15.2 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.605e-05/0.476, allocations: 4.375 kB / 442.4 MB, free: 15.2 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000474/0.4765, allocations: 299.2 kB / 442.7 MB, free: 14.96 MB / 331.1 MB Notification: Performance of pre-optimization done (n=50): time 2.064e-06/0.4765, allocations: 0 / 442.7 MB, free: 14.96 MB / 331.1 MB Notification: Performance of matching and sorting (n=50): time 0.0007467/0.4773, allocations: 425 kB / 443.1 MB, free: 14.64 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.22e-05/0.4774, allocations: 137 kB / 443.3 MB, free: 14.48 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00037/0.4777, allocations: 353.8 kB / 443.6 MB, free: 14.2 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 4.58e-05/0.4778, allocations: 29.7 kB / 443.7 MB, free: 14.16 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002029/0.478, allocations: 313.1 kB / 444 MB, free: 13.93 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.4781, allocations: 147.3 kB / 444.1 MB, free: 13.8 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.305e-05/0.4781, allocations: 0 / 444.1 MB, free: 13.8 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.4783, allocations: 366.7 kB / 444.5 MB, free: 13.46 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002206/0.4785, allocations: 140.2 kB / 444.6 MB, free: 13.38 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003318/0.4789, allocations: 310.2 kB / 444.9 MB, free: 13.09 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000237/0.4791, allocations: 156.2 kB / 445.1 MB, free: 12.99 MB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.4791, allocations: 0 / 445.1 MB, free: 12.99 MB / 331.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007411/0.4799, allocations: 0.5 MB / 445.6 MB, free: 12.6 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006449/0.4805, allocations: 1.658 MB / 447.2 MB, free: 10.85 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.4806, allocations: 7.938 kB / 447.2 MB, free: 10.84 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002841/0.4809, allocations: 86.7 kB / 447.3 MB, free: 10.77 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003977/0.4813, allocations: 107.6 kB / 447.4 MB, free: 10.67 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001544/0.4828, allocations: 1.687 MB / 449.1 MB, free: 9.07 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003956/0.4832, allocations: 67.55 kB / 449.2 MB, free: 9.004 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.706e-05/0.4833, allocations: 20.69 kB / 449.2 MB, free: 8.988 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.4833, allocations: 8.062 kB / 449.2 MB, free: 8.98 MB / 331.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006418/0.4839, allocations: 424.2 kB / 449.6 MB, free: 8.68 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.484, allocations: 4.531 kB / 449.6 MB, free: 8.676 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001889/0.4842, allocations: 83.78 kB / 449.7 MB, free: 8.613 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000346/0.4845, allocations: 99 kB / 449.8 MB, free: 8.52 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001442/0.486, allocations: 1.691 MB / 451.5 MB, free: 6.914 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003495/0.4863, allocations: 59.72 kB / 451.5 MB, free: 6.855 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-05/0.4864, allocations: 23.69 kB / 451.6 MB, free: 6.836 MB / 331.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,$PRE.rectifier.thyristor_p.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_n.off,pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[1].y,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001676/0.4866, allocations: 142.9 kB / 451.7 MB, free: 6.691 MB / 331.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.599e-05/0.4866, allocations: 52.28 kB / 451.8 MB, free: 6.641 MB / 331.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001187/0.4868, allocations: 60.41 kB / 451.8 MB, free: 6.609 MB / 331.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.4868, allocations: 8 kB / 451.8 MB, free: 6.602 MB / 331.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.4868, allocations: 0 / 451.8 MB, free: 6.602 MB / 331.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.4868, allocations: 0 / 451.8 MB, free: 6.602 MB / 331.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001544/0.4883, allocations: 1.16 MB / 453 MB, free: 5.676 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.4884, allocations: 4 kB / 453 MB, free: 5.672 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003222/0.4887, allocations: 75 kB / 453.1 MB, free: 5.602 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001949/0.4889, allocations: 71.38 kB / 453.1 MB, free: 5.547 MB / 331.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.253e-05/0.4889, allocations: 7.484 kB / 453.1 MB, free: 5.543 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001387/0.4903, allocations: 1.601 MB / 454.7 MB, free: 4.012 MB / 331.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.4904, allocations: 4.031 kB / 454.7 MB, free: 4.008 MB / 331.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009501/0.4913, allocations: 0.7357 MB / 455.5 MB, free: 3.453 MB / 331.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001963/0.4915, allocations: 176.6 kB / 455.6 MB, free: 3.285 MB / 331.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.863e-05/0.4916, allocations: 3.984 kB / 455.6 MB, free: 3.281 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003554/0.492, allocations: 43.97 kB / 455.7 MB, free: 3.238 MB / 331.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.4921, allocations: 56.66 kB / 455.7 MB, free: 3.195 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.221e-05/0.4921, allocations: 14.31 kB / 455.8 MB, free: 3.184 MB / 331.1 MB Notification: Performance of sorting global known variables: time 0.0002641/0.4924, allocations: 261 kB / 456 MB, free: 2.988 MB / 331.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4924, allocations: 3.938 kB / 456 MB, free: 2.984 MB / 331.1 MB Notification: Performance of remove unused functions: time 0.0009423/0.4934, allocations: 267 kB / 456.3 MB, free: 2.723 MB / 331.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 18 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,rectifier.thyristor_p.off,rectifier.thyristor_n.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.off,rectifier.thyristor_p.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002226/0.4936, allocations: 129.4 kB / 456.4 MB, free: 2.594 MB / 331.1 MB Notification: Performance of simCode: created initialization part: time 0.001306/0.4949, allocations: 0.8812 MB / 457.3 MB, free: 1.918 MB / 331.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.4949, allocations: 256 / 457.3 MB, free: 1.918 MB / 331.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004345/0.4954, allocations: 344.9 kB / 457.6 MB, free: 1.648 MB / 331.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004242/0.4958, allocations: 68.61 kB / 457.7 MB, free: 1.598 MB / 331.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001747/0.4976, allocations: 0.8397 MB / 458.5 MB, free: 0.832 MB / 331.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005538/0.4981, allocations: 0.9323 MB / 459.5 MB, free: 15.88 MB / 347.1 MB Notification: Performance of simCode: alias equations: time 0.0004133/0.4985, allocations: 104.3 kB / 459.6 MB, free: 15.78 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.416e-05/0.4986, allocations: 31.44 kB / 459.6 MB, free: 15.75 MB / 347.1 MB Notification: Performance of SimCode: time 1.694e-06/0.4987, allocations: 4 kB / 459.6 MB, free: 15.74 MB / 347.1 MB Notification: Performance of Templates: time 0.01407/0.5127, allocations: 7.15 MB / 466.8 MB, free: 8.652 MB / 347.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe 2>&1)